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.eduReceived on Wednesday, 26 January 2005 05:05:05 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:36 GMT