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

clarification needed wrt group redefinition

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 16 Nov 2001 11:39:22 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <f5bu1vvndw5.fsf@cogsci.ed.ac.uk>
A model group definition which contains within it an anonymous complex 
type definition which itself references that very group is allowed, if 
slightly odd:

<xs:group name="list">
  <xs:element name="item">
     <xs:element name="value"/>
     <xs:group ref="list" minOccurs="0"/>

Attempting to redefine such a group by extension is impossible,
because clause 6.1 of Schema Representation Constraint: Redefinition
Constraints and Semantics fires and raises an error.

We need to clarify that the references checked are those within the
content model as such, not within types embedded therein.

  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 Friday, 16 November 2001 06:38:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:54 UTC