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.
Related Posts
- WSDL Anti-Pattern: The ‘Single XML String’ Service
- Visual Snippet Editor: Forgets Java Syntax
- Tip: WebSphere Process Server - Do not delete the ‘tranlog’ on a production server
- WebSphere Adapter for JDBC: Superfluous RecordNotFound Exceptions
- BOFactory: create(..) or createByElement(..) ?
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply