Specifying numbers as attribute values

Ronald Bourret rbourret at ito.tu-darmstadt.de
Thu Jun 10 12:30:12 BST 1999


Toby Speight wrote:

> MS> Mallikarjuna Sangappa <URL:mailto:malliks at rocketmail.com>
> 
> 0> In article
> 0> <19990521195414.19283.rocketmail at attach1.rocketmail.com>, MS wrote:
> 
> MS> <!ATTLIST driver flag (1|2) #REQUIRED>
> MS>
> MS> <!ATTLIST driver flag ("1"|"2") #REQUIRED>
> MS>
> MS> It is not working in both the cases. Please throw
> MS> some light on this. Thank U.
> 
> Members of an enumerated type must be NMTOKENs (production 59 in
> section 3.3.1).

1 and 2 are NMTOKENs; they are not Names. See productions [7] and [4].

-- Ron Bourret

-- 


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/ and on CD-ROM/ISBN 981-02-3594-1
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)




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/ and on CD-ROM/ISBN 981-02-3594-1
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