W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2006

[Bug 2222] R-230: Question on maxOccurs=0, particles and restriction

From: <bugzilla@wiggum.w3.org>
Date: Wed, 22 Nov 2006 04:08:48 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1GmjPk-0002Hb-8R@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2222


sandygao@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from sandygao@ca.ibm.com  2006-11-22 04:08 -------
Both derivation should be valid. "deriveByOmission" and
"deriveByZeroOccurrence" will have the same content model, because
minOccurs=maxOccurs=0 "corresponds to no component at all."

#2 and #3 are confusing.

Proposal: to change the component description and disallow "0" as a valid value
for maxOccurs. And to remove "{max occurs} must be greater than or equal to 1"
from "Particle Correct".

Resolution: adopted at 2006-11-17 telecon.
Received on Wednesday, 22 November 2006 04:08:54 GMT

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