W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2001

Re: local <group>

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 05 Sep 2001 15:40:42 +0100
To: kboo@ca.ibm.com
Cc: xmlschema-dev@w3.org
Message-ID: <f5bn149n1jp.fsf@cogsci.ed.ac.uk>
kboo@ca.ibm.com writes:

> Is it not ok to declare local <group> like in the following example?
> 
> <complexType name="ct">
>   <sequence>
>     <element name="el" type="string"/>
>     <group name="g">
>       ...
>     </group>
>   </sequence>
> </complexType>
> 
> I could not find a reference to make the above example illegal from the
> spec. However, when I run it through the XSV, I got an error saying only
> group reference (not group) is allowed.

It's not allowed.  It's ruled out by the Schema for Schemas.

What would it mean, anyway?

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 Wednesday, 5 September 2001 10:40:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:52 UTC