[Home] [By Thread] [By Date] [Recent Entries]

  • From: Xan Gregg <xan@t...>
  • To: xml-dev@l...
  • 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@a...]
Sent: Wednesday, January 10, 2001 5:19 PM
To: xml-dev@l...
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))>

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member