[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accepting non-deterministic content models
- From: "Roger L. Costello" <costello@mitre.org>
- To: xml-dev@lists.xml.org
- Date: Fri, 06 Jul 2001 13:56:06 -0400
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