OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] need a [ in an ATTLIST

[ Lists Home | Date Index | Thread Index ]

> >Secondly, it's not obvious that the list of enumerated
> values is a "lexical
> >constraint", though it would seem reasonable to read it that way.
Tim Bray:
> I disagree.

So is it, or is it not, a validity error to write:

<!ATTLIST myelement myattribute1 (value1|value2) "value3">

Does "value3" satisfy the lexical constraints for this attribute? And where
in the spec do I go to find out?

(I've just read Richard Tobin's response, which at least confirms my view
that the answer isn't obvious...)

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS