Is there an xhtml.xsd equivalent available for HTML5?

前端 未结 4 1272
时光取名叫无心
时光取名叫无心 2021-01-02 00:03

I am developing an appplication based on Mozilla XULRunner.

I am using the xhmtl1-strict.xsd provided by the W3C to fetch the attribute. Now the require

相关标签:
4条回答
  • 2021-01-02 00:35

    To validate XHTML5, use the schema from v.Nu.

    For details, see:

    https://github.com/unsoup/validator

    0 讨论(0)
  • 2021-01-02 00:37

    There is an HTML5 DTD which is used in the XML Catalog of Komodo, which is an XULRunner application. It can also be used in Eclipse without being converted to an XSD. In addition, there are style sheet and regex based DTD2XSD converters available.

    0 讨论(0)
  • 2021-01-02 00:39

    HTML5 does not have a doctype definition or an XML schema definition. This is because, although it shares the same syntax as its predecessor HTML 4, HTML5 itself is neither based on SGML nor XML. It's a markup language in its own right.

    If you are looking to implement a browser with HTML5 capabilities using Mozilla technologies, the latest version of the Gecko layout engine supports HTML5. Get the Gecko/XULRunner SDK here.

    0 讨论(0)
  • 2021-01-02 00:48

    The packages at http://www.xmlmind.com/xmleditor/download.shtml contain a file addon/config/xhtml/xsd/5.0/xhtml5.xsd which seems to be licensed as open source .

    0 讨论(0)
提交回复
热议问题