- From: Jeff Rafter <jeffrafter@defined.net>
- Date: Thu, 9 Jan 2003 08:49:07 -0600
- To: "Jeni Tennison" <jeni@jenitennison.com>, "oliver fodor" <fodor@itc.it>
- Cc: <xmlschema-dev@w3.org>
> There's nothing to stop you from > creating these schemas, though of course you won't be able to write > any documents that are valid against it. Does the Particle Emptiable constraint [1] in 3.9.6 come into play here? It seems that the declaration is in fact declaring particles and the constraint says that it must be emptiable. The minimum effective total range [2] for Jeni's example is > 0. the Particle Emptiable is explicitly referenced from the element validity assessment section for mixed declarations (which Oliver's example was...) but as Jeni pointed out his declaration was emptiable because of the minOccurs = 0 on the choice. Now, that said, I don't know of any editor that enforces that rule... [1] http://www.w3.org/TR/xmlschema-1/#cos-group-emptiable [2,3] http://www.w3.org/TR/xmlschema-1/#cos-seq-range All the best, Jeff Rafter Defined Systems http://www.defined.net XML Development and Developer Web Hosting
Received on Thursday, 9 January 2003 09:45:40 UTC