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 IRC (such as one of these permanent autoconfirmed members).

HTML5 Conformance Checker

From WHATWG Wiki
Revision as of 19:01, 13 December 2006 by Hsivonen (talk | contribs) (Subheadings, schema link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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