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: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 19 May 2009 04:31:21 +0200
To: Larry Masinter <LMM@acm.org>
Cc: <www-tag@w3.org>
Message-ID: <vs4415tbpe94be3n2874tpd3hpu68rp651@hive.bjoern.hoehrmann.de>
* 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 GMT

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