- From: Alessandro Triglia <sandro@mclink.it>
- Date: Tue, 18 Nov 2003 01:09:00 -0500
- To: "[Public XML Schema-DEV]" <xmlschema-dev@w3.org>, "[XML Schema Comments]" <www-xml-schema-comments@w3.org>
Hi
I noticed a double inconsistency in Part 1 regarding the {max occurs} of a particle.
-----------------------------
3.9.6 Constraints on Particle Schema Components
All particles (see Particles (§3.9)) must satisfy the following constraints.
Schema Component Constraint: Particle Correct
All of the following must be true:
1 [...]
2 If {max occurs} is not unbounded, that is, it has a numeric value, then all of the following must be true:
2.1 [...]
2.2 {max occurs} must be greater than or equal to 1.
-----------------------------
so {max occurs} cannot be 0
but:
-----------------------------
3.9.1 The Particle Schema Component
The particle schema component has the following properties:
Schema Component: Particle
{min occurs} [...]
{max occurs} Either a non-negative integer or unbounded.
{term} [...]
-----------------------------
which should have been, "Either a positive integer or unbounded"
and:
-----------------------------
E1-26 Clarification
See R-113 pfiall, "A question about all content models" and pfiallGroup, "minOccurs=0 on 'all'".
In §3.8.6 Constraints on Model Group Schema Components, changes as follows:
Schema Component Constraint: All Group Limited
When a model group has {compositor} all all of the following must be true:
1 [...]
2 The {max occurs} of all the particles in the {particles} of the group must be 0 or 1.
-----------------------------
which should have been, "The {max occurs} of all the particles in the {particles} of the model group must be 1."
Alessandro Triglia
OSS Nokalva
Received on Tuesday, 18 November 2003 01:09:13 UTC