Escaped output + html subfilter

Issue #313 resolved
Former user created an issue

Original issue 313 created by yohann.lou... on 2013-02-15T18:29:20.000Z:

What steps will reproduce the problem?
1.Create a properties file with some html in the value such as
key=value with html
2.Create a custom filter based off "okf_properties-html-subfilter"
3.In the output tab of the filter, enable escape all extended character
4.Save the filter and verify that escapeExtendedChars.b=true
5.Extract the properties file created at step 1 using the previously created custom filter.
java -jar tikal.jar -x test.properties -fc okf_properties@ htmlsubescaped.fprm -ie utf-8 -oe utf-8
6.In the extracted file, add extended ascii char to the target language
<trans-unit id="key_tu1" resname="key_1">
<source xml:lang="en">value with <g id="1">html</g></source>
<target xml:lang="fr">välûé wîth <g id="1">html</g></target>
</trans-unit>
7.Using this xlf, regenerate the target file.
java -jar tikal.jar -m test.properties.xlf -fc okf_properties@ htmlsubescaped.fprm -ie utf-8 -oe utf-8

What is the expected output? What do you see instead?
The expected output is a java properties file with extended char being escaped

What version of the product are you using? On what operating system?
Windows7 64 bit. Java 1.7.0_02 Okapi19 Official Release

Please provide any additional information below.
The attached zip contain the extraction log, the original source file, the modified xlf with extended char, the custom filter and the output file.

Comments (4)

  1. Former user Account Deleted

    Comment 1. originally posted by @ysavourel on 2013-02-15T19:43:56.000Z:

    Jim: I have not looked to closely into it yet, but it looks something related to the HTML sub-filtering in properties files you worked on a while back.
    If not just pass the ownership back to me.

  2. Former user Account Deleted

    Comment 2. originally posted by yohann.lou... on 2013-03-13T22:46:39.000Z:

    Hey Guys,

    Any update on this issue?

    Cordially,

    Yohann

  3. Former user Account Deleted

    Comment 3. originally posted by @ysavourel on 2013-03-15T04:45:52.000Z:

    We had a discussion about it yesterday.
    I think it could be fixed by updating the filter with a more recent way to do sub-filtering, and I will try to look at it as soon as i can. I'm changing the ownership to no-one so it can be pick-up by someone else too.
    The problem is always the same: time.

  4. Log in to comment