RE: Empty attributes

> 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 UTC