XLIFF filter writes out ITS 2.0 data in a schematically invalid location

Issue #396 new
Former user created an issue

Original issue 396 created by @ysavourel on 2014-03-13T18:07:28.000Z:

The XLIFF 1.2 schema specifies that non-xliff elements can only appear before the first <file> element:
<xsd:element name="xliff">
<xsd:complexType>
<xsd:sequence maxOccurs="unbounded">
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="strict"/>
<xsd:element ref="xlf:file"/>
</xsd:sequence>
<!-- .... -->

However, the filter currently writes out ITS data after the last <file> element for simplicity. This is not valid XLIFF.

Comments (1)

  1. Log in to comment