Re: local <group>

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