- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 05 Mar 2001 16:24:00 +0000
- To: seema_mehta@nzi.co.nz
- Cc: xmlschema-dev@w3.org
seema_mehta@nzi.co.nz writes:
> Can you use choice to select elements of the same name but different type.
> In other words is the following legal:
>
> <choice>
> <element name="a" type="x"/>
> <element name="a" type="y"/>
> <element name="a" type="z"/>
> </choice>
Sorry, this is ruled out in W3C XML Schema. We wanted parsing to be
locally deterministic.
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, 5 March 2001 11:24:04 UTC