|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Subtyping in XML
Jeff Lowery scripsit:
>
> I thought someone else would note that the DTD
>
> <!ELEMENT MY-NON-BOOLEAN ((TRUE | FALSE)?, (TRUE | FALSE))>
>
> is nondeterministic and therefore not allowed by XML Schema.
But of course its RNG equivalent
start = element MY-NON-BOOLEAN {(true | false)?, (true | false)}
true = element TRUE {empty}
false = element FALSE {empty}
works like a champ.
--
John Cowan jcowan@r... www.ccil.org/~cowan www.reutershealth.com
"If I have seen farther than others, it is because I am surrounded by dwarves."
--Murray Gell-Mann
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








