OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] XML Schema Either Text Or Sequence

[ Lists Home | Date Index | Thread Index ]

>     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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS