- From: Jeff Rafter <jeffrafter@definedweb.com>
- Date: Sun, 24 Jun 2001 20:26:53 -0700
- To: <xmlschema-dev@w3.org>
- Cc: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>, <www-xml-schema-comments@w3.org>
I recently had the chance to look more closely at the defintion for the <group> element within XML Schemas and feel the the definition is lacking or misrepresentative. The XML Representation summary [1] leaves off the possibilities for the attributes "ref", "minOccurs" and "maxOccurs". These attributes are not available in global group definitions but are permitted when the group element is being used as a particle. This leads to a bit of confusion in the second section of the summary (describing the usage of group as a particle). The spec states "Also note that in the first (named) case above no reference is made to minOccurs or maxOccurs: this is because the schema for schemas does not allow them on the child of <group> when it is named.". Either way it seems that it would be better for the XML Representation Summary to reflect both possibilities and the rules should be layed out within the representation description. This follows the rest of the schema components such as the <element> representation where both the "name" and the "ref" attributes are listed. [1] http://www.w3.org/TR/xmlschema-1/#element-group Thanks, Jeff Rafter Defined Systems http://www.defined.net XML Development and Developer Web Hosting
Received on Sunday, 24 June 2001 23:27:11 UTC