W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2005

Re: min occurs

From: Kasimier Buchcik <K.Buchcik@4commerce.de>
Date: Thu, 13 Oct 2005 10:35:18 +0200
To: Alessandro Triglia <sandro@mclink.it>
Cc: ML-xml-schema-dev <xmlschema-dev@w3.org>
Message-Id: <1129192518.1290.10.camel@librax>

Hi,

On Wed, 2005-10-12 at 12:53 -0400, Alessandro Triglia wrote:
> Hi
> 
> I noticed the following inconsistency in Part 1:
> 
> -------------------------------------------------------
> Schema Component Constraint: Particle Correct
> 
> 2 If {max occurs} is not unbounded [...]:
> 
> 2.2 {max occurs} must be greater than or equal to 1
> -------------------------------------------------------
> 
> 
> -------------------------------------------------------
> Schema Component: Particle
> 
> {max occurs}
> Either a non-negative integer or unbounded.
> -------------------------------------------------------
> 
> 
> Why wasn't the {max occur} property of particles just specified as a *positive* integer?  Am I missing something obvious?
> 
> 
> I also noticed the following:
> 
> ------------------------------------------------------
> Schema Component Constraint: All Group Limited
> 
> When a model group has {compositor} all [...]:
> 
> 2 The {max occurs} of all the particles in the {particles} of the group must be 0 or 1.
> ------------------------------------------------------
> 
> How could it be 0 without violating "Schema Component Constraint: Particle Correct"?
> 
> 
> Alessandro Triglia
> OSS Nokalva

Yes, this has been noticed already:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2222

Apparently there's an schema angel called Sandy Gao around.
I already fell in love with her, since, beside other things,
she's gathering all the scattered comments of the past
and present and adds them to bugzilla.

Regards,

Kasimier
Received on Thursday, 13 October 2005 08:35:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:51 GMT