Eddie Robertsson <eddie@allette.com.au> writes: [correct answer to original question elided] > One thing I find a bit strange is that the above sentence [1] also > restrict the use of minOccurs and maxOccurs on the children of > xsd:group. If I understand this correctly the following is invalid: > > <xsd:group> > <xsd:sequence maxOccurs="2"> > ... > </xsd:sequence> > </xsd:group> > > Is there a specific reason why this is not allowed? We had to choose which took effect, the referring <group ref="..." .../>'s min- and maxOccurs, or the referred to's actual group (the all/choice/sequence child of <group>). We decided to go with the referring one -- this seems to be what's wanted nine times out of ten, although _not_ always -- suggestions for improvements for the next version welcome. ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, 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/Received on Monday, 7 May 2001 07:23:58 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:20 GMT