DTD in xliff filter (and tmx)

Issue #6 wontfix
Former user created an issue

Original [issue 6](https://code.google.com/p/okapi/issues/detail?id=6) created by KFLi... on 2009-03-02T17:41:46.000Z:

A DTD line does not get added to the skeleton.

<!DOCTYPE tmx SYSTEM "some\_dtd.dtd">

Comments (2)

  1. Former user Account Deleted

    Comment [3.](https://code.google.com/p/okapi/issues/detail?id=6#c3) originally posted by @ysavourel on 2009-03-09T12:41:23.000Z:

    Temporary fix: fact.setProperty(XMLInputFactory.SUPPORT\_DTD, false); Where fact is the XMLInputFactory. This means the DTD declaration will not be in the output. But at least the file will get throught. StaX does not have currently a way to re-construct the DTD declaration, even when using a custom XMLResolver. We will need to look at the new Stax2 implementation to resolve this issue.

  2. Log in to comment