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

schema puzzle

From: quant <colorbar66@hotmail.com>
Date: Sat, 21 Jun 2003 11:38:14 -0600
Message-Id: <5.1.0.14.1.20030621113810.02e1d978@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
hi.
The XMLSchema 1.0 say the "choice","sequence"in a "group" can't be 
restricted by "minOccurs"and "maxOccurs".But you can find this code like 
below in the schema 
<http://www.w3.org/2001/SMIL20/smil20-language.xsd>http://www.w3.org/2001/SMIL20/smil20-language.xsd 
is this schema is irregular??

<http://www.w3.org/2001/SMIL20/smil20-language.xsd#>- <group 
name="simpleAnimationGroup">
<http://www.w3.org/2001/SMIL20/smil20-language.xsd#>-     <choice 
minOccurs="0" maxOccurs="unbounded">
           <element ref="smil20lang:animate" />
           <element ref="smil20lang:set" />
      </choice>
</group>

thands!
Received on Saturday, 21 June 2003 13:38:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:01 UTC