W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2005

RE: Empty attributes

From: Michael Kay <mike@saxonica.com>
Date: Wed, 19 Oct 2005 09:24:05 +0100
To: "'Olivier Lefevre'" <lefevrol@yahoo.com>, <xmlschema-dev@w3.org>
Message-ID: <E1ES9FE-0004KQ-Vp@lisa.w3.org>

> any DTD-focused newsgroup or mailing list.

This list isn't DTD-focused, it is XML Schema-focused.

Doing this in XML Schema is no problem.
 
> the parser complains that "the name token is required in
> the enumerated type list for the "type" attribute
> declaration.". 

It's a strange historical relic of SGML than enumerated values defined in a
DTD have to be valid names. The reason is that SGML (when the moon is right)
allows the quotes on an attribute value to be omitted.

Michael Kay
http://www.saxonica.com/
Received on Wednesday, 19 October 2005 08:24:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:51 GMT