xliff 1.2 filter should support seg-source in alt-trans

Issue #639 new
Former user created an issue

It looks like the filter does not support <seg-source> in <alt-trans>. So that element gets stripped out in the output, but the <mrk mtype='seg'> still exist in the <target> of the <alt-trans> in the output. And I think the validation error you are getting is there because a corresponding <mrk> is expected in an expected <seg-source>.

The specification (http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html#mid) says the id is "used to reference segments between the <seg-source> and <target> of a <trans-unit>". So maybe that is what the validation is trying to check (but in <alt-trans> instead of <trans-unit>).

If you add "<seg-source><mrk mtype="seg" mid="1">First sentence.</mrk> <mrk mtype="seg" mid="2">Second sentence.</mrk></seg-source>" manually in the output, it validates.

Comments (2)

  1. YvesS

    @jhargrave, @tingley Just checking: Shouldn't the version be M34 (latest release) and milestone will be M35 if we manage to fix this for M35?

  2. Log in to comment