XLIFF empty "target" elements are interpreted as missing
Created by: Anonymous
Original issue 219 created by mihn... on 2012-04-17T18:04:27.000Z:
Steps will reproduce the problem:
- Create an XLIFFFilter
- Start reading an XLIFF file that has an empty target
- Check the TEXT_UNIT events
- tu.getTarget(trgLocale) returns null
Steps will reproduce the problem without coding:
- Have an xlf that contains a translation-unit with empty source and empty target
- Validate in checkmate
- "Missing translation." error
I would expect an empty "target" in file to result in an empty target in the event, not a null one.
Using m16 on Windows.
Attached test file and fix.