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

RE: question about Schema Component Constraint: Particle Valid (Extension)

From: Michael Kay <mike@saxonica.com>
Date: Tue, 4 Nov 2008 14:51:01 -0000
To: "'Tobias Koenig'" <tobias.koenig@trolltech.com>, <xmlschema-dev@w3.org>
Message-ID: <E4C37D1D3062425380CEABB2024448C6@Sealion>
RE: question about Schema Component Constraint: Particle Valid (Extension)

> 
> E's {min occurs}={max occurs}=1 and its {term} is a sequence 
> group whose {particles}' first member is a particle all of 
> whose properties, recursively, are identical to those of B, 
> with the exception of {annotation} properties.
> 
> What exactly are the properties of the particles that must be equal?

The immediate properties (3.9.1) are min occurs, max occurs, and term; if
the term is a wildcard then its relevant properties (3.10.1) are namespace
constraint and process content; if the term is an element declaration then
its relevant properties (3.3.1) are name, target Namespace, type definition,
etc, and so on.

In practice when schema components are constructed from schema documents
this constraint will automatically be satisfied, by virtue of the way that
the particle is constructed. The constraint is only relevant for systems
that provide some way of creating components "by hand".

Michael Kay
http://www.saxonica.com/
Received on Tuesday, 4 November 2008 14:51:42 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.