Re: [Moderator Action] Use of the <all> element

"Liam Mullan" <liam.mullan@virgin.net> writes:

> Can someone confirm that the following would be illegal use of <all> groups?
> (ie because the <all> isn't at the top level of the A-group model group?)
>  
> <group name="A-B-group>
>  <all>
>   <element ref="A-partial" minOccurs="1" />
>   <element ref="B-partial" minOccurs="1" />
>  </all>
> </group>
>  
> <group name="A-C-group">
>  <all>
>   <element ref="A-partial" minOccurs="1" />
>   <element ref="C-partial" minOccurs="1" />
>  </all>
> </group>
>  
> <group name="A-group>
>  <choice>
>   <group ref="A-B-group" />
>   <group ref="A-C-group" />
>  </choice>
> </group>

Not allowed, not only because of the top level constraint, but also
becaue of the unique attribution requireemtn.

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 Tuesday, 19 December 2000 10:50:07 UTC