W3C home > Mailing lists > Public > www-tag@w3.org > May 2009

RE: XML Schema usage statistics (WAS: Draft minutes of 2009-05-12 TAG weekly)

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 19 May 2009 09:43:17 +0300
Message-Id: <EC9B6A43-4D46-4392-9EC2-B9237A52D149@iki.fi>
To: www-tag@w3.org
> One side note: I wonder if it would be possible to define a validity  
> description that might be used to define HTML5 and CSS, both  
> important web languages that are not well-defined by XML Schema,  
> RelaxNG, BNF, or any other mechanism.
HTML5 is well-defined using English. CSS is well-defined using English  
and Yacc-like grammar.

RELAX NG, XSD and BNF are insufficient for expressing the conformance  
criteria of HTML5. Validator.nu uses a RELAX NG schema for HTML5 but  
refines things by adding checks implemented in imperative code (Java).  
(Validator.nu used to use Schematron, too, but the performance  
characteristics of Schematron in Jing+Xalan and Jing+Saxon were  
undesirable, so I replaced Schematron with Java code.)

http://hsivonen.iki.fi/thesis/html5-conformance-checker#non-schema

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 19 May 2009 06:43:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:48:13 GMT