Xml tag repair: advance tag repair strategy

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: Editor general

      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:

      1. closing before opening
      2. mixing tags and wrong tag order
      3. 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.

            Assignee:
            Aleksandar Mitrev
            Reporter:
            Aleksandar Mitrev
            Axel Becher
            Stephan Bergmann, Sylvia Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: