A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

HTML5 Conformance Checker: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
No edit summary
 
(Subheadings, schema link)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This is a conformance checker built for (X)HTML5.
This is a conformance checker built for (X)HTML5.
The checker is written in Java, RELAX NG and Schematron.
== The HTML Parser ==
The parser that the checker uses for checking text/html predates the HTML5 parsing spec. Also, the parser assumes that there is a validation layer enforcing certain element nesting constraints.
The parser is written in Java. In the future, it will be necessary to modify the tokenizer level of the parser so that it becomes a proper HTML5 tokenizer. The conformance checker won’t need an implementation of an HTML5 tree builder, but I would certainly like to evolve the parser into a general-purpose HTML5 parser for Java in the future. I have a design in my head, but there are higher priorities in the project.
[[User:Hsivonen|hsivonen]] 18:57, 13 December 2006 (UTC)
== The Schemas ==
The checker uses schemas written by fantasai and hsivonen. The [http://syntax.whattf.org/ draft schemas] are available.


== External Links ==
== External Links ==

Latest revision as of 19:01, 13 December 2006

This is a conformance checker built for (X)HTML5.

The checker is written in Java, RELAX NG and Schematron.

The HTML Parser

The parser that the checker uses for checking text/html predates the HTML5 parsing spec. Also, the parser assumes that there is a validation layer enforcing certain element nesting constraints.

The parser is written in Java. In the future, it will be necessary to modify the tokenizer level of the parser so that it becomes a proper HTML5 tokenizer. The conformance checker won’t need an implementation of an HTML5 tree builder, but I would certainly like to evolve the parser into a general-purpose HTML5 parser for Java in the future. I have a design in my head, but there are higher priorities in the project. hsivonen 18:57, 13 December 2006 (UTC)

The Schemas

The checker uses schemas written by fantasai and hsivonen. The draft schemas are available.

External Links