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 10:00 PM 02/04/02 +0100, Michael Kay wrote:
>So is it, or is it not, a validity error to write:
><!ATTLIST myelement myattribute1 (value1|value2) "value3">

When I wrote a validating parser I specifically checked for
this and reported an error, per my understanding of the spec.  
However, the spec says what the spec says not what I think
I meant when I helped write it :) - so maybe an erratum 
is in order here.  It does seem to me that since the above
can't possibly be right in any sensible world, signaling
an error is useful... and when there is a lack of clarity,
doing the useful thing is often a useful discriminant. -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