[Home] [By Thread] [By Date] [Recent Entries]


At 05:03 PM 02/04/02 +0100, Michael Kay wrote:
>> > <!ATTLIST myelement myattribute1 (value1|value2) "value[">
>> >
>
>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.

I disagree.  Any validating parser should report a validity
error right here at this point per my reading of the spec. 
Having said this, there's no obvious reason why DTDs constrain
enumerated attribute-value lists to be NAMEs, that's just
by inheritance.  But that is what they do.  -Tim


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member