Stylesheets icon indicating copy to clipboard operation
Stylesheets copied to clipboard

ODD to DTD generation problems #1

Open lb42 opened this issue 9 years ago • 0 comments

An ODD declaration like this

 <elementSpec ident="abob">
          <desc>Just one bob since max is not specified</desc>
          <content>
            <elementRef key="bob" minOccurs="1"/>
          </content>
        </elementSpec>

generates the following invalid content model in a DTD

<!ELEMENT abob bob>

(Parens are needed round the "bob")

lb42 avatar Jan 07 '17 20:01 lb42