- changed status to resolved
No target with state='final'
Issue #16
resolved
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)
-
reporter - Log in to comment
Added warnings if the state!=initial and there is no target or the target is empty but not the source. This resolves issue
#16.→ <<cset 9ae79eb597d1>>