[Home] [By Thread] [By Date] [Recent Entries]


> 
>     I'd like to assert that the element set either contains a simple
>     type or more set elements.
> 
> 
>     I can't figure out how to make a union of the two. I'm beginning
>     to think that this is non-deterministric, or in some other
>     way a bad design.
> 

It's entirely deterministic, in the sense that there are simple finite state
machines that could validate your document against this constraint. The only
thing that makes it a bad design is that XML Schema can't describe it.

Michael Kay
http://www.saxonica.com/


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member