HTML5 Conformance Checker
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 checker uses schemas written by fantasai and hsivonen. The draft schemas are available.