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

Re: Clarification needed on circular substitution group

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 22 Oct 2001 12:27:19 +0100
To: sandygao@ca.ibm.com
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5bd73fkj8o.fsf@cogsci.ed.ac.uk>
sandygao@ca.ibm.com writes:

> Hi. I didn't find any constraint that disallows the following circular
> substitution group declarations:
> 
> <element name="e1" substitutionGroup="e2"/>
> <element name="e2" substitutionGroup="e1"/>
> 
> <element name="e" substitutionGroup="e"/>
> 
> So I guess they are valid declaration. But how to determine the types of
> these element declarations? From the spec

This is a bug -- circular substitution groups should be ruled out.

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, 22 October 2001 07:26:33 GMT

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