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

From
Michael Kay <>
To
'Tim Bray' <>,
Date
2002-04-02T21:00:04Z
ID
<000701c1da89$5e7f72b0$6501a8c0@pcukmka>
Thread
RE: [xml-dev] need a [ in an ATTLIST
> >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: 
work: