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?

Gary Stephenson wrote:

> What about this one? ( from test ibm45v01.xml )
>   <!ELEMENT unique. (b|(b,unique))>
> Is this non-deterministic?

Nope. It should be rewritten as (b, unique?).

>   Does it matter whether the element is actually
> instantiated within the document (which in this particular case it is not.)

No it doesn't - the error occurs when the DTD is evaluated, prior to the
instance being processed.


Marcus Carr                      email:  mrc@allette.com.au
Allette Systems (Australia)      www:    http://www.allette.com.au
"Everything should be made as simple as possible, but not simpler."
       - Einstein