escapeQuotes in XML Filter not being reset
Issue #223
open
Original issue 223 created by @ysavourel on 2012-05-02T15:45:14.000Z:
The option escapeQuotes (http://www.opentag.com/okapi/wiki/index.php?title=XML_Filter#escapeQuotes) in the XML Filter is not working when processing several files with different options.
The trigger to set the option in the XMLEncoder class is done only once for the first document, then all other document re-use it.
We need to reset the XMLEncoder object if the option changes.
Comments (3)
-
Account Deleted -
-
- changed status to open
Should investigate
- Log in to comment
Comment [1.](https://code.google.com/p/okapi/issues/detail?id=223#c1) originally posted by @ysavourel on 2012-05-02T15:59:08.000Z:
This is caused because the EncoderManager does not reset the encoder if the MIME type is the same. This could possibly be dangerous in other cases than just this XML filter option.