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).

Difference between revisions of "HTML5 Conformance Checker"

From WHATWG Wiki
Jump to: navigation, search
(Document parser status)
(Subheadings, schema link)
 
Line 2: Line 2:
  
 
The checker is written in Java, RELAX NG and Schematron.
 
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 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.
Line 7: Line 9:
 
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.
 
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)
 
[[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