Entity References Support

I have a dtd with a lot of entity references mostly external, isolat1.pen etc…, i get parse errors in conversion process(to tsd3). Are external/internal entites supported ?, if not is there some way to accomodate entities.

External entities are supported. Please post the parse error.

Thanks for your reply,

The Parse error that i get is

org.xml.SAXParseException: The external entity declaration must begin with either “SYSTEM or PUBLIC”

The dtd is attached.
dw.dtd (177 KB)

Without the external entities I cannot see anything. Please post them too.

oh my mistake.
here are the zipped files.

missions.zip (7.08 KB)

The content of ISOdia.pen is not wellformed. It contains entity declarations like:

but these are not valid. They should look like this:

However the error message of Xerces 1.4 is not very good. With Xerces 2.0.1 its got better:
XSCDCC3003: The parser reported the following critical error: “org.xml.sax.SAXParseException: OpenQuoteMissingInDecl”.
org.xml.sax.SAXParseException: OpenQuoteMissingInDecl
XSCDCE3006: The following error occurred during parsing: “org.xml.sax.SAXParseException: OpenQuoteMissingInDecl”.
org.xml.sax.SAXParseException: OpenQuoteMissingInDecl

Please note that the entity declarations are not used in the converted schema at all. They are put into the comment.
ISOdia.pen.fixed (1.05 KB)