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 ]

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





 

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

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