- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Wed, 3 Apr 2002 18:29:46 +0100
- To: Li Liang <lliang88@yahoo.com>
- CC: xmlschema-dev@w3.org
Hi Li,
> Can definitions of union types in schema _documents_ include
> references to itself? I think not. Does the spec address it
> somewhere? Thanks.
Circular unions are explicitly disallowed by Schema Component
Constraint: no circular unions:
If {variety} is ·union·, then it is an ·error· if {name} and {target
namespace} ·match· {name} and {target namespace} of any member of
{member type definitions}.
http://www.w3.org/TR/xmlschema-2#cos-no-circular-unions
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
Received on Wednesday, 3 April 2002 12:29:48 UTC