W3C home > Mailing lists > Public > public-html@w3.org > December 2010


From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 20 Dec 2010 02:11:26 +0000
Message-ID: <4D0EBB4E.3060009@nag.co.uk>
To: public-html@w3.org

In a bug thread on the polyglot spec


The question came up as to whether the constraints in that spec could or 
should be checked mechanically.

The attached is a first stab at such a mechanised check.

I believe (modulo a few bugs here and there) that a conforming html5 
document that is well formed xml meets the conditions of being a 
polyglot document just if the attached schematron file reports no errors.

there are two constraints not checked,

6.3.3 Attribute Values
7. Attributes

6.33 is a cross constraint between the document and any css or 
javascript that may interact with it, so may not be mechanicaly 
checkable, and is certainly not checkable with the tools being used here,

explict newlines in attributes are not visible to xml processing so can 
not be checked using tools based on xml parsing.


Received on Monday, 20 December 2010 02:11:53 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:07 UTC