- From: Dave Peterson <davep@iit.edu>
- Date: Tue, 25 Jan 2005 21:55:15 -0500
- To: Martin Thomson <martin.thomson@nortelnetworks.com>, www-xml-schema-comments@w3.org
At 10:44 AM -0700 050125, Martin Thomson wrote:
>My apologies for the long document, this is a complex issue.
>
>In a number of DTDs, the following structure is used to indicate
>that one or both elements are to be included.
>
> <!ELEMENT example (content1 | content2 | (content1, content2))>
Oops! To quote the XML Rec: "As noted in 3.2.1 Element Content, it
is required that content models in element type declarations be
deterministic." Yours isn't. What you want is
<!ELEMENT example ((content1 , content2?) | content2) >
What does this do to your discussion?
--
Dave Peterson
SGMLWorks!
davep@iit.edu
Received on Wednesday, 26 January 2005 05:05:05 UTC