- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 23 Mar 2001 09:53:11 +0000
- To: Ayalew Kassahun <A.Kassahun@InfoRay.NL>
- Cc: xmlschema-dev@w3.org, Morris Matsa <mmatsa@us.ibm.com>
Ayalew Kassahun <A.Kassahun@InfoRay.NL> writes:
> This solution works with simple cases like this but doesn't work if PART has
> child elements of different types?
The point is that PART _can't_ have child elements with the same name
but different types -- this is a constraint imposed by the XML Schema
design.
Note that this constraint has an important benefit for processors:
even if an element is locally _in_valid, they can validate its
children, because the tag-type association does not depend on position
in the content model.
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 Friday, 23 March 2001 04:54:03 UTC