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: Accepting non-deterministic content models



Eric van der Vlist wrote:
 
> why is this non-deterministic with these numbers 
> of occurrences?

Hi Eric,

Consider this portion of an instance document:

<test>
    <a>

When a parser gets to <a>, which "a" is it - the element declaration
that is the immediate child of <xsd:choice>, or the element declaration
that is an immediate child of <xsd:sequence>?  There's no way for the
parser to know unless it "looks ahead" to the next element.  That's
non-deterministic.  /Roger