Hi,

I am using the org.apache.xalan.transformer.TransformerImpl class to transform
my XML document.

If my incoming XML document has the following directive:

<!DOCTYPE deptlistReply PUBLIC "-//ISE//deptlistReply DTD//EN"
"file:/home/pster k/ih/test,v3.1.1/etc/dtds/deptlistReply.dtd" >

and the dtd file does not exist, the Transformer class throws a

javax.xml.transform.TransformerException: File
"file:/home/psterk/ih/test,v3.1.1/etc/dtds/deptlistReply.dtd" not found.

Does the dtd file have to exist, or is there a way for the TransformerImpl
class to ignore it?

Thanks in advance,
Paul

Reply via email to