Why does the OT log show a connection reset error?

If your output contains SVG images some DTDs might be missing in your configuration.


The OT log shows the following error while processing SVG files:
[xslt] Processing D:\OutputGenerator\42-Prod\temp\Dita2PDF.U333272.1303.1505745795394\content\authoring\kwa1382987683882.svg to D:\OutputGenerator\42-Prod\temp\Dita2PDF.U333272.1303.1505745795394\temp\__svg\kwa1382987683882.svg
[xslt] : Fatal Error! java.net.SocketException: Connection reset Cause: java.net.SocketException: Connection reset
[xslt] Failed to process null
The 4.x output generator parses each SVG to extract the embedded image. Often SVG files have the following PUBLIC ID:
This causes the output generator to fetch the file from the w3.org website. When too many calls are made to this website, it can cause delays and the website will eventually block the connection causing the connection reset errors.


  1. Add the following to the /system/catalogs/master-catalog.xml file:
    {{ <!-- SVG DTDs -->}}{{ <nextCatalog catalog="../plugins/org.w3c.svg1.0/catalog.xml"/>}}{{ <nextCatalog catalog="../plugins/org.w3c.svg1.1/catalog.xml"/>}}
  2. Add the following plugins to your DITA OT (use the copy that is inside the DITA-OT 2.3.1 folder):
    • org.w3c.svg1.0
    • org.w3c.svg1.1
  3. Run the integrator.
  4. Verify the file /plugins/org.w3c.svg1.0/catalog.xml contains the following entries:
    {{ <group>}}
      <public publicId="-//W3C//DTD SVG 1.0//EN" uri="dtd/svg10.dtd"/>
      <system systemId="http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" uri="dtd/svg10.dtd"/>
  5. Verify the file /plugins/org.w3c.svg1.1/catalog.xml contains the following entries:
    {{ <group>}}
      <public publicId="-//W3C//DTD SVG 1.1//EN" uri="dtd/svg11.dtd"/>
      <public publicId="-//W3C//DTD SVG 1.1 Basic//EN" uri="dtd/svg11.dtd"/>
      <public publicId="-//W3C//DTD SVG 1.1 Tiny//EN" uri="dtd/svg11.dtd"/>
      <system systemId="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" uri="dtd/svg11.dtd"/>
      <system systemId="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd" uri="dtd/svg11.dtd"/>
      <system systemId="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd" uri="dtd/svg11.dtd"/>
      <system systemId="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd" uri="dtd/svg11.dtd"/>