[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: DTD and Illegal Construct
- From: Xan Gregg <xan@tibco.com>
- To: xml-dev@lists.xml.org
- Date: Wed, 10 Jan 2001 18:04:05 -0500
I believe even (A|A?) or (A|A) is invalid (non-deterministic), and it
doesn't matter what the model after each A is.
xan
-----Original Message-----
From: Jim Shain [mailto:Jim.Shain@alltel.com]
Sent: Wednesday, January 10, 2001 5:19 PM
To: xml-dev@lists.xml.org
Subject: RE: DTD and Illegal Construct
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
-----Original Message-----
(Excerpt)
<!ELEMENT Request ((A, B, C?) | (A?, B, C?, D))> becomes
<!ELEMENT Request ((A, B, C?, D?) | (B, C?, D))>