- attached okf_xmlstream@json.fprm
XML Stream Filter: Subfiltered JSON loses curly braces markup on merge
Issue #530
resolved
Attached: an xmlstream configuration to apply PCDATA subfiltering using the JSON filter, along with a simple testcase. The JSON is embedded like this:
<json>{ 'key' : 'value' }</json>
On dev (0.30-SNAPSHOT), if I roundtrip this using tikal:
/Applications/okapi-apps_cocoa-macosx-x86_64_0.30-SNAPSHOT/tikal.sh -fc okf_xmlstream\@json.fprm -x test.xml
/Applications/okapi-apps_cocoa-macosx-x86_64_0.30-SNAPSHOT/tikal.sh -fc okf_xmlstream\@json.fprm -m test.xml.xlf
I find that the surrounding '{' and '}' have been lost in the merge:
<json> 'key' : 'value' </json>
Comments (2)
-
reporter -
reporter - changed status to resolved
Fix issue
#530- JSON braces were lost when subfiltering→ <<cset cd9e49bf4a25>>
- Log in to comment