[
Lists Home |
Date Index |
Thread Index
]
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@reutershealth.com 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
|