W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2006

xs:choice with a single choice

From: Florent Georges <darkman_spam@yahoo.fr>
Date: Wed, 14 Jun 2006 09:50:03 +0200 (CEST)
Message-ID: <20060614075004.25222.qmail@web25809.mail.ukl.yahoo.com>
To: xmlschema-dev@w3.org


  I just saw the following complex type definition in the
last XQTS (XQuery Test Suite 0.9.4) XQTSCatalog.xsd:

      <xs:choice maxOccurs="unbounded">
        <xs:element name="citation-spec" maxOccurs="unbounded">
              <xs:extension base="test:infoBase">
                  <xs:element name="spec-URI" type="xs:anyURI"/>
                <xs:attribute name="name" use="required"

  I wonder if there is any reason to use a choice with a
single element.  Any idea?



Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicitÚs 
http://mail.yahoo.fr Yahoo! Mail 
Received on Wednesday, 14 June 2006 07:50:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:10 UTC