XML Spec error?
In section 3.3: "For interoperability, writers of DTDs may choose to provide at most one attribute-list declaration for a given element type, at most one attribute definition for a given attribute name, and at least one attribute definition in each attribute-list declaration." Should this read: "...at most one attribute definition for a given attribute name in an attribute-list declaration,..." As it is currently, it seems to imply that no two elements in a DTD can have attributes of the same name, which is obviously wrong. For example: <!ELEMENT div ANY> <!ATTLIST div class NMTOKENS #IMPLIED > <!ELEMENT span ANY> span class NMTOKENS #IMPLIED > should be legal. Andrew n marshall student - artist - programmer http://www.media-electronica.com/anm-bin/anm "Everyone a mentor, Everyone a pupil"
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format