[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: deterministic content model?
- From: Marcus Carr <mrc@allette.com.au>
- To: Gary Stephenson <garys@ihug.com.au>
- Date: Mon, 25 Jun 2001 17:09:32 +1000
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.
--
Regards,
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