W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 1999

Mutually exclusive content type required

From: Rick Jelliffe <ricko@gate.sinica.edu.tw>
Date: Tue, 8 Jun 1999 19:40:29 +0800
Message-ID: <007f01beb1a3$b593cae0$dd066d8c@sinica.edu.tw>
To: <www-xml-schema-comments@w3.org>
 WebDAV has a requirement that properties should be unique. In other words, they don't care what the element name is, as long as there is only one element with that name. http://andrew2.andrew.cmu.edu/rfc/rfc2518.html  s4.5

This is an interesting case because it is the same requirement as that of IDs: that they are unique: the scope is perhaps different  (within an element versus within a document) but the requirement seems similar.

Can we have a restricted form of ANY to cope with this? Perhaps "ENUM" might be consistant.

Rick Jelliffe
Received on Tuesday, 8 June 1999 07:52:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:46 GMT