W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 2004

Error report: XML 1.0, 3rd ed., sec. 3.3.2

From: Dieter Köhler <dieter.koehler@philo.de>
Date: Wed, 15 Sep 2004 13:18:35 +1200
Message-Id: <5.2.1.1.0.20040915130537.014dfe60@pop3.philo.de>
To: xml-editor@w3.org

In XML 1.0, 3rd ed., sec. 3.3.2 "Attribute Defaults" the case of a default 
attribute not matching an enumaration is not considered.  Example:

<!ATTLIST list
           type    (bullets|ordered|glossary)  "fancy">

There exists no VC which forbids this, because the VC Attribute Default 
Value Syntactically Correct requires only that the default value meets the 
"syntactic constraints of the declared attribute type", which is Nmtoken in 
the case of Enumerations.  I would suggest adding to prod. [60] a VC 
similar to VC Enumeration of prod [59].

Dr. Dieter  Köhler

Institute of Philosophy
University of Karlsruhe
Germany 
Received on Wednesday, 15 September 2004 01:18:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC