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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   duplicate enumeratons on attribute definitions

[ Lists Home | Date Index | Thread Index ]
  • From: Rob Lugt <roblugt@bigfoot.com>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 11 Oct 2000 18:18:03 +0100

Looking through the XML 1.0 recommendation, it seems that duplicate
enumerations or notations on the same attribute definition are allowed.
e.g:-

<?xml version="1.0"?>
<!DOCTYPE el1
[
<!ELEMENT el1 EMPTY>
<!ATTLIST el1 Rob (one|two|two) #IMPLIED>
]>
<el1 Rob="two"/>

This appears to be valid apart from an interoperability constraint "the same
NmToken should not occur more than once in the enumerated attribute types
of a single element type".

Can anyone tell me if this is an oversight or by design?  And, if by design,
why?

Regards
Rob Lugt
Elcel Technology
   




 

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

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