Xml entities handled incorrectly on xlf export

XMLWordPrintable

    • Critical
    • None
    • Fix XLF export of xml entitites
    • None

      Problem

      <ph> tag may have other tag as its attribute.

      <ph id="5" ctype="x-regxph" equiv-text="&lt;BR/>">&amp;lt;BR/&amp;gt;</ph>
      

      So if you import xlf with such a tag and then place it in target as translation (general work flow) on export in master this will produce invalid xml:

      <ph id="5" ctype="x-regxph" equiv-text="&lt;BR/>"&gt;&amp;lt;BR/&amp;gt;</ph>
      

      Solution

      Fix tag handling.

      Test

      use file from attachments to test it.

       

            Assignee:
            Sanya Mikhliaiev
            Reporter:
            Sanya Mikhliaiev
            None
            None
            Thomas Lauria
            NO-FRONTEND-TESTING NEEDED
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None