[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: DTD and Illegal Construct
- From: Xan Gregg <firstname.lastname@example.org>
- To: email@example.com
- 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.
From: Jim Shain [mailto:Jim.Shain@alltel.com]
Sent: Wednesday, January 10, 2001 5:19 PM
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.
<!ELEMENT Request ((A, B, C?) | (A?, B, C?, D))> becomes
<!ELEMENT Request ((A, B, C?, D?) | (B, C?, D))>