[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xliff] Input to discussion on Conformance
Hi, In my personal opinion, XLIFF documents are either conformant or not. It does not matter if the file has custom extensions or not. Valid or invalid, these should be the only two possible qualifiers for conformance of XLIFF documents. Creating 4 categories is a very bad idea. Regarding application conformance: an application that writes XLIFF files should write valid XLIFF. It does not matter if it has custom extensions or not. Our conformance statement should not include a clause like “if all foreign elements and attributes are removed before validation takes place.” Regards, Rodolfo -- Rodolfo M. Raya <rmraya@maxprograms.com> Maxprograms http://www.maxprograms.com From: Lieske, Christian [mailto:christian.lieske@sap.com] Hi there, I promised to send some input to the discussion. You find it below. Some additional explanations/remarks:
I am tempted to suggest that we restrict the current discussion related to conformance to the conformance clause(s) we need for the 1.2.1 errata – we thus would only talk about Conformance Type 1 (as indicated this is how I remember a decision we have already made). Otherwise, the scope may be too broad. Cheers, Christian === Two types of conformance are defined:
These conformance types complement each other. An implementation of this specification MAY use them separately or together. A. Conformance Type 1: Markup Conformance XLIFF markup declarations encompass all declarations that are part of XLIFF. Documents that conform to the XLIFF specification MAY make use of extensibility mechanisms as defined by the XLIFF specification. These documents are called extended XLIFF documents. Documents that conform to the XLIFF specification MAY contain elements and attributes not specified within the XLIFF schema. Such elements and attributes must not be part of a namespace that is defined within this specification and are called foreign elements and attributes. Conformant XLIFF documents MUST be valid instances of at least one of the official XML Schemas (Strict or Transitional) that are part of the XLIFF specification. The following levels of conformance to XLIFF Markup Declarations are defined:
Markup conformance n-un is called “strict markup conformance”, markup conformance f-e is called “basic markup conformance”. B. Conformance Type 2: Processing Conformance Processors MAY need to carry out computations based on XLIFF markup. In addition, processors MAY need to carry out computations modifying XLIFF markup. The XLIFF processing requirements define which computation has to be carried out. The requirements are defined by conformance clauses. The following conformance criteria for XLIFF Processing are defined:
Conforming applications MUST read documents that are valid against at least one of the official XML Schemas (Strict or Transitional) that are part of the XLIFF specification if all foreign elements and attributes are removed before validation takes place.
Conforming applications either MUST write documents that are valid against the XLIFF schema if all foreign elements and attributes are removed before validation takes place.
Conforming applications MUST implement the following processing based on XLIFF markup after having read a conformant XLIFF document: i. maintain information about the processing of the file via the phase element ii. …
Conforming applications MUST implement the following processing based on XLIFF markup when writing a conformant XLIFF document: ii. Fill the “tools” elements iii. Update … iv. … Conforming applications that read and write documents MUST not alter elements, attributes or values originating in XLIFF’s extensibility mechanisms. Conforming applications that read and write documents MUST preserve foreign elements and attributes. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]