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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deterministic content model?



At 23:51 24-06-2001, Gary Stephenson wrote:
>What about this one? ( from test ibm45v01.xml )
>
>   <!ELEMENT unique. (b|(b,unique))>
>
>Is this non-deterministic?   Does it matter whether the element is actually
>instantiated within the document (which in this particular case it is not.)

Yes, this is non-deterministic.

The unique element must start with a b - but which b was it, and then is a 
unique required?  There's no way to tell, and thus this model must be rejected.

The equivalent model (b, unique?), is deterministic.

-Chris
-- 
Christopher R. Maden, XML Consultant
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA