XML Filter: CDATA content is XML-escaped when using inlineCdata option
Attached: sample file, sample config. The config includes this:
<okp:options escapeGT="no" escapeQuotes="no" inlineCdata="yes"/>
Roundtrip through Okapi:
$ tikal.sh -fc okf_xml@test.fprm -x test.xml -codeattrs
$ tikal.sh -fc okf_xml@test.fprm -m test.xml.xlf
The CDATA markers are imported as tags, and everything looks fine. (The <br/> tag is protected via codefinder.)
However, on output, the CDATA markers are restored, but XML escaping is still applied to their contents:
<string><![CDATA[Sentence 1.<br />Sentence 2.]]></string>
This is incorrect.