XML Spec error?
Andrew n marshall
amarshal at usc.edu
Wed Apr 1 10:40:35 BST 1998
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"
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list