W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

Re: Model Group Definition

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 02 Dec 2000 18:56:33 +0000
To: "Morris Matsa" <mmatsa@us.ibm.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5b3dg6tzxa.fsf@cogsci.ed.ac.uk>
You're right, this is a weakness in the spec., as Asir confirms: the
schema for schemas should (indeed I thought it already did) rule out
min/max on the top all/choice/sequence of a model group definition.

The schema for schemas already rules out min/max on the group
definition itself.

The logic is as follows:  min/max clearly _does_ make sense on a
<xs:group ref='...'/> in a model.  So we give precedence to that
min/max, and rule out any other min/max at the top levels of the
referenced group.

I'll fix the schema for schemas.
-- 
  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 Saturday, 2 December 2000 13:56:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:49 GMT