XLF file names are lost by the XLIFFFilter

Issue #218 resolved
Former user created an issue

Original [issue 218](https://code.google.com/p/okapi/issues/detail?id=218) created by mihn... on 2012-04-16T17:53:45.000Z:

What steps will reproduce the problem? 1. Prepare a damaged XLIFF file somewhere (ie okapi
filters
xliff
src
test
resources). It is best to be somewhere with many other good ones. 2. Open rainbow and add all the XLIFF files as input, including the damaged one 3. Tool -> Run Quality Check Session ... -> Use current input documents ... Yes

There is an error, and that is expected. The error message contains info on the failed parsing, line and column, but no file name. That would be pretty useful when one checks many files.

Using m17 on Win 7.

Fix

The problem is in the XLIFFFilter and affects every application using it, including 3rd party.

I am attaching - a git\_diff file (a git patch format that supposedly git can use) - the XLIFFFilter.java before and after the fix - screenshots of the error before and after the fix

Thank you, Mihai

Comments (3)

  1. Log in to comment