If you use the <attribute name="foo" type="id"> declaration in QJML and then convert to DTD with the utility provided, the attribute is translated as:
<!ATTLIST ele
name id #REQUIRED>
This lower-case 'id' is not acceptable to my XML parser; it should be 'ID'. I am using the latest version of the Xerces XML parser from xml.apache.org