OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: DTD and Illegal Construct



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))>