XLIFF merge error when trans-unit id contains certain white space

Issue #986 resolved
Dale Eggett created an issue

XLIFF 1.2 files containing certain white space (e.g. ) fail to import. Per the XLIFF specifications (http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#id), white space appears to be allowed.

This may have to do with XML Attribute-Value Normalization (https://www.w3.org/TR/REC-xml/#AVNormalize). The id gets normalized, and after normalization the strings don't match.

Attached are a sample XLIFF that fails to merge and the resulting stack trace.

Comments (4)

  1. Log in to comment