[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

min occurs

From: Alessandro Triglia <sandro@mclink.it>
Date: Wed, 12 Oct 2005 12:53:57 -0400
To: "[Public XML Schema-DEV]" <xmlschema-dev@w3.org>
Message-ID: <000901c5cf4d$8d611b30$9301a8c0@aldebaran>
xsd min occurs

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
Received on Wednesday, 12 October 2005 16:56:51 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.