Error on XSLT transform because DTD not found,
I am using saxon9ee.jar. I need to apply an XSLT within an existing java program. I am getting the XML file as an input stream. The problem is that the XML contains a DTD. I have the DTD file but don’t know where to place it and tell the java runtime where to find it.
This is being done programmatically, not by the command line.
The xml contains:
Error reported on transform is: I/O error reported by XML parser processing null: /ST26SequenceListing_V1_3.dtd (No such file or directory)
code has Xslt30Transformer.transform(source, destination) where it fails
Any help would be appreciated.
I am new to this. From what I have read t seems the xml parser is failing, but I don't know how to get it to work. Thanks.
Please register to edit this issue