TokenScript icon indicating copy to clipboard operation
TokenScript copied to clipboard

Upgrade schema to HTML5

Open JamesANZ opened this issue 6 years ago • 3 comments

@colourful-land it seems there is no official support for HTML5 due to it being it's own language: https://stackoverflow.com/questions/36071493/why-isnt-there-an-official-xml-schema-for-xhtml5

JamesANZ avatar May 12 '19 05:05 JamesANZ

We can still define a schema for it and I'm sure someone did it somewhere. but going without schema has some problem that we can't enforce certain rules.

SmartLayer avatar May 21 '19 13:05 SmartLayer

Note that this can be solved by using react to render your HTML

JamesANZ avatar May 30 '19 04:05 JamesANZ

This is blocked by the lack of modular HTML5 schema (meaning it is either applied all, including <head> and <title>, or none. Can't embed a segment without violating validator.

The alternative path is to include it in the Manifest which the current Signature validator doesn't support. This will be solved in 2 stages: adding manifest support in Android/iOS then replacing the support with a JavaScript based TokenScript library.

SmartLayer avatar Dec 18 '19 06:12 SmartLayer