various upgrades and fixes to xliff2 and xliff 1.2 support

Merged
#604 · Created  · Last updated

Merged pull request

Merged in code_merge_tweaks (pull request #604)

43d9e4c·Author: ·Closed by: ·2022-05-20

Description

  • updates to ISegmenter to preserve code ids when joining in TextUnitMerger

  • various fixes to merger code (TextUnitMerger) additional support for custom mrk elements in xliff2 and xliff 1.2

  • clean up xliff2 test files to pass integration tests

  • disable xliff2 “deepenSegmentation“ for now.

  • update tests with new xliff2 files

  • remove unneeded checks and logged warnings

  • fix xliff2 filter handling of ignorable - auto-create target (copy of source) if needed

  • xliff2 segment and ingorable now have auto-generated id’s

  • Small fix to GenericSkeleton to allow deep copy of all parent references (not just “self”)

  • fix xliff 1.2 filter to support custom mrk elements (id conflicts with mtype=seg)

  • update xliff 1.2 filter to output id’s for all elements (mid etc..) if possible

  • now align and copy original target codes in case there are added codes in the target. Also to preserve existing target attributes and properties.

  • Update Tikal to preserve whitespace in the extracted xliff 1.2

  • clean and simplify TextUnitMerger logic.

  • Fix several unit tests to provide more accurate output on failure. Update tests expecting wrong results.

 

0 attachments

0 comments

Loading commits...