Details
-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
SDLXLIFF diff export does not export XML entities correctly
-
Empty show more show less
Description
problem
On SegmentWorkflowTest I added to the there used T BX file the term "Installation".
This led to a changes.xliff (generated on review workflow step finish) with invalid XML inside.
The testcase contains segments with XML entities < > and & properly encoded.
As soon as this segment contains terminology (added by adding the term Installation) the exported segment was invalid XML since the entities were decoded.
This is done by the last return in \editor_Models_Export_FileParser_Sdlxliff_TrackChangesFormatter::toSdlxliffFormat method.
solution
- Apply a fix here, so that the entities are not encoded anymore (or only the right entities).
- Add to the SdlxliffTest content some XML entities in the content to test correct entity behaviour
Attachments
Issue Links
- blocks
-
TRANSLATE-3898 Change tmx import to be able to use html multipart fileupload
- Done
- has to be done before
-
TRANSLATE-3958 Change SegmentWorkflowTest
- Selected for dev
- is blocked by
-
TRANSLATE-3361 Speed up initial loading of translate5
- In Progress