W3C home > Mailing lists > Public > www-xml-infoset-comments@w3.org > January to March 2001

Re: Possible error in new infoset

From: Richard Tobin <richard@cogsci.ed.ac.uk>
Date: Wed, 3 Jan 2001 15:37:20 GMT
Message-Id: <28673.200101031537@mcpherson.cogsci.ed.ac.uk>
To: ricko@gate.sinica.edu.tw
Cc: www-xml-infoset-comments@w3.org, w3c-xml-core-wg@w3.org
> In the informative appendix B, 
>
> 10. A validating XML processor must supply the default value of attributes
> declared in the DTD for a given element type but not appearing in the
> element's start tag (5.2). 
>
> suggests (by omission) that a non-validating processor does not need to
> supply default values.

It is not intended to suggest that.  Nothing in the infoset draft is
meant to suggest anything that is false :-) 

We can reword it to something like:

 When there is a declaration of an attribute for an element type, an
 XML processor that processes that declaration (which a validating
 processor is required to do) must supply the default value of that
 attribute when the attribute does not appear in a start tag for that
 element type (5.2).

-- Richard
Received on Wednesday, 3 January 2001 10:37:23 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 19 May 2005 09:46:42 GMT