XLF file names are lost by the XLIFFFilter
Created by: Anonymous
Original issue 218 created by mihn... on 2012-04-16T17:53:45.000Z:
What steps will reproduce the problem?
- Prepare a damaged XLIFF file somewhere (ie okapi\filters\xliff\src\test\resources). It is best to be somewhere with many other good ones.
- Open rainbow and add all the XLIFF files as input, including the damaged one
- 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