No target with state='final'

Issue #16 resolved
YvesS created an issue

From Jan:

file

<xliff xmlns:mda="urn:oasis:names:tc:xliff:metadata:2.0"
    xmlns="urn:oasis:names:tc:xliff:document:2.0" srcLang="en-US" trgLang="fr-FR" version="2.0">
    <file id="1">
        <group id="content">
            <unit id="1">
                <segment state="final">
                    <source>1</source>
                </segment>
            </unit>
        </group>
    </file>
</xliff>

is reported as valid with state="final", while the <target> is not present. Could you please consider enforcing existence of <target> (even if it's empty) for segment states different from default?


Not sure this is a specification requirement, but it certainly would benefit from a warning.

Comments (1)

  1. Log in to comment