- From: Box, Don <dbox@develop.com>
- Date: Mon, 8 Nov 1999 23:16:23 -0800
- To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
In looking at the schema for schemas (http://www.w3.org/TR/1999/WD-xmlschema-1-19991105/structures.xsd), I think I have found found an error or I don't understand archRef. Line 160 (inside the archetype for 'archetype'): <element archRef='modelElt' minOccurs='0' maxOccurs='*'/> Line 226 (inside the archetype for 'group'): <element archRef='modelElt' minOccurs='0' maxOccurs='*'/> These should probably be replaced with: <group minOccurs='0' maxOccurs='*' order='choice' > <element ref='element' /> <element ref='group' /> </group> Or perhaps a shared <group> named 'group' that is ref'ed from these two spots would be better? While we're on the subject, is there something written down somewhere that discusses the differences between the 'type' and 'archRef' attributes when used in an <element>? Also, if 'archRef' is used an no 'name' is provided, is the element name simply the name of the referenced archetype? Thanks in advance, DB http://www.develop.com/dbox
Received on Tuesday, 9 November 1999 02:14:29 UTC