- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 02 Jul 2002 23:12:08 +0100
- To: John Verhaeg <jverhaeg@metamatrix.com>
- Cc: "XML Schema Mailing List (E-mail)" <xmlschema-dev@w3.org>
John Verhaeg <jverhaeg@metamatrix.com> writes: > Also, just to confirm, it appears you are actually saying that there is no > real difference between not redeclaring an element in a restricting subtype > (assuming it's not required) vs. redeclaring it with maxOccurs=0 (although > there'd probably be no reason to actually choose this alternative). > Correct? Correct. The REC says [1], wrt xs:element, "(unless minOccurs=maxOccurs=0, in which case the item corresponds to no component at all)". ht [1] http://www.w3.org/TR/xmlschema-1/#declare-element -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2002, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Tuesday, 2 July 2002 18:12:11 UTC