[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DTD and Illegal Construct
- From: "Thomas B. Passin" <tpassin@home.com>
- To: xml-dev@lists.xml.org
- Date: Thu, 11 Jan 2001 00:18:00 -0500
Jim Shain wrote -
> Honestly, I'm not playing stump the experts, but what about the instance?
>
> ((A, B, D?) | (A?, B, C?, D?, E))
>
> In this instance 'C' can only be present if 'E' is present.
>
> -Jim
>
But it's ambiguous, because if C is absent, the parser can't know whether E is
allowed or not. Ambiguous content models aren't allowed in xml.
Cheers,
Tom P