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


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

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