- From: Richard Tobin <richard@inf.ed.ac.uk>
- Date: Fri, 17 Sep 2004 13:12:50 +0100 (BST)
- To: François Yergeau <francois@yergeau.com>, public-xml-core-wg@w3.org
> PE132 [1] is about the validity check on default attribute values. The > commenter objects to syntactic checking only (as asserted by E9 to the > 2nd edition [2][3]) and points out two tests in the test suite to > support his case. IMHO the test suite needs fixing. I haven't looked back at our discussions of this, but it's possible that we didn't carefully enough consider the boundary between syntactic and semantic validity. We certainly don't want to have to check that a default IDREF value is an ID that occurs in the document, because you can't check that until you have read the whole document. We might not want to check that an ENTITY default is the name of a declared unparsed entity (this example is given in the spec), because you can't check it until the end of the DTD. But you can check that the default for an enumerated value is in the list without any problem. Probably we did what SGML does, and if so we should leave it like that. -- Richard
Received on Friday, 17 September 2004 12:12:54 UTC