SmartTokenLabs / TokenScript

TokenScript schema, specs and paper
http://tokenscript.org
MIT License
242 stars 71 forks source link

Upgrade schema to HTML5 #150

Open bitcoinwarrior1 opened 5 years ago

bitcoinwarrior1 commented 5 years ago

@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

SmartLayer commented 5 years ago

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.

bitcoinwarrior1 commented 5 years ago

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

SmartLayer commented 4 years ago

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.