-
Bug
-
Resolution: Fixed
-
None
-
Medium
-
Fix inability to export tasks with some chars sequences in source segments
-
Emptyshow more show less
Problem
On import if a source segment has ">" symbol within "equiv-text" XML element attribute like the following
<ph id="1" ctype="x-regxph" equiv-text="<SYS_SDATE>">&lt;SYS_SDATE&gt;</ph>
then built-in XML parser treats it as tag closing character
[9] => <source xml:lang="de-DE"> [10] => Datum: [11] => <ph id="1" ctype="x-regxph" equiv-text="<SYS_SDATE> [12] => ">&lt;SYS_SDATE&gt; [13] => </ph> [14] => [15] => </source>
and it causes incorrect target segment markup which causes error later when trying to export translated tasks due to invalid resulting XML: 
Solution
Find a way to reflect the original chars sequence.
Starting point can be \editor_Models_Import_FileParser_Tag::parseSegmentGetStorageClass