Legacy System DTDs over the wire

We have an issue today arrise when an ‘old’ system was sending us XML that included a direct DTD reference in the XML transmitted over the wire.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE note SYSTEM "Note.dtd">
...

Process Server was attempting to resolve the DTD is a very strange place: The Profile’s home directory: c:\wid6.0\pf\wps\Node.dtd. I attempted to search the infocenter on anything that describes either how to register my DTD with Process Server (probably a WAS thing) but the only information I came across was how to edit them in WID.

I recommended to the client to pre-parse the XML string and remove the DTD declaration. They have already generated XSD’s based off the DTD anyway, so removing the ‘legacy’ string seems like the only solution.

Author: dan

Leave a Reply

Your email address will not be published. Required fields are marked *