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

* Larry Masinter wrote:
>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.

I have implemented two different approaches to validate CSS using
RELAX NG, in the broadest possible sense anyway. One is based on,
essentially, dumping a parse tree of lower level tokens into some
XML-based format, and then have an actual RELAX NG schema do the
validation on the dump, that's

  http://lists.w3.org/Archives/Public/www-style/2005Aug/0404.html

The other is a schema language based on RELAX NG but tailored to
CSS; a sample schema is available at

  http://www.websitedev.de/temp/css21.csss

and sourceforge holds a generally functional but incomplete and
broken implementation of a validation engine supporting it. The
main problem that holds up development of a proper CSS Validator
is the lack of a usable and reasonably compliant CSS parser.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Tuesday, 19 May 2009 02:31:56 UTC