-
Type:
Bug
-
Resolution: Unresolved
-
None
-
Affects Version/s: None
-
Component/s: Editor general
-
Critical
-
Emptyshow more show less
Problem
Currently there are cases where the xliff_paired_tags repair service does not repair tags correctly. We need to extend the repairer with additional repair strategies and in addition to that we need to add smart tag index repair. This means, when tag position is wrong the tag should be placed at the place where it makes most sense.
Solution
First task will be to rename xliff_paired_tags to xml_paired_tags to avoid confusion. This tag handler does not send valid xliff tags but custom xml tags.
Next we need to improve and add more repair strategies:
- closing before opening
- mixing tags and wrong tag order
- think about other possible cases which we do not cover
Smart tag position restore. When broken tag is restored, instead of placing it on the start of the sentence, try to find out the correct position. The restored tag should be and correct position as much as possible.
Tag repair should also repair broken tags from the new xliff dialekt.