<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "docbook/docbookx.dtd" >
<article status="OASIS Standard" lang="en-US">
  <articleinfo>
    <title>XLIFF Version 2.1</title>

    <releaseinfo role="cvs">$Id: spectools-docbook-template-wd03.xml,v 1.4
    2010/07/08 12:28:15 admin Exp$</releaseinfo>
    <releaseinfo role="track">Standards Track Work Product</releaseinfo>
    

    <productname class="trade">xliff-core-v2.1</productname>

    <productnumber>os</productnumber>

    <releaseinfo role="OASIS-specification-this-authoritative">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.html</releaseinfo>
    <releaseinfo role="OASIS-specification-this">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.pdf</releaseinfo>
    <releaseinfo role="OASIS-specification-this">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.xml</releaseinfo>

    
    <releaseinfo role="OASIS-specification-previous-authoritative">http://docs.oasis-open.org/xliff/xliff-core/v2.1/cos02/xliff-core-v2.1-cos02.html</releaseinfo>
    <releaseinfo role="OASIS-specification-previous">http://docs.oasis-open.org/xliff/xliff-core/v2.1/cos02/xliff-core-v2.1-cos02.pdf</releaseinfo>
    <releaseinfo role="OASIS-specification-previous">http://docs.oasis-open.org/xliff/xliff-core/v2.1/cos02/xliff-core-v2.1-cos02.xml</releaseinfo>

    <releaseinfo role="OASIS-specification-latest-authoritative">http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html</releaseinfo>
    <releaseinfo role="OASIS-specification-latest">http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.pdf</releaseinfo>
    <releaseinfo role="OASIS-specification-latest">http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.xml</releaseinfo>

    <releaseinfo role="committee"><ulink url="https://www.oasis-open.org/committees/xliff/">OASIS
    XML Localisation Interchange File Format (XLIFF) TC</ulink></releaseinfo>

    <authorgroup>
      <othercredit role="chair">
        <firstname>Bryan</firstname>

        <surname>Schnabel</surname>

        <affiliation>
          <orgname>Individual</orgname>

          <address format="linespecific"><email>bryan.s.schnabel@tektronix.com</email></address>
        </affiliation>
        <email>bryan.s.schnabel@tektronix.com</email>
      </othercredit>

      
      <editor>
        <firstname>David</firstname>
        <surname>Filip</surname>
        <affiliation>
          <orgname><ulink url="http://www.adaptcentre.ie/">Trinity College Dublin (ADAPT)</ulink></orgname>
          <address format="linespecific"><email>david.filip@adaptcentre.ie</email></address>
        </affiliation>
        <email>david.filip@adaptcentre.ie</email>
      </editor>
      
      
      <editor>
        <firstname>Tom</firstname>
        <surname>Comerford</surname>
        <affiliation>
          <orgname>Individual</orgname>
          <address format="linespecific"><email>tom@supratext.com</email></address>
        </affiliation>
        <email>tom@supratext.com</email>

      </editor>

      <editor>
        <firstname>Soroush</firstname>
        <surname>Saadatfar</surname>
        <affiliation>
          <orgname><ulink url="http://www.localisation.ie/">Localisation Research Centre</ulink></orgname>
          <address format="linespecific"><email>soroush.saadatfar@ul.ie</email></address>
        </affiliation>
        <email>soroush.saadatfar@ul.ie</email>
      </editor>

      <editor>
        <firstname>Felix</firstname>
        
        <surname>Sasaki</surname>
        
        <affiliation>
          <orgname>Individual</orgname>
          
          <address format="linespecific"><email>felix@sasakiatcf.com</email></address>
        </affiliation>
        <email>felix@sasakiatcf.com</email>
      </editor>
      
      <editor>
        <firstname>Yves</firstname>

        <surname>Savourel</surname>

        <affiliation>
          <orgname><ulink url="http://www.enlaso.com/">ENLASO Corporation</ulink></orgname>

          <address format="linespecific"><email>ysavourel@enlaso.com</email></address>
        </affiliation>
        <email>ysavourel@enlaso.com</email>
      </editor>


    </authorgroup>


    <pubdate>13 February 2018</pubdate>

    <copyright>
      <year>2018</year>

      <holder>OASIS Open, Inc. All Rights Reserved.</holder>
    </copyright>

    <legalnotice role="additional">
      <title>Additional artifacts</title>

      <para>This prose specification is one component of a Work Product that also includes:</para>

      <itemizedlist spacing="compact">
        <listitem>
          <para> Declarative validation artifacts accessible from <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/</ulink>
          </para>
          <!--  Instead of listing Schematron rules, NVDL master file, Catalogue and XML Schema, subsumed everything under Declarative Validation Artifacts  -->
        </listitem>
      </itemizedlist>
      </legalnotice>

    <legalnotice role="related">
      <title>Related Work</title>

      <para>This specification replaces or supersedes:</para>

      <itemizedlist spacing="compact">
        <listitem>
          <para><emphasis>XLIFF Version 2.0.</emphasis> Edited by Tom Comerford, David Filip, Rodolfo M. Raya, and Yves Savourel. 
            05 August 2014. OASIS Standard. <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html">http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html</ulink></para>
        </listitem>
      </itemizedlist>

      <!-- <para>This specification is related to:</para>

      <itemizedlist spacing="compact">
        <listitem>
          <para>{related specifications}</para>
        </listitem>

        <listitem>
          <para>{related specifications}</para>
        </listitem>
      </itemizedlist> -->
    </legalnotice>

    <legalnotice role="namespaces">
      <title>Declared XML Namespaces</title>

      <itemizedlist spacing="compact">
        <listitem>
          <para>urn:oasis:names:tc:xliff:document:2.0</para>
        </listitem>

        <listitem>
          <para>urn:oasis:names:tc:xliff:matches:2.0</para>
        </listitem>

        <listitem>
          <para>urn:oasis:names:tc:xliff:glossary:2.0</para>
        </listitem>
        <listitem>
          <para>urn:oasis:names:tc:xliff:fs:2.0</para>
        </listitem>
        <listitem>
          <para>urn:oasis:names:tc:xliff:metadata:2.0</para>
        </listitem>
        <listitem>
          <para>urn:oasis:names:tc:xliff:resourcedata:2.0</para>
        </listitem>
<!--  No CTR namestace given in XLIFF 2.1 as per resolution to https://issues.oasis-open.org/browse/XLIFF-32
        <listitem>
          <para>urn:oasis:names:tc:xliff:changetracking:&cschversion;</para>
        </listitem>
 -->

        <listitem>
          <para>urn:oasis:names:tc:xliff:sizerestriction:2.0</para>
        </listitem>

        <listitem>
          <para>urn:oasis:names:tc:xliff:validation:2.0</para>
        </listitem>
        
        <listitem>
          <para>http://www.w3.org/2005/11/its</para>
        </listitem>
        <listitem>
          <para>urn:oasis:names:tc:xliff:itsm:2.1</para>
        </listitem>
       
      </itemizedlist>
    </legalnotice>

    <abstract>
      <para>This document defines version 2.1 of the XML Localization Interchange File Format
        (XLIFF). The purpose of this vocabulary is to store localizable data and carry it from one
        step of the localization process to the other, while allowing interoperability between and
        among tools.</para>
    </abstract>

    <legalnotice role="status">
      <title>Status</title>

<!--       <para>{Describe the status and stability of the specification
      here.}</para> -->

      <para>This document was last revised or approved by the OASIS XML
      Localisation Interchange File Format (XLIFF) TC on the above date. The
      level of approval is also listed above. Check the “Latest version” location noted above for possible later revisions of this document.</para>

      <para>Technical Committee members should send comments on this specification to the Technical
        Committee's email list. Others should send comments to the Technical Committee by using the
          "<ulink url="https://www.oasis-open.org/committees/comments/index.php?wg_abbrev=xliff">Send
          A Comment</ulink>" button on the Technical Committee's web page at <ulink url="https://www.oasis-open.org/committees/xliff/">https://www.oasis-open.org/committees/xliff/</ulink>.</para>

      <para>This specification is provided under the <ulink url="https://www.oasis-open.org/policies-guidelines/ipr#RF-on-RAND-Mode">RF on RAND Terms</ulink> Mode of the <ulink url="https://www.oasis-open.org/policies-guidelines/ipr">OASIS IPR Policy</ulink>, the mode chosen when the Technical Committee was established. For information on whether any patents have been disclosed that
      may be essential to implementing this specification, and any offers of
      patent licensing terms, please refer to the Intellectual Property Rights
      section of the Technical Committee web page (<ulink url="https://www.oasis-open.org/committees/xliff/ipr.php">https://www.oasis-open.org/committees/xliff/ipr.php</ulink>).</para>
      <para>Note for any machine-readable content (aka Computer Language Definitions) declared
        Normative for this Work Product that is provided in separate plain text files, in the event
        of a discrepancy between any such plain text file and display content in the Work Product's
        prose narrative document(s), the content in the separate plain text file prevails.</para>

      <!-- 
      <para>The non-normative errata page for this specification is located at <ulink
          url="http://www.oasis-open.org/committees/xliff/"
          >http://www.oasis-open.org/committees/xliff/</ulink>.</para>
       -->
    </legalnotice>

    <legalnotice role="citation">
      <title>Citation format</title>

      <para>When referencing this specification the following citation format should be used:</para>


      <para><citation>XLIFF-2.1</citation></para>

      <para><emphasis>XLIFF Version 2.1</emphasis>. Edited by David Filip, Tom Comerford,
        Soroush Saadatfar, Felix Sasaki, and Yves Savourel. 13 February 2018. OASIS Standard. <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.html</ulink>. Latest
        version: <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html</ulink>. </para>

      <!-- 
      <para>The non-normative errata page for this specification is located at <ulink
          url="http://www.oasis-open.org/committees/xliff/"
          >http://www.oasis-open.org/committees/xliff/</ulink>.</para>
       -->
    </legalnotice>



    <legalnotice role="notices">
      <title>Notices</title>

      <para>Copyright © OASIS<!-- ® --> Open 2018. All Rights Reserved.</para>

      <para>All capitalized terms in the following text have the meanings
      assigned to them in the OASIS Intellectual Property Rights Policy (the
      "OASIS IPR Policy"). The full <ulink url="https://www.oasis-open.org/policies-guidelines/ipr">Policy</ulink> may be found at the OASIS
      website.</para>

      <para>This document and translations of it may be copied and furnished
      to others, and derivative works that comment on or otherwise explain it
      or assist in its implementation may be prepared, copied, published, and
      distributed, in whole or in part, without restriction of any kind,
      provided that the above copyright notice and this section are included
      on all such copies and derivative works. However, this document itself
      may not be modified in any way, including by removing the copyright
      notice or references to OASIS, except as needed for the purpose of
      developing any document or deliverable produced by an OASIS Technical
      Committee (in which case the rules applicable to copyrights, as set
      forth in the OASIS IPR Policy, must be followed) or as required to
      translate it into languages other than English.</para>

      <para>The limited permissions granted above are perpetual and will not
      be revoked by OASIS or its successors or assigns.</para>

      <para>This document and the information contained herein is provided on
      an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
      INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
      INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED
      WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
      PURPOSE.</para>

      <para>OASIS requests that any OASIS Party or any other party that
      believes it has patent claims that would necessarily be infringed by
      implementations of this OASIS Committee Specification or OASIS Standard,
      to notify OASIS TC Administrator and provide an indication of its
      willingness to grant patent licenses to such patent claims in a manner
      consistent with the IPR Mode of the OASIS Technical Committee that
      produced this specification.</para>

      <para>OASIS invites any party to contact the OASIS TC Administrator if
      it is aware of a claim of ownership of any patent claims that would
      necessarily be infringed by implementations of this specification by a
      patent holder that is not willing to provide a license to such patent
      claims in a manner consistent with the IPR Mode of the OASIS Technical
      Committee that produced this specification. OASIS may include such
      claims on its website, but disclaims any obligation to do so.</para>

      <para>OASIS takes no position regarding the validity or scope of any
      intellectual property or other rights that might be claimed to pertain
      to the implementation or use of the technology described in this
      document or the extent to which any license under such rights might or
      might not be available; neither does it represent that it has made any
      effort to identify any such rights. Information on OASIS' procedures
      with respect to rights in any document or deliverable produced by an
      OASIS Technical Committee can be found on the OASIS website. Copies of
      claims of rights made available for publication and any assurances of
      licenses to be made available, or the result of an attempt made to
      obtain a general license or permission for the use of such proprietary
      rights by implementers or users of this OASIS Committee Specification or
      OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS
      makes no representation that any information or list of intellectual
      property rights will at any time be complete, or that any claims in such
      list are, in fact, Essential Claims.</para>

      <para>The name "OASIS" is a trademark of <ulink url="http://www.oasis-open.org">OASIS</ulink>, the owner and developer
      of this specification, and should be used only to refer to the
      organization and its official outputs. OASIS welcomes reference to, and
      implementation and use of, specifications, while reserving the right to
      enforce its marks against misleading uses. Please see
      <ulink url="https://www.oasis-open.org/policies-guidelines/trademark">https://www.oasis-open.org/policies-guidelines/trademark</ulink>
      for above guidance.</para>
    </legalnotice>
  </articleinfo>

  <section>
    <title>Introduction</title>

    <para>XLIFF is the <emphasis>XML Localization Interchange File Format</emphasis> designed by a
      group of multilingual content publishers, software providers, localization service providers,
      localization tools providers, and researchers. It is intended to give any multilingual content
      owner a single interchange file format that can be understood by any localization provider,
      using any conformant localization tool. While the primary focus is on being a lossless
      interchange format, usage of XLIFF as a processing format is neither encouraged nor
      discouraged or prohibited.</para>

    <para><emphasis>All text is normative unless otherwise labeled.</emphasis> The following common methods are used for
      labeling portions of this specification as informative and hence non-normative:
      <simplelist type="vert">
        <member> Appendices and sections marked as "(Informative)" or "Non-Normative" in
          title,</member>
        <member> Notes (sections with the "Note" title),</member>
        <member> Warnings (sections with the "Warning" title),</member>
        <member> Examples (mainly example code listings, tree diagrams, but also any inline examples
          or illustrative exemplary lists in otherwise normative text),</member>
        <member> Schema and other validation artifacts listings (the corresponding artifacts are
          normative, not their listings).</member>
      </simplelist>
    </para>

    <section id="iprpolicy">
      <title>IPR Policy</title>
      <para>This specification is provided under the <ulink url="https://www.oasis-open.org/policies-guidelines/ipr#RF-on-RAND-Mode">RF on RAND Terms</ulink> Mode of the <ulink url="https://www.oasis-open.org/policies-guidelines/ipr">OASIS IPR Policy</ulink>, the mode chosen when the Technical Committee was established. For information on whether any patents have been disclosed that
      may be essential to implementing this specification, and any offers of
      patent licensing terms, please refer to the Intellectual Property Rights
      section of the Technical Committee web page (<ulink url="https://www.oasis-open.org/committees/xliff/ipr.php">https://www.oasis-open.org/committees/xliff/ipr.php</ulink>).</para>
    </section>

    <section id="terminology">
      <title>Terminology</title>

      <section>
        <title>Key words</title>

        <para>The key words <glossterm>must</glossterm>, <glossterm>must not</glossterm>,
            <glossterm>required</glossterm>, <glossterm>shall</glossterm>, <glossterm>shall
            not</glossterm>, <glossterm>should</glossterm>, <glossterm>should not</glossterm>,
            <glossterm>recommended</glossterm>, <glossterm>may</glossterm>, and
            <glossterm>optional</glossterm> are to be interpreted as described in <xref linkend="rfc2119"/>.</para>
      </section>

      <section id="definitions">
        <title>Definitions</title>

        <variablelist>

          <varlistentry>
            <term>Agent</term>

            <listitem>
              <para>any application or tool that generates (creates), reads, edits, writes, processes, stores, renders or otherwise handles <firstterm>XLIFF Documents</firstterm>.</para>
              <para><firstterm>Agent</firstterm> is the most general application conformance target
                that subsumes all other specialized user agents disregarding whether they are
                defined in this specification or not.</para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term>Enrich</term>
            <term>Enriching</term>
            <listitem>
              <para> the process of associating module and extension based metadata and resources
                with the <firstterm>Extracted</firstterm> XLIFF payload </para>
              <itemizedlist>
                <title>Processing Requirements</title>
              <listitem><para>
                <firstterm>Enriching</firstterm> <glossterm>may</glossterm> happen at the time of <firstterm>Extraction</firstterm>.
              </para></listitem>
              </itemizedlist>
              <note><para><firstterm>Extractor</firstterm> knowledge of the native format is not assumed while <firstterm>Enriching</firstterm>.</para></note>
            </listitem>
          </varlistentry>

<varlistentry>
  <term>Enricher</term>
  <term>Enricher Agent</term>
  <listitem><para>any <firstterm>Agent</firstterm> that performs the <firstterm>Enriching</firstterm> process
  </para></listitem>
</varlistentry>

          <varlistentry>
            <term>Extract</term>
            <term>Extraction</term>
            <listitem>
              <para>the process of encoding localizable content from a native content or User Interface format as XLIFF payload, so that localizable parts of the content
                in the source language are available for <firstterm>Translation</firstterm> into the target language along with the necessary context information
              </para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term>Extractor</term>
            <term>Extractor Agent</term>

            <listitem>
              <para>any <firstterm>Agent</firstterm> that performs the <firstterm>Extraction</firstterm> process

              </para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term>Merge</term>
            <term>Merging</term>

            <listitem>
              <para>the process of importing XLIFF payload back to the originating native format, based on the <emphasis>full knowledge</emphasis> of the <firstterm>Extraction</firstterm> mechanism, so that the localized content or User Interface strings
                replace the source language in the native format
              </para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term>Merger</term>
            <term>Merger Agent</term>

            <listitem>
              <para>an <firstterm>Agent</firstterm> that performs the <firstterm>Merge</firstterm> process

              </para>

              <warning><para>
                Unless specified otherwise, any <firstterm>Merger</firstterm> is deemed to have the same knowledge of the native format
                as the <firstterm>Extractor</firstterm> throughout the specification.
                </para>
                <para><firstterm>Mergers</firstterm> independent of  <firstterm>Extractors</firstterm> can succeed, but it is out of scope of this specification to specify interoperability
                for <firstterm>Merging</firstterm> back without the full  <firstterm>Extractor</firstterm> knowledge of the native format.
              </para></warning>
            </listitem>

          </varlistentry>

          <varlistentry>
            <term>Modify</term>
            <term>Modification</term>
            <listitem>
              <para>
                the process of changing core and module XLIFF structural and inline elements that were previously created by other <firstterm>Writers</firstterm>
               </para>
              <itemizedlist>
                <title>Processing Requirements</title>
                <listitem><para>
                  XLIFF elements <glossterm>may</glossterm> be <firstterm>Modified</firstterm> 	and <firstterm>Enriched</firstterm> at the same time.
                  </para></listitem>
              </itemizedlist>
              <note><para><firstterm>Extractor</firstterm> or <firstterm>Enricher</firstterm> knowledge of the native format is not assumed while <firstterm>Modifying</firstterm>.</para></note>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term>Modifier</term>
            <term>Modifier Agent</term>

            <listitem>
              <para>an <firstterm>Agent</firstterm> that performs the <firstterm>Modification</firstterm> process

              </para>


            </listitem>

          </varlistentry>


          <!--  The Reader defintion was not really needed, since such an Agent (that ONLY reads) practically does not exist and the PR for Redaers are well covered by the use of Agent
          <varlistentry>
            <term>Reader</term>
            <term>Reader Agent</term>

            <listitem>
              <para>an <firstterm>Agent</firstterm> that only renders <firstterm>XLIFF Documents</firstterm> provided by other <firstterm>Writers</firstterm>.

              </para>

              <note><para> Since XLIFF is intended as an exchange format rather than a processing format, many
              applications will need to generate <firstterm>XLIFF Documents</firstterm> from
              their internal processing formats, even in cases when they are processing
              <firstterm>XLIFF Documents</firstterm> created by another
              <firstterm>Extractor</firstterm>. </para></note>

             </listitem>

          </varlistentry>
           -->

          <varlistentry>
            <term>Translation</term>
            <term>Translate</term>

            <listitem>
              <para>a rendering of the meaning of the source text, expressed in the target language</para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term>Writer</term>
            <term>Writer Agent</term>

            <listitem>
              <para>an <firstterm>Agent</firstterm> that creates, generates, or otherwise writes an
                  <firstterm>XLIFF Document</firstterm> for whatever purpose, including but not
                limited to <firstterm>Extractor</firstterm>, <firstterm>Modifier</firstterm>, and
                  <firstterm>Enricher</firstterm>
                <firstterm>Agents</firstterm>. </para>

              <note><para>
               Since XLIFF is intended as an exchange format rather than a processing format, many applications will need
               to generate <firstterm>XLIFF Documents</firstterm> from their internal processing formats, even in cases when they are processing <firstterm>XLIFF Documents</firstterm>
                created by another <firstterm>Extractor</firstterm>.
              </para></note>
            </listitem>


          </varlistentry>






        </variablelist>
      </section>

      <section id="keyconcepts">
        <title>Key concepts</title>

        <variablelist>
          <varlistentry>
            <term>XLIFF Core</term>

            <listitem>
              <para>The core of XLIFF 2.1 consists of the minimum set of XML
              elements and attributes required to (a) prepare a document that
              contains text extracted from one or more files for localization,
              (b) allow it to be completed with the translation of the
              extracted text, and (c) allow the generation of <firstterm>Translated</firstterm>
              versions of the original document.</para>

              <para>The XML namespace that corresponds to the core subset of XLIFF 2.1 is
              <code>"urn:oasis:names:tc:xliff:document:2.0"</code>.</para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term>XLIFF-defined (elements and attributes)</term>
            <listitem><para>The following is the list of allowed schema URI prefixes for
                  <firstterm>XLIFF-defined</firstterm> elements and attributes:</para>
              <simplelist type="vert">
                <member><code>urn:oasis:names:tc:xliff:</code></member>
                <member><code>http://www.w3.org/2005/11/its</code></member>
              </simplelist>

              <para>However, the following namespaces are NOT considered
                  <firstterm>XLIFF-defined</firstterm> for the purposes of the XLIFF 2.1
                specification:</para>
              <simplelist type="vert">
                <member><code>urn:oasis:names:tc:xliff:document:1.0</code></member>
                <member><code>urn:oasis:names:tc:xliff:document:1.1</code></member>
                <member><code>urn:oasis:names:tc:xliff:document:1.2</code></member>
                <member><code>urn:oasis:names:tc:xliff:changetracking:2.0</code></member>
              </simplelist>
            <para>Elements and attributes from other namespaces are not <firstterm>XLIFF-defined</firstterm>.</para>
            </listitem>


          </varlistentry>

          <varlistentry>
            <term>XLIFF Document</term>

            <listitem>
              <para>Any XML document that declares the namespace
                  <code>"urn:oasis:names:tc:xliff:document:2.0"</code> as its main namespace, has
                  <link linkend="xliff"><code>&lt;xliff&gt;</code></link> as the root element and complies with the XML
                Schemas and the declared Constraints that are part of this specification.</para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term>XLIFF Module</term>

            <listitem>
              <para>A module is an <glossterm>optional</glossterm> set of XML elements and attributes
              that stores information about a process applied to an <firstterm>XLIFF
                Document</firstterm> and the data incorporated into the document as result
              of that process.</para>

              <para>Each official module defined for XLIFF 2.1 has its grammar
              defined in an independent XML Schema with a separate
              namespace.</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </section>
    </section>

    <section>
      <title>Normative References</title>

      <!-- note that at least one paragraph (and it can be empty) is needed to satisfy the DocBook document model -->

      <para/>

      <bibliography>
        <title/>
        
        <bibliomixed id="bcp47"><abbrev>BCP 47</abbrev>
        M. Davis, <title>Tags for Identifying Languages</title>, <citetitle> <ulink url="http://tools.ietf.org/html/bcp47">http://tools.ietf.org/html/bcp47</ulink>
        </citetitle> IETF (Internet Engineering Task Force).</bibliomixed>

        <bibliomixed id="HTML5"><abbrev>HTML5</abbrev> Ian Hickos, Robin Berjon, Steve Faulkner,
          Travis Leithead, Erika Doyle Navara, Edward O'Connor, Silvia Pfeiffer <title>HTML5. A
            vocabulary and associated APIs for HTML and XHTML</title>, <citetitle>
            <ulink url="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</ulink>
          </citetitle> W3C Recommendation 28 October 2014.</bibliomixed>

        <bibliomixed id="ITS20"><abbrev>ITS</abbrev> David Filip, Shaun McCance, Dave Lewis, Christian Lieske, Arle Lommel, Jirka Kosek, Felix Sasaki, Yves Savourel  <title>Internationalization Tag
            Set (ITS) Version 2.0</title>, <citetitle>
            <ulink url="http://www.w3.org/TR/its20/">http://www.w3.org/TR/its20/</ulink>
          </citetitle> W3C Recommendation 29 October 2013.</bibliomixed>
       
        
        <bibliomixed id="bib_datetime"><abbrev>NOTE-datetime</abbrev>
          M. Wolf, C. Wicksteed, <title>Date and Time Formats</title>, <citetitle> <ulink url="http://www.w3.org/TR/NOTE-datetime">http://www.w3.org/TR/NOTE-datetime</ulink>
          </citetitle> W3C Note, 15th Setember 1997.</bibliomixed>
        
        <bibliomixed id="NVDL"><abbrev>NVDL</abbrev>
          International Standards Organization, <title>ISO/IEC 19757-4, Information Technology - Document Schema Definition Languages (DSDL) - Part 4: Namespace-based Validation Dispatching Language (NVDL)</title>, <citetitle> <ulink url="http://standards.iso.org/ittf/PubliclyAvailableStandards/c038615_ISO_IEC_19757-4_2006(E).zip">
            http://standards.iso.org/ittf/PubliclyAvailableStandards/c038615_ISO_IEC_19757-4_2006(E).zip</ulink>
          </citetitle> ISO, June 1, 2006.</bibliomixed>


        <bibliomixed id="rfc2119"><abbrev>RFC 2119</abbrev>
          S. Bradner, <title>Key words for use in RFCs to Indicate Requirement Levels</title>, <citetitle> <ulink url="https://www.ietf.org/rfc/rfc2119.txt">https://www.ietf.org/rfc/rfc2119.txt</ulink>
        </citetitle> IETF (Internet Engineering Task Force) RFC 2119, March
        1997.</bibliomixed>
        
        <bibliomixed id="rfc3987"><abbrev>RFC 3987</abbrev>
          M. Duerst and M. Suignard, <title>Internationalized Resource Identifiers (IRIs)</title>, <citetitle> <ulink url="https://www.ietf.org/rfc/rfc3987.txt">https://www.ietf.org/rfc/rfc3987.txt</ulink>
          </citetitle> IETF (Internet Engineering Task Force) RFC 3987, January
          2005.</bibliomixed>

        <bibliomixed id="rfc7303"><abbrev>RFC 7303</abbrev>
          H. Thompson and C. Lilley, <title>XML Media Types</title>, <citetitle> <ulink url="https://www.tools.ietf.org/html/rfc7303">
              https://www.tools.ietf.org/html/rfc7303</ulink>
            </citetitle> IETF (Internet Engineering Task Force) RFC 7303, July
          2014.</bibliomixed>
        
        
        <bibliomixed id="Schematron"><abbrev>Schematron</abbrev>
          International Standards Organization, <title>ISO/IEC 19757-3, Information Technology - Document Schema Definition Languages (DSDL) - Part 3: Rule-Based Validation — Schematron (Second Edition)</title>, <citetitle> <ulink url="http://standards.iso.org/ittf/PubliclyAvailableStandards/c055982_ISO_IEC_19757-3_2016.zip">
            http://standards.iso.org/ittf/PubliclyAvailableStandards/c055982_ISO_IEC_19757-3_2016.zip</ulink>
            </citetitle> ISO, January 15, 2016.</bibliomixed>
        

        <bibliomixed id="uax9"><abbrev>UAX #9</abbrev> M. Davis, A. Lanin, A. Glass, <title>UNICODE
            BIDIRECTIONAL ALGORITHM</title>, <citetitle>
              <ulink url="http://www.unicode.org/reports/tr9/tr9-35.html">http://www.unicode.org/reports/tr9/tr9-35.html</ulink>
          </citetitle> Unicode Bidirectional Algorithm, May 18, 2016.</bibliomixed>

        <bibliomixed id="uax15"><abbrev>UAX #15</abbrev> M. Davis, K. Whistler, <title>UNICODE
            NORMALIZATION FORMS</title>, <citetitle>
              <ulink url="http://www.unicode.org/reports/tr15/tr15-44.html">http://www.unicode.org/reports/tr15/tr15-44.html</ulink>
          </citetitle> Unicode Normalization Forms, February 24, 2016.</bibliomixed>

        <bibliomixed id="Unicode"><abbrev>Unicode</abbrev> The Unicode Consortium, <title>The
            Unicode Standard</title>, <citetitle>
            <ulink url="http://www.unicode.org/versions/Unicode9.0.0/">http://www.unicode.org/versions/Unicode9.0.0/</ulink>
            </citetitle> Mountain View, CA: The Unicode Consortium, June 21, 2016.</bibliomixed>

        <bibliomixed id="bib_XML"><abbrev>XML</abbrev>
          W3C, <title>Extensible Markup Language (XML) 1.0</title>, <citetitle> <ulink url="http://www.w3.org/TR/xml/">http://www.w3.org/TR/xml/</ulink>
          </citetitle> (Fifth Edition) W3C Recommendation 26 November 2008.</bibliomixed>
        <bibliomixed id="xml_namespace"><abbrev>XML namespace</abbrev> W3C, <title>Schema document
            for namespace http://www.w3.org/XML/1998/namespace</title>
          <citetitle><ulink url="http://www.w3.org/2001/xml.xsd">http://www.w3.org/2001/xml.xsd</ulink></citetitle> [<edition><ulink url="http://www.w3.org/2009/01/xml.xsd">http://www.w3.org/2009/01/xml.xsd</ulink>]</edition>. at <edition><ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/informativeCopiesOf3rdPartySchemas/w3c/xml.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/informativeCopiesOf3rdPartySchemas/w3c/xml.xsd</ulink></edition>
          in this distribution</bibliomixed>
        
        <bibliomixed id="XMLCatalogs"><abbrev>XML Catalogs</abbrev> Norman Walsh, <title>XML Catalogs</title>, <citetitle>
          <ulink url="https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html">https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html</ulink>
        </citetitle> OASIS Standard V1.1, 07 October 2005.</bibliomixed>

        
        <bibliomixed id="XMLSchema"><abbrev>XML Schema</abbrev> W3C, <title>XML Schema</title>, <citetitle>
          refers to the two part standard comprising <link linkend="XMLSchema1">[XML Schema Structures]</link> and <link linkend="XMLSchema2">[XML Schema Datatypes]</link> 
          </citetitle> (Second Editions) W3C Recommendations 28 October 2004.</bibliomixed>
        
        <bibliomixed id="XMLSchema2"><abbrev>XML Schema Datatypes</abbrev> W3C, <title>XML Schema
            Part 2: Datatypes</title>, <citetitle>
            <ulink url="http://www.w3.org/TR/xmlschema-2/">http://www.w3.org/TR/xmlschema-2/</ulink>
          </citetitle> (Second Edition) W3C Recommendation 28 October 2004.</bibliomixed>
        
        <bibliomixed id="XMLSchema1"><abbrev>XML Schema Structures</abbrev> W3C, <title>XML Schema
          Part 1: Structures</title>, <citetitle>
            <ulink url="https://www.w3.org/TR/xmlschema-1/">https://www.w3.org/TR/xmlschema-1/</ulink>
          </citetitle> (Second Edition) W3C Recommendation 28 October 2004.</bibliomixed>
        


      </bibliography>
    </section>

    <section>
      <title>Non-Normative References</title>

      <!-- note that at least one paragraph (and it can be empty) is needed to satisfy the DocBook document model -->

      <para/>

      <bibliography>
        <title/>

        
        <bibliomixed id="biblio_ldml"><abbrev>LDML</abbrev> <title>Unicode
        Locale Data Markup Language</title> <citetitle> <ulink url="http://unicode.org/reports/tr35/">http://unicode.org/reports/tr35/</ulink>
        </citetitle></bibliomixed>
<!--  chnaged the SRX link to Unicode, since GALA moved it for no apparent reason and didn't keep URI  -->
        <bibliomixed id="biblio_srx"><abbrev>SRX</abbrev> <title>Segmentation Rules eXchange</title> <citetitle> <ulink url="http://www.unicode.org/uli/pas/srx/">http://www.unicode.org/uli/pas/srx/</ulink>
        </citetitle></bibliomixed>

        <bibliomixed id="uax29"><abbrev>UAX #29</abbrev>
          M. Davis, <title>UNICODE TEXT SEGMENTATION</title>, <citetitle> <ulink url="http://www.unicode.org/reports/tr29/">http://www.unicode.org/reports/tr29/</ulink>
          </citetitle> Unicode text Segmentation.</bibliomixed>

        <bibliomixed id="biblio_xmli18nbp"><abbrev>XML I18N BP</abbrev>
          <title>Best Practices for XML Internationalization</title>, 13
          February 2008, <citetitle> <ulink url="http://www.w3.org/TR/xml-i18n-bp/">http://www.w3.org/TR/xml-i18n-bp/</ulink>
          </citetitle> W3C Working Group.</bibliomixed>

      </bibliography>
    </section>
  </section>
  <section id="Conformance">
    <title>Conformance</title>
   
   <orderedlist inheritnum="ignore" continuation="restarts">
       <listitem id="DocumentConformance">
           <orderedlist inheritnum="ignore" continuation="restarts">
               <title>
           Document Conformance</title>
               <listitem>
    <para>XLIFF is an XML vocabulary, therefore conformant <firstterm>XLIFF Documents</firstterm>
        <glossterm>must</glossterm> be well formed and valid <link linkend="bib_XML">[XML]</link> documents.</para>
               </listitem>
               <listitem>
    
                   <para>Conformant <firstterm>XLIFF Documents</firstterm>
                        <glossterm>must</glossterm> be valid instances of the official Core XML
                        Schema (<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.0.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.0.xsd</ulink>) that is a part of
                        this multipart Work Product.</para>
               </listitem>
               <listitem>
    
    <para> As not all aspects of the XLIFF specification can be expressed in terms of XML Schemas,
                        conformant <firstterm>XLIFF Documents</firstterm>
                        <glossterm>must</glossterm> also comply with all relevant elements and
                        attributes definitions, normative usage descriptions, and Constraints
                        specified in this specification document.</para>
               </listitem>
               <listitem>
                <para><firstterm>XLIFF Documents</firstterm> <glossterm>may</glossterm> contain custom extensions, as defined in the
                   <link linkend="extensions">Extension
                       Mechanisms</link> section.
               </para>
               </listitem> 
           </orderedlist>
       </listitem>
       <listitem id="ApplicationConformance">
               <orderedlist inheritnum="ignore" continuation="restarts">
                   <title>
                       Application Conformance</title>
                <listitem>                
    <para>XLIFF <firstterm>Writers</firstterm>
                        <glossterm>must</glossterm> create conformant <firstterm>XLIFF
                            Documents</firstterm> to be considered XLIFF compliant.</para>
                </listitem>
                <listitem>
                           <para>
        <firstterm>Agents</firstterm> processing conformant <firstterm>XLIFF Documents</firstterm> that
        contain custom extensions are not <glossterm>required</glossterm> to understand and process
        non-XLIFF elements or attributes. However, conformant applications
            <glossterm>should</glossterm> preserve existing custom extensions when processing
                               conformant <firstterm>XLIFF Documents</firstterm>, provided that the elements
                               that contain custom extensions are not
        removed according to XLIFF Processing Requirements or the extension's own processing
        requirements.</para>
                </listitem>
                    <listitem>
                        <para>All <firstterm>Agents</firstterm>
                        <glossterm>must</glossterm> comply with Processing Requirements for
                        otherwise unspecified <firstterm>Agents</firstterm> or without a
                        specifically set target <firstterm>Agent</firstterm>.</para> 
                    </listitem>
                                      
                   <listitem>
                       <para> Specialized <firstterm>Agents</firstterm> defined in this
                        specification - this is <firstterm>Extractor</firstterm>,
                            <firstterm>Merger</firstterm>, <firstterm>Writer</firstterm>,
                            <firstterm>Modifier</firstterm>, and <firstterm>Enricher</firstterm>
                        <firstterm>Agents</firstterm> - <glossterm>must</glossterm> comply with the
                        Processing Requirements targeting their specifically defined type of
                            <firstterm>Agent</firstterm> on top of Processing Requirements targeting
                        all <firstterm>Agents</firstterm> as per point c. above.</para>
                   </listitem>
                   <listitem>
                    <para>XLIFF is a format explicitly designed for exchanging data among various
                            <firstterm>Agents</firstterm>. Thus, a conformant XLIFF application
                            <glossterm>must</glossterm> be able to accept <firstterm>XLIFF
                            Documents</firstterm> it had written after those <firstterm>XLIFF
                            Documents</firstterm> were <firstterm>Modified</firstterm> or
                            <firstterm>Enriched</firstterm> by a different application, provided
                        that:</para>
                        <orderedlist inheritnum="ignore" continuation="restarts">
                        <listitem>
                            <para>The processed files are conformant <firstterm>XLIFF Documents</firstterm>,</para>
                        </listitem>
                            <listitem>
                                <para>in a state compliant with all relevant Processing Requirements.</para>
                            </listitem>  
                        </orderedlist>
                            
                </listitem>
            
                   
   </orderedlist>
       </listitem>
       <listitem>
                       <orderedlist inheritnum="ignore" continuation="restarts">
                           <title>
                               Backwards Compatibility</title>
                           <listitem>
                    <para>Conformant applications are <glossterm>required</glossterm> to support
                        XLIFF 2.0.</para>
                </listitem>
                <listitem>
                    <para>Conformant applications are NOT <glossterm>required</glossterm> to support
                        XLIFF 1.2 or previous Versions. </para>
                </listitem>
                       </orderedlist>
                   </listitem>
   </orderedlist>
    
    <note><para><firstterm>XLIFF Documents</firstterm> conformant to this specification are not and cannot be
            conformant to XLIFF 1.2 or earlier versions. If an application needs to support for
            whatever business reason both XLIFF 2 and XLIFF 1.2 or earlier, these will need to be
            supported as separate functionalities. </para></note>
</section>
  <section id="fragid">
  <title>Fragment Identification</title>
  <para>Because <firstterm>XLIFF Documents</firstterm> do not follow the usual behavior of XML documents when it comes to element identifiers, this specification
    defines how <firstterm>Agents</firstterm> <glossterm>must</glossterm> interpret the fragment identifiers in IRIs pointing to <firstterm>XLIFF Documents</firstterm>.</para>
  <note>
    <para>Note that some identifiers may change during the localization process. For example <link linkend="data"><code>&lt;data&gt;</code></link> elements may be re-grouped or not depending on how tools treat
     identical original data.</para>
  </note>
  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>A fragment identifier <glossterm>must</glossterm> match the following format:</para>
      <programlisting format="linespecific">
&lt;expression&gt;      ::= "#" ["/"] &lt;selector&gt;
                      {&lt;selectorSeparator&gt; &lt;selector&gt;}
&lt;selector&gt;        ::= [&lt;prefix&gt; &lt;prefixSeparator&gt;] &lt;id&gt;
&lt;prefix&gt;          ::= NMTOKEN
&lt;id&gt;              ::= NMTOKEN
&lt;prefixSeparator&gt; ::= "="
&lt;selectorSeparator&gt;  ::= "/"</programlisting>
    </listitem>
    <listitem>
      <para>There <glossterm>must not</glossterm> be two identical prefixes in the expression.</para>
    </listitem>
    <listitem>
      <para>When used, the following selectors <glossterm>must</glossterm> be declared in this order: file selector, group selector and unit selector.</para>
    </listitem>
    <listitem>
      <para>The selectors for modules or extensions, <link linkend="note"><code>&lt;note&gt;</code></link>, <link linkend="segment"><code>&lt;segment&gt;</code></link> or <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> or source inline elements, target inline elements and
        <link linkend="data"><code>&lt;data&gt;</code></link> have the following constraints:</para>
      <itemizedlist>
        <listitem><para>Only one of them <glossterm>may</glossterm> be used in the expression.</para></listitem>
        <listitem><para>The one used <glossterm>must</glossterm> be the last selector of the expression.</para></listitem>
      </itemizedlist>
    </listitem>
  </itemizedlist>
  <warning><para>Please note that due to the above Constraints, referencing fragments using third party
      namespaces within <firstterm>Modules</firstterm> or extensions (including but not limited to
        <firstterm>XLIFF Core</firstterm> or the Metadata Module) is not possible. This is to
      restrict the complexity of the fragment identification mechanism, as it would otherwise have
      potentially unlimited depth.</para></warning>
  <section>
    <title>Selectors for Core Elements</title>
    <itemizedlist>
      <listitem><para>The prefix <code>f</code> indicates a <link linkend="file"><code>&lt;file&gt;</code></link> id and the value of that id is unique among all <link linkend="file"><code>&lt;file&gt;</code></link> <code>id</code> attribute values within the enclosing <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para></listitem>

      <listitem><para>The prefix <code>g</code> indicates a <link linkend="group"><code>&lt;group&gt;</code></link> id and the value of that id is unique among all <link linkend="group"><code>&lt;group&gt;</code></link> <code>id</code> attribute values within the enclosing  <link linkend="file"><code>&lt;file&gt;</code></link> element.</para></listitem>

      <listitem><para>The prefix <code>u</code> indicates a <link linkend="unit"><code>&lt;unit&gt;</code></link> id and the value of that id is unique among all <link linkend="unit"><code>&lt;unit&gt;</code></link> <code>id</code> attribute values within the enclosing  <link linkend="file"><code>&lt;file&gt;</code></link> element.</para></listitem>

      <listitem><para>The prefix <code>n</code> indicates a <link linkend="note"><code>&lt;note&gt;</code></link> id and the value of that id is unique among all <link linkend="note"><code>&lt;note&gt;</code></link> <code>id</code> attribute values within the immediate enclosing
        <link linkend="file"><code>&lt;file&gt;</code></link>,
        <link linkend="group"><code>&lt;group&gt;</code></link>, or
        <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para></listitem>

      <listitem><para>The prefix <code>d</code> indicates a <link linkend="data"><code>&lt;data&gt;</code></link> id and the value of that id is unique among all <link linkend="data"><code>&lt;data&gt;</code></link> <code>id</code> attribute values within the enclosing
        <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para></listitem>

      <listitem><para>The prefix <code>t</code> indicates an id for an inline element in the <link linkend="target"><code>&lt;target&gt;</code></link> element and the value of that id is unique within the
        enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element (with the exception of the matching inline elements in the <link linkend="source"><code>&lt;source&gt;</code></link>).</para></listitem>

      <listitem><para>No prefix indicates an id for a <link linkend="segment"><code>&lt;segment&gt;</code></link> or an <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> or an inline element in the <link linkend="source"><code>&lt;source&gt;</code></link> element and the value of that id
        is unique within the enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element (with the exception of the matching inline elements in the <link linkend="target"><code>&lt;target&gt;</code></link>).</para></listitem>
    </itemizedlist>
  </section>
  <section id="fragid-modandext">
    <title>Selectors for Modules and Extensions</title>
    <para>A selector for a module or an extension uses a registered prefix and the value of that id is unique within the immediate enclosing
      <link linkend="file"><code>&lt;file&gt;</code></link>,
      <link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>
    <itemizedlist>
      <title>Constraints</title>
      <listitem><para>The prefix of a module or an extension <glossterm>must</glossterm> be an NMTOKEN longer than 1
          character and <glossterm>must</glossterm> be defined in the module or extension
          specification.</para></listitem>
      <listitem><para>The prefix of a module or an extension <glossterm>must</glossterm> be registered with the
          XLIFF TC.</para></listitem>
      <listitem><para>A given module or extension namespace URI <glossterm>must</glossterm> be associated with a single prefix.</para></listitem>
      <listitem><para>A prefix <glossterm>may</glossterm> be associated with more than one namespace URI (to allow
          for example different versions of a given module or extension to use the same
          prefix).</para></listitem>
    </itemizedlist>
    <para>See also the <link linkend="ext-constraints">constraints related to how IDs need to be specified in
      extensions</link> (which applies for modules as well).</para>
  </section>
  <section>
    <title>Relative References</title>
    <para>Fragment identifiers that do not start with a character <code>/</code> (U+002F) are relative to their location in the document,
      or to the document being processed.</para>
    <para>Any unit, group or file selector missing to resolve the relative reference is obtained from the immediate enclosing unit, group or file elements.</para>
  </section>
  <section id="fragid-example">
    <title>Examples</title>
    <para>Given the following XLIFF document:</para>
    <programlisting format="linespecific">
&lt;xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0"
    srcLang="en" trgLang="fr"&gt;
  &lt;file id="f1"&gt;
    &lt;notes&gt;
      &lt;note id="n1"&gt;note for file.&lt;/note&gt;
    &lt;/notes&gt;
    &lt;unit id="u1"&gt;
      &lt;my:elem xmlns:my="myNamespaceURI" id="x1"&gt;data&lt;/my:elem&gt;
      &lt;notes&gt;
        &lt;note id="n1"&gt;note for unit&lt;/note&gt;
      &lt;/notes&gt;
      &lt;segment id="s1"&gt;
        &lt;source&gt;&lt;pc id="1"&gt;Hello &lt;mrk id="m1" type="term"&gt;World&lt;/mrk&gt;!&lt;/pc&gt;
            &lt;/source&gt;
        &lt;target&gt;&lt;pc id="1"&gt;Bonjour le &lt;mrk id="m1" type="term"&gt;Monde&lt;/mrk&gt;
            ! &lt;/pc&gt;&lt;/target&gt;
      &lt;/segment&gt;
    &lt;/unit&gt;
  &lt;/file&gt;
&lt;/xliff&gt;
</programlisting>
    <para>You can have the following fragment identifiers:</para>
    <itemizedlist>
      <listitem><para><code>#f=f1/u=u1/1</code> refers to the element <code>&lt;pc id="1"&gt;</code> of the source content of the element <code>&lt;unit id="u1"&gt;</code>.</para></listitem>
      <listitem><para><code>#f=f1/u=u1/t=1</code> refers to the element <code>&lt;pc id="1"&gt;</code> of the target content of the element <code>&lt;unit id="u1"&gt;</code>.</para></listitem>
      <listitem><para><code>#f=f1/n=n1</code> refers to the element <code>&lt;note id="n1"&gt;</code> of the element <code>&lt;file id="f1"&gt;</code>.</para></listitem>
      <listitem><para><code>#f=f1/u=u1/n=n1</code> refers to the element <code>&lt;note id="n1"&gt;</code> of the element <code>&lt;unit id="u1"&gt;</code>.</para></listitem>
      <listitem><para><code>#f=f1/u=u1/s1</code> refers to the element <code>&lt;segment id="s1"&gt;</code> of the element <code>&lt;unit id="u1"&gt;</code>.</para></listitem>
      <listitem><para>Assuming the extension defined by the namespace URI <code>myNamespaceURI</code> has registered the prefix <code>myprefix</code>, the expression
        <code>#f=f1/u=u1/myprefix=x1</code> refers to the element <code>&lt;my:element id="x1"&gt;</code> of the element <code>&lt;unit id="u1"&gt;</code>.</para></listitem>
    </itemizedlist>
  </section>

</section>
  <section id="core">
    <title>The Core Specification</title>

    <para>XLIFF is a bilingual document format designed for containing text
      that needs <firstterm>Translation</firstterm>, its corresponding translations and auxiliary data
      that makes the <firstterm>Translation</firstterm> process possible.</para>

    <para>At creation time, an <firstterm>XLIFF Document</firstterm> <glossterm>may</glossterm> contain only text in the source
    language. Translations expressed in the target language <glossterm>may</glossterm> be added at a
    later time.</para>

    <para>The root element of an <firstterm>XLIFF Document</firstterm> is <link linkend="xliff"><code>&lt;xliff&gt;</code></link>. It contains a collection of <link linkend="file"><code>&lt;file&gt;</code></link>
      elements. Typically, each <link linkend="file"><code>&lt;file&gt;</code></link> element contains a set of <link linkend="unit"><code>&lt;unit&gt;</code></link>
      elements that contain the text to be translated in the <link linkend="source"><code>&lt;source&gt;</code></link> child of one or more <link linkend="segment"><code>&lt;segment&gt;</code></link> elements. Translations are stored in the <link linkend="target"><code>&lt;target&gt;</code></link> child of each <link linkend="segment"><code>&lt;segment&gt;</code></link> element.</para>

    <section>
      <title>General Processing Requirements</title>


      <itemizedlist>
        <title/>

        <listitem>
          <para>An <firstterm>Agent</firstterm> processing a valid <firstterm>XLIFF Document</firstterm> that contains <firstterm>XLIFF-defined</firstterm> elements and attributes that
            it cannot handle <glossterm>must</glossterm> preserve those elements and attributes.</para>
        </listitem>
        <listitem>
          <para>An <firstterm>Agent</firstterm> processing a valid <firstterm>XLIFF Document</firstterm> that contains custom elements and attributes that it
            cannot handle <glossterm>should</glossterm> preserve those elements and attributes.</para>
        </listitem>

        </itemizedlist>
    </section>

    <section>
    <title>Elements</title>
    <para>This section contains a description of all elements used in <firstterm>XLIFF Core</firstterm>.</para>
    <section><!--  gen. 20140318  -->
  <title>Tree Structure</title>
  <para>Legend:</para>
  <simplelist type="vert">
    <member>1 = one</member>
    <member>+ = one or more</member>
    <member>? = zero or one</member>
    <member>* = zero or more</member>
  </simplelist>
  <programlisting format="linespecific">
<link linkend="xliff"><code>&lt;xliff&gt;</code></link>
|
+---<link linkend="file"><code>&lt;file&gt;</code></link> +
  |
  +---<link linkend="skeleton"><code>&lt;skeleton&gt;</code></link> ?
  | |
  | +---&lt;other&gt; *
  |
  +---&lt;other&gt; *
  |
  +---<link linkend="notes"><code>&lt;notes&gt;</code></link> ?
  | |
  | +---<link linkend="note"><code>&lt;note&gt;</code></link> +
  |
  +---At least one of (<link linkend="unit"><code>&lt;unit&gt;</code></link> OR <link linkend="group"><code>&lt;group&gt;</code></link>)
      | |
      | +---<link linkend="unit"><code>&lt;unit&gt;</code></link>
      |   |
      |   +---&lt;other&gt; *
      |   |
      |   +---<link linkend="notes"><code>&lt;notes&gt;</code></link> ?
      |   | |
      |   | +---<link linkend="note"><code>&lt;note&gt;</code></link> +
      |   |
      |   +---<link linkend="originaldata"><code>&lt;originalData&gt;</code></link> ?
      |   | |
      |   | +---<link linkend="data"><code>&lt;data&gt;</code></link> +
      |   |
      |   +---At least one of (<link linkend="segment"><code>&lt;segment&gt;</code></link> OR <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>)
      |       | |
      |       | +---<link linkend="segment"><code>&lt;segment&gt;</code></link>
      |       |   |
      |       |   +---<link linkend="source"><code>&lt;source&gt;</code></link> 1
      |       |   |
      |       |   +---<link linkend="target"><code>&lt;target&gt;</code></link> ?
      |       |
      |       +---<link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>
      |           |
      |           +---<link linkend="source"><code>&lt;source&gt;</code></link> 1
      |           |
      |           +---<link linkend="target"><code>&lt;target&gt;</code></link> ?
      |
      +---<link linkend="group"><code>&lt;group&gt;</code></link>
          |
          +---&lt;other&gt; *
          |
          +---<link linkend="notes"><code>&lt;notes&gt;</code></link> ?
          | |
          | +---<link linkend="note"><code>&lt;note&gt;</code></link> +
          |
          +---At least one of (<link linkend="unit"><code>&lt;unit&gt;</code></link> OR <link linkend="group"><code>&lt;group&gt;</code></link>)


  </programlisting>
</section>
    <section id="structural">
    <title>Structural Elements</title>
    <para>The structural elements used in <firstterm>XLIFF Core</firstterm> are: 
        <link linkend="xliff"><code>&lt;xliff&gt;</code></link>, 
        <link linkend="file"><code>&lt;file&gt;</code></link>, 
        <link linkend="skeleton"><code>&lt;skeleton&gt;</code></link>,
        <link linkend="group"><code>&lt;group&gt;</code></link>,
        <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="segment"><code>&lt;segment&gt;</code></link>, 
        <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>, 
        <link linkend="notes"><code>&lt;notes&gt;</code></link>, 
        <link linkend="note"><code>&lt;note&gt;</code></link>, 
        <link linkend="originaldata"><code>&lt;originalData&gt;</code></link>, 
        <link linkend="data"><code>&lt;data&gt;</code></link>, 
        <link linkend="source"><code>&lt;source&gt;</code></link> 
        and <link linkend="target"><code>&lt;target&gt;</code></link>.
    </para>

    <section id="xliff">
    <title>xliff</title>
    <para>Root element for XLIFF documents.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="file"><code>&lt;file&gt;</code></link> 
            elements</member>
    </simplelist>
    
    
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="version"><code>version</code></link>, <glossterm>required</glossterm></member>
        <member>- <link linkend="srcLang"><code>srcLang</code></link>, <glossterm>required</glossterm></member>
        <member>- <link linkend="trgLang"><code>trgLang</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="xml_space"><code>xml:space</code></link>, <glossterm>optional</glossterm></member>
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>
    
    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>The <link linkend="trgLang"><code>trgLang</code></link> attribute is <glossterm>required</glossterm>
                if and only if the <firstterm>XLIFF Document</firstterm> contains <link linkend="target"><code>&lt;target&gt;</code></link> elements that are children
                of <link linkend="segment"><code>&lt;segment&gt;</code></link> or <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>. </para>
        </listitem>
        <listitem>
            <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
                allowed by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                <member>- the <code><link linkend="itsm_version">its:version</link></code>attribute from the
                    namespace <code>http://www.w3.org/2005/11/its</code>,
                        <glossterm>optional</glossterm>.</member>
            </simplelist>
        </listitem>
    </itemizedlist>
</section>

    <section id="file">
    <title>file</title>
    <para>Container for localization material extracted from an entire single document, or another
        high level self contained logical node in a content structure that cannot be described in the terms of
        documents.</para>
        <note><para>Sub-document artifacts such as particular sheets, pages, chapters and similar are better
            mapped onto the <link linkend="group"><code>&lt;group&gt;</code></link> element. The
                <code>&lt;file&gt;</code> element is intended for the highest logical level. For
            instance a collection of papers would map to a single <firstterm>XLIFF
                Document</firstterm>, each paper will be represented with one <code>&lt;file&gt;</code>
            element, whereas chapters and subsections will map onto nested
            <link linkend="group"><code>&lt;group&gt;</code></link> elements.</para></note>



    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Zero or one <link linkend="skeleton"><code>&lt;skeleton&gt;</code></link> element
        followed by</member>
        <member>- elements from other namespaces, <glossterm>optional</glossterm></member>

        <member>- Zero or one
            <link linkend="notes"><code>&lt;notes&gt;</code></link>
            element followed by</member>


        <member>- One or more <link linkend="unit"><code>&lt;unit&gt;</code></link> or <link linkend="group"><code>&lt;group&gt;</code></link> elements in any order.</member>

    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="id"><code>id</code></link>,
                <glossterm>required</glossterm></member>
        <member>- <link linkend="canResegment"><code>canResegment</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="original"><code>original</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="translate"><code>translate</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="srcdir"><code>srcDir</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="trgdir"><code>trgDir</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="xml_space"><code>xml:space</code></link>, <glossterm>optional</glossterm></member>
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
        <title>Constraints</title>
        <listitem><para>The following <firstterm>XLIFF Module</firstterm> elements are explicitly allowed by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                <!--   Removing CTR module as per resolution to https://issues.oasis-open.org/browse/XLIFF-32
                    <member>- Zero or one <olink targetdoc="../change-tracking/changeTrack.xml"
                        targetptr="changeTrack"><code>&lt;ctr:changeTrack></code></olink>
                    elements</member>
 -->
            <member>- Zero or one <link linkend="metadata"><code>&lt;mda:metadata&gt;</code></link> elements</member>
            <member>- Zero or one <link linkend="res_resourceData"><code>&lt;res:resourceData&gt;</code></link>
                    element</member>
            <member>- Zero or one <link linkend="slr_profiles"><code>&lt;slr:profiles&gt;</code></link>
                    elements</member>
            <member>- Zero or one <link linkend="slr_data"><code>&lt;slr:data&gt;</code></link> elements</member>
            <member>- Zero or one <link linkend="validation"><code>&lt;val:validation&gt;</code></link>
                    elements</member>
             <member>- Zero, one, or more <link linkend="itsm_provenanceRecords"><code>&lt;its:provenanceRecords&gt;</code></link>
                    elements</member>   
            
            </simplelist>
        </listitem>
        <listitem>
            <para><firstterm>Module</firstterm> and Extension elements <glossterm>may</glossterm> be
                used in any order.</para>
        </listitem>
        <listitem>
            <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
                allowed by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                <member>- attributes from the namespace
                    <code>urn:oasis:names:tc:xliff:fs:2.0</code>, <glossterm>optional</glossterm>,
                    provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link>
                    are met.</member>
                <member>- attributes from the namespace
                    <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>, <glossterm>optional</glossterm>,
                    provided that the Constraints specified in the <link linkend="size_restriction_module">Size and Length Restriction Module</link>
                    are met.</member>
                <member>- attributes from the namespace
                        <code>http://www.w3.org/2005/11/its</code>,
                        <glossterm>optional</glossterm>, provided that the Constraints specified in
                    the <link linkend="ITS-module">ITS Module</link> are met.</member>
                <member>- attributes from the namespace
                        <code>urn:oasis:names:tc:xliff:itsm:2.1</code>,
                        <glossterm>optional</glossterm>, provided that the Constraints specified in
                    the <link linkend="ITS-module">ITS Module</link> are met.</member>
            </simplelist>
        </listitem>

    <!--  This was moved to the id attribute together with all other id uniqueness constraints

        <listitem><para>The value of the <glossterm>optional</glossterm>
            <olink targetdoc="../../attributes/id.xml" targetptr="id"><code>id</code></olink>
            attribute <glossterm>must</glossterm> be unique among all
            <link linkend="file"><code>&lt;file></code></link>
            children of the enclosing
            <olink targetdoc="xliff.xml" targetptr="xliff"><code>&lt;xliff></code></olink>
            element.</para>
        </listitem>

     -->
    </itemizedlist>
</section>
    
    <section id="skeleton">
    <title>skeleton</title>
    <para>Container for non-translatable material pertaining to the parent <link linkend="file"><code>&lt;file&gt;</code></link> element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <para>Either</para>
    <simplelist type="vert">
        <member>- Non-translatable text</member>
        <member>- elements from other namespaces</member>
    </simplelist>
    <para>or</para>
    <simplelist type="vert">
        <member>- is empty.</member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="href"><code>href</code></link>, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
        <title>Constraints</title>
    <listitem><para> The attribute <link linkend="href"><code>href</code></link> is <glossterm>required</glossterm> if and only if the
                    <link linkend="skeleton"><code>&lt;skeleton&gt;</code></link> element is empty. </para></listitem>
    </itemizedlist>
    <itemizedlist>
        <title>Processing Requirements</title>
        <listitem><para><firstterm>Modifiers</firstterm> and <firstterm>Enrichers</firstterm> processing an
                    <firstterm>XLIFF Document</firstterm> that contains a <link linkend="skeleton"><code>&lt;skeleton&gt;</code></link> element <glossterm>must not</glossterm>
                change that element, its attributes, or its content. </para></listitem>
        <listitem><para><firstterm>Extractors</firstterm> creating an <firstterm>XLIFF Document</firstterm> with a <link linkend="skeleton"><code>&lt;skeleton&gt;</code></link> element
                    <glossterm>must</glossterm> leave the <link linkend="skeleton"><code>&lt;skeleton&gt;</code></link> element empty if and only if they specify
                the attribute <link linkend="href"><code>href</code></link>.</para></listitem>
    </itemizedlist>
</section>
    
    <section id="group">
    <title>group</title>
    <para>Provides a way to organize units into a structured hierarchy.</para>
    <para>Note that this is especially useful for mirroring a source format's hierarchical
        structure.</para>

    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- elements from other namespaces, <glossterm>optional</glossterm></member>
        <member>- Zero or one
            <link linkend="notes"><code>&lt;notes&gt;</code></link>
            element followed by</member>
        <member>- Zero, one or more
            <link linkend="unit"><code>&lt;unit&gt;</code></link>
            or <link linkend="group"><code>&lt;group&gt;</code></link>
            elements in any order.</member>





    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="id"><code>id</code></link>, <glossterm>required</glossterm></member>
        <member>- <link linkend="name"><code>name</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="canResegment"><code>canResegment</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="translate"><code>translate</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="srcdir"><code>srcDir</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="trgdir"><code>trgDir</code></link>, <glossterm>optional</glossterm></member>
		<member>- <link linkend="type"><code>type</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="xml_space"><code>xml:space</code></link>, <glossterm>optional</glossterm></member>

        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>The following <firstterm>XLIFF Module</firstterm> elements are explicitly allowed
                by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                <!--  Removing CTR module as per resolution to https://issues.oasis-open.org/browse/XLIFF-32
                <member>- Zero or one <olink targetdoc="../change-tracking/changeTrack.xml"
                        targetptr="changeTrack"><code>&lt;ctr:changeTrack></code></olink>
                    elements</member>
 -->

                <member>- Zero or one <link linkend="metadata"><code>&lt;mda:metadata&gt;</code></link>
                    elements</member>
                <member>- Zero or one <link linkend="slr_data"><code>&lt;slr:data&gt;</code></link> elements</member>
                <member>- Zero or one <link linkend="validation"><code>&lt;val:validation&gt;</code></link>
                    elements</member>
                <member>- Zero, one, or more <link linkend="itsm_provenanceRecords"><code>&lt;its:provenanceRecords&gt;</code></link>
                    elements</member>
             
            </simplelist>
        </listitem>
        <listitem>
            <para><firstterm>Module</firstterm> and Extension elements <glossterm>may</glossterm> be
                used in any order.</para>
        </listitem>
        <listitem>
            <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
                allowed by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                <member>- attributes from the namespace
                    <code>urn:oasis:names:tc:xliff:fs:2.0</code>, <glossterm>optional</glossterm>,
                    provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link>
                    are met.</member>
                <member>- attributes from the namespace
                        <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>,
                        <glossterm>optional</glossterm>, provided that the Constraints specified in
                    the <link linkend="size_restriction_module">Size and Length Restriction
                        Module</link> are met.</member>
                <member>- attributes from the namespace
                        <code>http://www.w3.org/2005/11/its</code>,
                        <glossterm>optional</glossterm>, provided that the Constraints specified in
                    the <link linkend="ITS-module">ITS
                        Module</link> are met.</member>
                <member>- attributes from the namespace
                        <code>urn:oasis:names:tc:xliff:itsm:2.1</code>,
                        <glossterm>optional</glossterm>, provided that the Constraints specified in
                    the <link linkend="ITS-module">ITS Module</link> are met.</member>
            </simplelist>
        </listitem>
    </itemizedlist>

</section>

    <section id="unit">
    <title>unit</title>
    <para>Static container for a dynamic structure of elements holding the extracted translatable source text, aligned with the <firstterm>Translated</firstterm> text.</para>

    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- elements from other namespaces, <glossterm>optional</glossterm></member>
        <member>- Zero or one
            <link linkend="notes"><code>&lt;notes&gt;</code></link>
            elements followed by</member>
        <member>- Zero or one
            <link linkend="originaldata"><code>&lt;originalData&gt;</code></link>
            element followed by</member>
        <member>- One or more
            <link linkend="segment"><code>&lt;segment&gt;</code></link>
            or <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>
            elements in any order.</member>






    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="id"><code>id</code></link>, <glossterm>required</glossterm></member>
        <member>- <link linkend="name"><code>name</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="canResegment"><code>canResegment</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="translate"><code>translate</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="srcdir"><code>srcDir</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="trgdir"><code>trgDir</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="xml_space"><code>xml:space</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="type"><code>type</code></link>, <glossterm>optional</glossterm></member>



        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>A <link linkend="unit"><code>&lt;unit&gt;</code></link> <glossterm>must</glossterm> contain at least one
                <link linkend="segment"><code>&lt;segment&gt;</code></link>
                element.
            </para>
        </listitem>
        <listitem>
            <para>The following <firstterm>XLIFF Module</firstterm> elements are explicitly allowed
                by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                <!--   Removing CTR module as per resolution to https://issues.oasis-open.org/browse/XLIFF-32 
                <member>- Zero or one <olink targetdoc="../change-tracking/changeTrack.xml" targetptr="changeTrack"><code>&lt;ctr:changeTrack></code></olink>
                    elements</member>
 -->
                <member>- Zero or one
                    <link linkend="matches"><code>&lt;mtc:matches&gt;</code></link>
                    elements</member>
                <member>- Zero or one
                    <link linkend="glossary"><code>&lt;gls:glossary&gt;</code></link>
                    elements</member>
                <member>- Zero or one <link linkend="metadata"><code>&lt;mda:metadata&gt;</code></link>
                    elements</member>
                <member>- Zero or one <link linkend="res_resourceData"><code>&lt;res:resourceData&gt;</code></link>
                    elements </member>
                <member>- Zero or one <link linkend="slr_data"><code>&lt;slr:data&gt;</code></link>
                    elements </member>
                <member>- Zero or one <link linkend="validation"><code>&lt;val:validation&gt;</code></link>
                    elements </member>
                <member>- Zero, one, or more <link linkend="itsm_locQualityIssues"><code>&lt;its:locQualityIssues&gt;</code></link>
                    elements</member>
                <member>- Zero, one, or more <link linkend="itsm_provenanceRecords"><code>&lt;its:provenanceRecords&gt;</code></link>
                    elements</member>
                
            </simplelist>
        </listitem>
        <listitem>
            <para><firstterm>Module</firstterm> and Extension elements <glossterm>may</glossterm> be
                used in any order.</para>
        </listitem>
        <listitem>
            <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
                allowed by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                <member>- attributes from the namespace
                    <code>urn:oasis:names:tc:xliff:fs:2.0</code>, <glossterm>optional</glossterm>,
                    provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link>
                    are met.</member>
                <member>- attributes from the namespace
                        <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>,
                        <glossterm>optional</glossterm>, provided that the Constraints specified in
                    the <link linkend="size_restriction_module">Size and Length Restriction
                        Module</link> are met.</member>
                <member>- attributes from the namespace
                        <code>http://www.w3.org/2005/11/its</code>,
                        <glossterm>optional</glossterm>, provided that the Constraints specified in
                    the <link linkend="ITS-module">ITS
                        Module</link> are met.</member>
                <member>- attributes from the namespace
                        <code>urn:oasis:names:tc:xliff:itsm:2.1</code>,
                        <glossterm>optional</glossterm>, provided that the Constraints specified in
                    the <link linkend="ITS-module">ITS Module</link> are met.</member>
            </simplelist>
        </listitem>
        <!--  The id scopes are defined on the id attribute
            <listitem><para>The value of the
            <olink targetdoc="../../attributes/id.xml" targetptr="id"><code>id</code></olink>
            attribute <glossterm>must</glossterm> be unique among all
            <link linkend="unit"><code>&lt;unit></code></link>
            children of the enclosing
            <olink targetdoc="file.xml" targetptr="file"><code>&lt;file></code></olink>
            element.</para>
        </listitem> -->
        <!--  This falg got killed in the August 20 2013 meeting <listitem>
            <para>For a <link linkend="unit"><code>&lt;unit></code></link> element to be ready for
                    <emphasis>Merging</emphasis> it is <glossterm>required</glossterm> that all its <olink
                    targetdoc="segment.xml" targetptr="segment"><code>&lt;segment></code></olink>
                children with <olink targetdoc="../../attributes/translate.xml"
                    targetptr="translate"><code>translate</code></olink> set to <code>yes</code>
                have the <olink targetdoc="../../attributes/approved.xml" targetptr="approved"
                        ><code>approved</code></olink> attribute set to <code>yes</code>. </para>
        </listitem> -->
        </itemizedlist>
</section>
    
    <section id="segment">
  <title>segment</title>

  <para>This element is a container to hold in its aligned pair of children elements the minimum portion of
    translatable source text and its <firstterm>Translation</firstterm> in the given <link linkend="segmentation">Segmentation</link>.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>- One <link linkend="source"><code>&lt;source&gt;</code></link> element followed
    by</member>

    <member>- Zero or one <link linkend="target"><code>&lt;target&gt;</code></link> element</member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <!--  This flag got killed in the August 20 2013 meeting <member>- <olink targetdoc="../../attributes/approved.xml"
      targetptr="approved"><code>approved</code></olink>, <glossterm>required</glossterm></member> -->
    
    <member>- <link linkend="id"><code>id</code></link>, <glossterm>optional</glossterm></member>
    
    <member>- <link linkend="canResegment"><code>canResegment</code></link>, <glossterm>optional</glossterm></member>
<!--  translate was killed on segment to simplify translatability state algorithm and to simplify re-segmentation PRs,
      the expressivity is the same due to inline markers
    <member>- <olink targetdoc="../../attributes/translate.xml"
    targetptr="translate"><code>translate</code></olink>, <glossterm>optional</glossterm></member> -->
    
    
    <member>- <link linkend="state"><code>state</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="substate"><code>subState</code></link>, <glossterm>optional</glossterm></member>

  </simplelist>

  <!--   The uniqueness scope is described on the id attribute 
  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>The value of the <glossterm>optional</glossterm> <olink
      targetdoc="../../attributes/id.xml"
      targetptr="id"><code>id</code></olink> attribute <glossterm>must</glossterm> be unique among
      all <link linkend="segment"><code>&lt;segment&gt;</code></link> and
      <olink targetdoc="ignorable.xml"
      targetptr="ignorable"><code>&lt;ignorable&gt;</code></olink> children of
      the enclosing <olink targetdoc="unit.xml"
      targetptr="unit"><code>&lt;unit&gt;</code></olink> element.</para>
    </listitem>
    
  </itemizedlist> -->
  
  <!--  This flag got killed in the August 20 2013 meeting 
  <itemizedlist>
    <title>Processing Requirements</title>
    
    <listitem>
      <para><firstterm>Mergers</firstterm> <glossterm>must not</glossterm> <firstterm>Merge</firstterm> back into the original format
        <link linkend="segment"><code>&lt;segment></code></link> elements with the <olink targetdoc="../../attributes/approved.xml" targetptr="approved"><code>approved</code></olink> flag set to <code>no</code>.</para>
    </listitem>
    
  </itemizedlist> -->
</section>
    
    <section id="ignorable">
    <title>ignorable</title>
    <para>Part of the extracted content that is not included in a segment (and therefore not
        translatable). For example tools can use <code>&lt;ignorable&gt;</code> to store the white
        space and/or codes that are between two segments.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One <link linkend="source"><code>&lt;source&gt;</code></link> element 
            followed by</member>
        <member>- Zero or one <link linkend="target"><code>&lt;target&gt;</code></link> element</member>
    </simplelist>
    
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="id"><code>id</code></link>, <glossterm>optional</glossterm></member>
    </simplelist>
    
    <!--  The uniqueness scope is described on the id attribute <itemizedlist>
        <title>Constraints</title>
        <listitem><para>The value of the <glossterm>optional</glossterm>
            <olink targetdoc="../../attributes/id.xml" targetptr="id"><code>id</code></olink> 
            attribute <glossterm>must</glossterm> be unique among all 
            <olink targetdoc="segment.xml" targetptr="segment"><code>&lt;segment></code></olink> and
            <link linkend="ignorable"><code>&lt;ignorable></code></link>
            children of the enclosing 
            <olink targetdoc="unit.xml" targetptr="unit"><code>&lt;unit></code></olink> 
            element.</para></listitem>
    </itemizedlist>  -->
    
</section>
    
    <section id="notes">
    <title>notes</title>
    <para>Collection of comments.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="note"><code>&lt;note&gt;</code></link>
            elements</member>
    </simplelist>

</section>
    
    <section id="note">
    <title>note</title>
    <para>This is an XLIFF specific way how to present end user readable comments and annotations. A
        note can contain information about <link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, or <link linkend="file"><code>&lt;file&gt;</code></link> elements.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Text</member>
    </simplelist>
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="id"><code>id</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="appliesto"><code>appliesTo</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="category"><code>category</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="priority"><code>priority</code></link>, <glossterm>optional</glossterm></member>


        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
                allowed by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                <member>- <link linkend="fs"><code>fs:fs</code></link>, <glossterm>optional</glossterm></member>
                <member>- <link linkend="subFs"><code>fs:subFs</code></link>, <glossterm>optional</glossterm></member>
            </simplelist>
        </listitem>
    </itemizedlist>
</section>
    
    <section id="originaldata">
  <title>originalData</title>

  <para>Unit-level collection of original data for the inline codes.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>- One or more <link linkend="data"><code>&lt;data&gt;</code></link> elements</member>
  </simplelist>


</section>
    
    <section id="data">
  <title>data</title>

  <para>Storage for the original data of an inline code.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>- Non-translatable text</member>

    <member>- Zero, one or more <link linkend="cp"><code>&lt;cp&gt;</code></link> elements.</member>
  </simplelist>

  <para>Non-translatable text and <link linkend="cp"><code>&lt;cp&gt;</code></link> elements <glossterm>may</glossterm> appear in any
    order.</para>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="id"><code>id</code></link>, <glossterm>required</glossterm></member>

    <member>- <link linkend="dir"><code>dir</code></link>, <glossterm>optional</glossterm></member>
    
    <member>- <link linkend="xml_space"><code>xml:space</code></link>, <glossterm>optional</glossterm>, the value is restricted
      to <code>preserve</code> on this element</member>
	
	

  </simplelist>

  <!--  now, id MUST be unique within all ids of the enclosing unit, the Constraint is on the attribute 
  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>The value of the <olink targetdoc="../../attributes/id.xml"
      targetptr="id"><code>id</code></olink> attribute <glossterm>must</glossterm> be unique among
      all <link linkend="data"><code>&lt;data&gt;</code></link> children of
      the enclosing <olink targetdoc="originaldata.xml"
      targetptr="originaldata"><code>&lt;originalData&gt;</code></olink>
      element.</para>
    </listitem>
  </itemizedlist>
   -->
</section>
    
    <section id="source">
    <title>source</title>
    <para>Portion of text to be translated.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Text</member>
        <member>- Zero, one or more <link linkend="cp"><code>&lt;cp&gt;</code></link> elements</member>
        <member>- Zero, one or more <link linkend="ph"><code>&lt;ph&gt;</code></link> elements</member>
        <member>- Zero, one or more <link linkend="pc"><code>&lt;pc&gt;</code></link> elements</member>
        <member>- Zero, one or more <link linkend="sc"><code>&lt;sc&gt;</code></link> elements</member>
        <member>- Zero, one or more <link linkend="ec"><code>&lt;ec&gt;</code></link> elements</member>
        <member>- Zero, one or more <link linkend="mrk"><code>&lt;mrk&gt;</code></link> elements</member>
        <member>- Zero, one or more <link linkend="sm"><code>&lt;sm&gt;</code></link> elements</member>
        <member>- Zero, one or more <link linkend="em"><code>&lt;em&gt;</code></link> elements</member>
    </simplelist>
    <para>Text and inline elements may appear in any order.</para>
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="xml_lang"><code>xml:lang</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="xml_space"><code>xml:space</code></link>, <glossterm>optional</glossterm></member>    
        <!--  killed to simplify re-segmentation PRs and to make use of BiDi control characters less likely
         <member>- <olink targetdoc="../../attributes/dir.xml" targetptr="dir"><code>dir</code></olink>, <glossterm>optional</glossterm></member> -->
    </simplelist>
    
        <itemizedlist>
        
        <title>Constraints</title>
        <listitem>
            <para>When a <link linkend="source"><code>&lt;source&gt;</code></link> element is a child of 
                <link linkend="segment"><code>&lt;segment&gt;</code></link> or 
                <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>, 
              the explicit or inherited value of the <glossterm>optional</glossterm>
                <link linkend="xml_lang"><code>xml:lang</code></link> 
                attribute <glossterm>must</glossterm> be equal to the value of the
                <link linkend="srcLang"><code>srcLang</code></link> attribute 
                of the enclosing 
                <link linkend="xliff"><code>&lt;xliff&gt;</code></link> 
                element.</para>
        </listitem>
       
    </itemizedlist>
</section>
    
    <section id="target">
  <title>target</title>
  <para>The translation of the sibling <link linkend="source"><code>&lt;source&gt;</code></link> element.</para>
  <para><emphasis>Contains:</emphasis></para>
  <simplelist type="vert">
    <member>- Text</member>
    <member>- Zero, one or more <link linkend="cp"><code>&lt;cp&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="ph"><code>&lt;ph&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="pc"><code>&lt;pc&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="sc"><code>&lt;sc&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="ec"><code>&lt;ec&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="mrk"><code>&lt;mrk&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="sm"><code>&lt;sm&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="em"><code>&lt;em&gt;</code></link> elements</member>
  </simplelist>
  <para>Text and inline elements may appear in any order.</para>
  <para><emphasis>Attributes:</emphasis></para>
  <simplelist type="vert">
    <member>- <link linkend="xml_lang"><code>xml:lang</code></link>, <glossterm>optional</glossterm></member>
    <member>- <link linkend="xml_space"><code>xml:space</code></link>, <glossterm>optional</glossterm></member>    
    <!--  killed to simplify re-segmentation PRs and to make use of BiDi control characters less likely
    <member>- <olink targetdoc="../../attributes/dir.xml" targetptr="dir"><code>dir</code></olink>, <glossterm>optional</glossterm></member> -->
    <member>- <link linkend="order"><code>order</code></link>, <glossterm>optional</glossterm></member>
  </simplelist>  
  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>When a <link linkend="target"><code>&lt;target&gt;</code></link> element is a child of 
        <link linkend="segment"><code>&lt;segment&gt;</code></link> or 
        <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>, 
        the explicit or inherited value of the <glossterm>optional</glossterm>
        <link linkend="xml_lang"><code>xml:lang</code></link> 
        <glossterm>must</glossterm> be equal to the value of the 
        <link linkend="trgLang"><code>trgLang</code></link> 
        attribute of the enclosing 
        <link linkend="xliff"><code>&lt;xliff&gt;</code></link> 
        element.</para>
    </listitem>
    <!--  removed per csprd03 235 xml:lang-related text and Translation Candidate module
    <listitem>
      <para>When a <olink targetdoc="target.xml" targetptr="target"><code>&lt;target&gt;</code></olink> child is
        added to a <olink targetdoc="segment.xml" targetptr="segment"><code>&lt;segment&gt;</code></olink> element,
        the value of its <olink targetdoc="../../attributes/xml_space.xml" targetptr="xml_space"><code>xml:space</code></olink> attribute
        <glossterm>must</glossterm> be set to <code>preserve</code> if the <olink targetdoc="../../attributes/xml_space.xml" targetptr="xml_space"><code>xml:space</code></olink>
        attribute of the sibling <olink targetdoc="source.xml" targetptr="source"><code>&lt;source&gt;</code></olink> element is
        set to <code>preserve</code>.</para>
    </listitem>
     -->
  </itemizedlist>
  
</section>
    
</section>
    <section id="inlineelements">
  <title>Inline Elements</title>

    <para>The <firstterm>XLIFF Core</firstterm> inline elements at the <link linkend="source"><code>&lt;source&gt;</code></link> or <link linkend="target"><code>&lt;target&gt;</code></link> level are: <link linkend="cp"><code>&lt;cp&gt;</code></link>, <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="sm"><code>&lt;sm&gt;</code></link> and <link linkend="em"><code>&lt;em&gt;</code></link>.</para>

    <para>The elements at the <link linkend="unit"><code>&lt;unit&gt;</code></link> level directly related
    to inline elements are: <link linkend="originaldata"><code>&lt;originalData&gt;</code></link> and
    <link linkend="data"><code>&lt;data&gt;</code></link>.</para>

    <section id="cp">
  <title>cp</title>

  <para>Represents a Unicode character that is invalid in XML.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>This element is always empty.</member>
  </simplelist>

  <para><emphasis>Parents:</emphasis></para>

  <simplelist type="vert">
    <member><link linkend="data"><code>&lt;data&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
    <link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link> and <link linkend="pc"><code>&lt;pc&gt;</code></link></member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="hex"><code>hex</code></link>, <glossterm>required</glossterm></member>


  </simplelist>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Ctrl+C=&lt;cp hex="0003"/&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <para>The example above shows a character U+0003 (Control C) as it has to be represented in
    XLIFF.</para>

  <itemizedlist>
    <title>Processing Requirements</title>

    <listitem>
      <para><firstterm>Writers</firstterm> <glossterm>must</glossterm> encode all invalid XML characters of the content
      using <link linkend="cp"><code>&lt;cp&gt;</code></link>.</para>
    </listitem>

    <listitem>
      <para><firstterm>Writers</firstterm> <glossterm>must not</glossterm> encode valid XML characters of the content using
      <link linkend="cp"><code>&lt;cp&gt;</code></link>.</para>
    </listitem>
  </itemizedlist>
</section>

    <section id="ph">
  <title>ph</title>

  <para>Represents a standalone code of the original format.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>This element is always empty.</member>
  </simplelist>

  <para><emphasis>Parents:</emphasis></para>

  <simplelist type="vert">
    <member><link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link> and
    <link linkend="mrk"><code>&lt;mrk&gt;</code></link></member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="cancopy"><code>canCopy</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="cancopy"><code>canDelete</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="canreorder"><code>canReorder</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="copyof"><code>copyOf</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="disp"><code>disp</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="equiv"><code>equiv</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="id"><code>id</code></link>, <glossterm>required</glossterm>.</member>

    <member>- <link linkend="dataref"><code>dataRef</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="subflows"><code>subFlows</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="subtype"><code>subType</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="type"><code>type</code></link>, <glossterm>optional</glossterm></member>
    <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>


  </simplelist>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;%d&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;br/&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Number of entries: &lt;ph id="1" dataRef="d1" /&gt;&lt;ph id="2"
        dataRef="d2"/&gt;(These entries are only the ones matching the
        current filter settings)&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
        allowed by the wildcard <code>other</code>:</para>
      <simplelist type="vert">
        <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:fs:2.0</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link> are
          met.</member>
        <member>- attributes from the namespace
          <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="size_restriction_module">Size and Length Restriction Module</link> are
          met.</member>
        <!--  may need to allow ITSM at a later stage, but not needed by now 7th Aug, 2015.   ITS storage size would use the slr provsions 18th Jan 2017 -->
      </simplelist>
    </listitem>
    <listitem><para>No other attributes <glossterm>must</glossterm> be used.</para></listitem>

  </itemizedlist>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para><firstterm>Extractors</firstterm>
        <glossterm>must not</glossterm> use the <link linkend="ph"><code>&lt;ph&gt;</code></link> element to represent spanning codes.</para>
      <para><emphasis>Rationale:</emphasis> Using a standalone placeholder code for a spanning code
        does not allow for controlling the span (for instance tag order and data integrity) when
          <firstterm>Modifying</firstterm> inline content and is in <emphasis>direct
            contradiction</emphasis> to the business logic described in <link linkend="representingcodes">Representation of the
              codes</link> and normative statements included in <link linkend="spanningcodeusage">Usage of &lt;pc&gt; and &lt;sc&gt;/&lt;ec&gt;</link>
      </para>
    </listitem>
  </itemizedlist>
  <note><para>It is possible although not advised to use <link linkend="ph">&lt;ph&gt;</link> to mask non
      translatable inline content. The preferred way of protecting portions of inline content from
      translation is the <firstterm>Core</firstterm>
      <link linkend="translateAnnotation">Translate Annotation</link>. See also discussion in
      the <link linkend="Translate_Inline">ITS Module section on representing translatability
        inline.</link>. </para></note>
</section>

    <section id="pc">
  <title>pc</title>

  <para>Represents a well-formed spanning original code.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>- Text</member>

    <member>- Zero, one or more <link linkend="cp"><code>&lt;cp&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="ph"><code>&lt;ph&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="pc"><code>&lt;pc&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="sc"><code>&lt;sc&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="ec"><code>&lt;ec&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="mrk"><code>&lt;mrk&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="sm"><code>&lt;sm&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="em"><code>&lt;em&gt;</code></link> elements</member>
  </simplelist>

  <para>Text and inline elements may appear in any order.</para>

  <para><emphasis>Parents:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="source"><code>&lt;source&gt;</code></link></member>
    <member>- <link linkend="target"><code>&lt;target&gt;</code></link></member>
    <member>- <link linkend="pc"><code>&lt;pc&gt;</code></link></member>
    <member>-<link linkend="mrk"><code>&lt;mrk&gt;</code></link></member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="cancopy"><code>canCopy</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="cancopy"><code>canDelete</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="canoverlap"><code>canOverlap</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="canreorder"><code>canReorder</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="copyof"><code>copyOf</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="dispend"><code>dispEnd</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="dispstart"><code>dispStart</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="equivend"><code>equivEnd</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="equivstart"><code>equivStart</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="id"><code>id</code></link>, <glossterm>required</glossterm></member>

    <member>- <link linkend="datarefend"><code>dataRefEnd</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="datarefstart"><code>dataRefStart</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="subflowsend"><code>subFlowsEnd</code></link>,
    <glossterm>optional</glossterm></member>

    <member>- <link linkend="subflowsstart"><code>subFlowsStart</code></link>,
    <glossterm>optional</glossterm></member>

    <member>- <link linkend="subtype"><code>subType</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="type"><code>type</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="dir"><code>dir</code></link>, <glossterm>optional</glossterm></member>
    <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>




  </simplelist>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="1"&gt;&amp;lt;B&amp;gt;&lt;/data&gt;
    &lt;data id="2"&gt;&amp;lt;/B&amp;gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;&lt;pc id="1" dataRefStart="1" dataRefEnd="2"&gt;
      Important&lt;/pc&gt; text&lt;/source&gt;&lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
        allowed by the wildcard <code>other</code>:</para>
      <simplelist type="vert">
        <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:fs:2.0</code>,
            <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link> are
          met.</member>
        <member>- attributes from the namespace
            <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>,
            <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="size_restriction_module">Size and Length Restriction Module</link> are
          met.</member>
        <!--  may need to allow ITSM at a later stage, but not needed by now 7th Aug, 2015.  -->
      </simplelist>
    </listitem>
    <listitem><para>No other attributes <glossterm>must</glossterm> be used.</para></listitem>

  </itemizedlist>

  <itemizedlist>
    <title>Processing Requirements</title>

    <listitem>
      <para><firstterm>Extractors</firstterm>
        <glossterm>must not</glossterm> use the <link linkend="pc"><code>&lt;pc&gt;</code></link> element to represent standalone codes.</para>
      <para>Rationale: Using a spanning code for a standalone code can easily result in having
        text inside a span where the original format does not allow it.</para>
          </listitem>
  </itemizedlist>
</section>

    <section id="sc">
  <title>sc</title>

  <para>Start of a spanning original code.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>This element is always empty.</member>
  </simplelist>

  <para><emphasis>Parents:</emphasis></para>

  <simplelist type="vert">
    <member><link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link> and
    <link linkend="mrk"><code>&lt;mrk&gt;</code></link></member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="cancopy"><code>canCopy</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="cancopy"><code>canDelete</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="canoverlap"><code>canOverlap</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="canreorder"><code>canReorder</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="copyof"><code>copyOf</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="dataref"><code>dataRef</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="dir"><code>dir</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="disp"><code>disp</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="equiv"><code>equiv</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="id"><code>id</code></link>, <glossterm>required</glossterm></member>

    <member>- <link linkend="isolated"><code>isolated</code></link>, <glossterm>optional</glossterm></member>


    <member>- <link linkend="subflows"><code>subFlows</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="subtype"><code>subType</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="type"><code>type</code></link>, <glossterm>optional</glossterm></member>



    <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>




  </simplelist>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;sc id="1" type="fmt" subType="xlf:b"/&gt;
        First sentence. &lt;/source&gt;
  &lt;/segment&gt;
  &lt;segment&gt;
    &lt;source&gt;Second sentence.&lt;ec startRef="1" type="fmt"
        subType="xlf:b"/&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
        allowed by the wildcard <code>other</code>:</para>

        <simplelist type="vert">
          <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:fs:2.0</code>,
            <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link> are
            met.</member>
          <member>- attributes from the namespace
            <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>,
            <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="size_restriction_module">Size and Length Restriction Module</link> are
            met.</member>
          <!--  may need to allow ITSM at a later stage, but not needed by now 7th Aug, 2015.  -->
        </simplelist>

    </listitem>
    <listitem><para>No other attributes <glossterm>must</glossterm> be used.</para></listitem>

    <listitem>
      <para>The values of the attributes <link linkend="cancopy"><code>canCopy</code></link>, <link linkend="candelete"><code>canDelete</code></link>, <link linkend="canreorder"><code>canReorder</code></link> and <link linkend="canoverlap"><code>canOverlap</code></link>
        <glossterm>must</glossterm> be the same as the values the ones in the <link linkend="ec"><code>&lt;ec&gt;</code></link> element
        corresponding to this start code.</para>
    </listitem>

    <listitem>
      <para>The attribute <link linkend="isolated"><code>isolated</code></link> <glossterm>must</glossterm> be set to
      <code>yes</code> if and only if the <link linkend="ec"><code>&lt;ec&gt;</code></link> element corresponding to
      this start marker is not in the same <link linkend="unit"><code>&lt;unit&gt;</code></link>, and set to
      <code>no</code> otherwise.</para>
    </listitem>
    </itemizedlist>
    <itemizedlist>
      <title>Processing Requirements</title>

    <listitem>
      <para><firstterm>Extractors</firstterm>
        <glossterm>must not</glossterm> use the <link linkend="sc"><code>&lt;sc&gt;</code></link> / <link linkend="ec"><code>&lt;ec&gt;</code></link> pair to represent standalone codes.</para>
        <para>Rationale: Using a spanning code for a standalone code can easily result in having
        text inside a span where the original format does not allow it.</para>
    </listitem>
  </itemizedlist>
</section>

    <section id="ec">
  <title>ec</title>

  <para>End of a spanning original code.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>This element is always empty.</member>
  </simplelist>

  <para><emphasis>Parents:</emphasis></para>

  <simplelist type="vert">
    <member><link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link> and
    <link linkend="mrk"><code>&lt;mrk&gt;</code></link></member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="cancopy"><code>canCopy</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="cancopy"><code>canDelete</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="canoverlap"><code>canOverlap</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="canreorder"><code>canReorder</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="copyof"><code>copyOf</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="dataref"><code>dataRef</code></link>, <glossterm>optional</glossterm></member>
    <member><!--  pending discussion with Fredrik  -->- <link linkend="dir"><code>dir</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="disp"><code>disp</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="equiv"><code>equiv</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="id"><code>id</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="isolated"><code>isolated</code></link>, <glossterm>optional</glossterm></member>


    <member>- <link linkend="startref"><code>startRef</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="subflows"><code>subFlows</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="subtype"><code>subType</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="type"><code>type</code></link>, <glossterm>optional</glossterm></member>

    <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>


    </simplelist>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;\b &lt;/data&gt;
    &lt;data id="d2"&gt;\i &lt;/data&gt;
    &lt;data id="d3"&gt;\b0 &lt;/data&gt;
    &lt;data id="d4"&gt;\i0 &lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Text in &lt;sc id="1" dataRef="d1"/&gt;bold &lt;sc id="2"
        dataRef="d2"/&gt; and&lt;ec startRef="1" dataRef="d3"/&gt;
         italics&lt;ec startRef="2" dataRef="d4"/&gt;. &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
        allowed by the wildcard <code>other</code>:</para>
      <simplelist type="vert">
        <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:fs:2.0</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link> are
          met.</member>
        <member>- attributes from the namespace
          <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="size_restriction_module">Size and Length Restriction Module</link> are
          met.</member>
        <!--  may need to allow ITSM at a later stage, but not needed by now 7th Aug, 2015.  -->
      </simplelist>
    </listitem>
    <listitem><para>No other attributes <glossterm>must</glossterm> be used.</para></listitem>



    <listitem>
      <para>The values of the attributes <link linkend="cancopy"><code>canCopy</code></link>, <link linkend="candelete"><code>canDelete</code></link> and <link linkend="canoverlap"><code>canOverlap</code></link> <glossterm>must</glossterm> be the same
        as the values the ones in the <link linkend="sc"><code>&lt;sc&gt;</code></link> element corresponding to
        this end code.</para>
    </listitem>

    <listitem>
      <para>The value of the attribute <link linkend="canreorder"><code>canReorder</code></link> <glossterm>must</glossterm> be <code>no</code>
        if the value of <link linkend="canreorder"><code>canReorder</code></link> is <code>firstNo</code> in the <link linkend="sc"><code>&lt;sc&gt;</code></link> element corresponding to
        this end code.</para>
    </listitem>

    <listitem>
      <para>The attribute <link linkend="isolated"><code>isolated</code></link>
        <glossterm>must</glossterm> be set to <code>yes</code> if and only if the <link linkend="sc"><code>&lt;sc&gt;</code></link> element
        corresponding to this end code is not in the same <link linkend="unit"><code>&lt;unit&gt;</code></link> and set to <code>no</code> otherwise.</para>
    </listitem>

    <listitem id="ecIFF">
      <para>If and only if the attribute <link linkend="isolated"><code>isolated</code></link> is set to <code>yes</code>, the
        attribute <link linkend="id"><code>id</code></link>
        <glossterm>must</glossterm> be used instead of the attribute <link linkend="startref"><code>startRef</code></link> that <glossterm>must</glossterm> be used otherwise.</para>
    </listitem>
    <listitem>
      <para><!--  pending discussion with Fredrik  --> If and only if the attribute <link linkend="isolated"><code>isolated</code></link> is set to <code>yes</code>, the attribute <link linkend="dir"><code>dir</code></link>
        <glossterm>may</glossterm> be used, otherwise the attribute <link linkend="dir"><code>dir</code></link>
        <glossterm>must not</glossterm> be used on the <link linkend="ec"><code>&lt;ec&gt;</code></link> element. </para>
    </listitem>
  </itemizedlist>
    <itemizedlist>
      <title>Processing Requirements</title>

    <listitem>
      <para><firstterm>Extractors</firstterm>
        <glossterm>must not</glossterm> use the <link linkend="sc"><code>&lt;sc&gt;</code></link> / <link linkend="ec"><code>&lt;ec&gt;</code></link> pair to represent standalone codes.</para>
      <para>Rationale: Using a spanning code for a standalone code can easily result in having
        text inside a span where the original format does not allow it.</para>
    </listitem>
  </itemizedlist>
</section>

    <section id="mrk">
  <title>mrk</title>

  <para>Represents an annotation pertaining to the marked span.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>- Text</member>

    <member>- Zero, one or more <link linkend="cp"><code>&lt;cp&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="ph"><code>&lt;ph&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="pc"><code>&lt;pc&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="sc"><code>&lt;sc&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="ec"><code>&lt;ec&gt;</code></link> elements</member>

    <member>- Zero, one or more <link linkend="mrk"><code>&lt;mrk&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="sm"><code>&lt;sm&gt;</code></link> elements</member>
    <member>- Zero, one or more <link linkend="em"><code>&lt;em&gt;</code></link> elements</member>
  </simplelist>

  <para>Text and inline elements may appear in any order.</para>

  <para><emphasis>Parents:</emphasis></para>

  <simplelist type="vert">
    <member><link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link> and
    <link linkend="mrk"><code>&lt;mrk&gt;</code></link></member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="id"><code>id</code></link>, <glossterm>required</glossterm></member>

    <member>- <link linkend="translate"><code>translate</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="type"><code>type</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="ref"><code>ref</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="value"><code>value</code></link>, <glossterm>optional</glossterm></member>
    
    
    <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>

  </simplelist>
  
  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>The <link linkend="xml_namespace">[XML
          namespace]</link>
        <glossterm>must not</glossterm> be used at this extension point.</para>
    </listitem>
    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly
        allowed by the wildcard <code>other</code>:</para>
      <simplelist type="vert">
        <member>- attributes from the namespace
          <code>urn:oasis:names:tc:xliff:fs:2.0</code>, <glossterm>optional</glossterm>,
          provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link>
          are met.</member>
        <member>- attributes from the namespace
          <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in
          the <link linkend="size_restriction_module">Size and Length Restriction
            Module</link> are met.</member>
        <member>- attributes from the namespace
          <code>http://www.w3.org/2005/11/its</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in
          the <link linkend="ITS-module">ITS
            Module</link> are met.</member>
        <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:itsm:2.1</code>,
            <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="ITS-module">ITS
            Module</link> are met.</member>
      </simplelist>
    </listitem>
    
    
  </itemizedlist>

  <para>See the <link linkend="annotations">Annotations section</link> for more details and
  examples on how to use the <link linkend="mrk"><code>&lt;mrk&gt;</code></link> element.</para>
</section>
    <section id="sm">
  <title>sm</title>

  <para>Start marker of an annotation where the spanning marker cannot be used for wellformedness
    reasons.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>This element is always empty.</member>
  </simplelist>

  <para><emphasis>Parents:</emphasis></para>

  <simplelist type="vert">
    <member><link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link> and
    <link linkend="mrk"><code>&lt;mrk&gt;</code></link></member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="id"><code>id</code></link>, <glossterm>required</glossterm></member>

    <member>- <link linkend="translate"><code>translate</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="type"><code>type</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="ref"><code>ref</code></link>, <glossterm>optional</glossterm></member>

    <member>- <link linkend="value"><code>value</code></link>, <glossterm>optional</glossterm></member>
    
    
    <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>

  </simplelist>
  
  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>The <link linkend="xml_namespace">[XML
          namespace]</link>
        <glossterm>must not</glossterm> be used at this extension point.</para>
    </listitem>
    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly allowed by
        the wildcard <code>other</code>:</para>
      <simplelist type="vert">
        <member>- attributes from the namespace
          <code>urn:oasis:names:tc:xliff:fs:2.0</code>, <glossterm>optional</glossterm>,
          provided that the Constraints specified in the <link linkend="fs-mod">Format Style Module</link>
          are met.</member>
        <member>- attributes from the namespace
          <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in
          the <link linkend="size_restriction_module">Size and Length Restriction
            Module</link> are met.</member>
        <member>- attributes from the namespace
          <code>http://www.w3.org/2005/11/its</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in
          the <link linkend="ITS-module">ITS
            Module</link> are met.</member>
        <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:itsm:2.1</code>,
            <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="ITS-module">ITS
            Module</link> are met.</member>
      </simplelist>
    </listitem>
    
    
  </itemizedlist>

  <para>See the <link linkend="annotations">Annotations section</link> for more details and
  examples on how to use the <link linkend="sm"><code>&lt;sm&gt;</code></link> element.</para>
</section>
    <section id="em">
  <title>em</title>

  <para>End marker of an annotation where the spanning marker cannot be used for wellformedness
    reasons.</para>

  <para><emphasis>Contains:</emphasis></para>

  <simplelist type="vert">
    <member>This element is always empty.</member>
  </simplelist>

  <para><emphasis>Parents:</emphasis></para>

  <simplelist type="vert">
    <member><link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link> and
    <link linkend="mrk"><code>&lt;mrk&gt;</code></link></member>
  </simplelist>

  <para><emphasis>Attributes:</emphasis></para>

  <simplelist type="vert">
    <member>- <link linkend="startref"><code>startRef</code></link>, <glossterm>required</glossterm></member>
    <!--  Since markers do not have a provision for appeareing isolated, it does not seem to make sense to allow fs formatting on the end marker..  
    <member>- <olink targetdoc="../../attributes/fs.xml" targetptr="fs"><code>fs:fs</code></olink>,
      optional</member>
    <member>- <olink targetdoc="../../attributes/subFs.xml" targetptr="subFs"
        ><code>fs:subFs</code></olink>, optional</member> 
     -->
  </simplelist>

  <para>See the <link linkend="annotations">Annotations section</link> for more details and
  examples on how to use the <link linkend="em"><code>&lt;em&gt;</code></link> element.</para>
</section>
 </section>
</section>

    <section>
  <title>Attributes</title>

  <para>This section lists all the various attributes used in XLIFF core elements.</para>

  <section>
    <title>XLIFF Attributes</title>

    <para>The attributes defined in XLIFF 2.0 are: <link linkend="appliesto"><code>appliesTo</code></link>,
      <!--  This falg got killed in the August 20 2013 meeting <olink targetdoc="approved.xml"
        targetptr="approved"><code>approved</code></olink>, -->
      <link linkend="cancopy"><code>canCopy</code></link>,
      <link linkend="candelete"><code>canDelete</code></link>,
      <link linkend="canoverlap"><code>canOverlap</code></link>,
      <link linkend="canreorder"><code>canReorder</code></link>,
      <link linkend="canResegment"><code>canResegment</code></link>,
      <link linkend="category"><code>category</code></link>,
      <link linkend="copyof"><code>copyOf</code></link>,

      <link linkend="dataref"><code>dataRef</code></link>,
      <link linkend="datarefend"><code>dataRefEnd</code></link>,
      <link linkend="datarefstart"><code>dataRefStart</code></link>,
      <link linkend="dir"><code>dir</code></link>,
      <link linkend="disp"><code>disp</code></link>,
      <link linkend="dispend"><code>dispEnd</code></link>,
      <link linkend="dispstart"><code>dispStart</code></link>,
      <link linkend="equiv"><code>equiv</code></link>,
      <link linkend="equivend"><code>equivEnd</code></link>,
      <link linkend="equivstart"><code>equivStart</code></link>,
      <link linkend="hex"><code>hex</code></link>,
      <link linkend="href"><code>href</code></link>,
      <link linkend="id"><code>id</code></link>,
      <link linkend="isolated"><code>isolated</code></link>,
      <link linkend="name"><code>name</code></link>,
      <link linkend="order"><code>order</code></link>,
      <link linkend="original"><code>original</code></link>,
      <link linkend="priority"><code>priority</code></link>,
      <link linkend="ref"><code>ref</code></link>,


      <link linkend="srcdir"><code>srcDir</code></link>,
      <link linkend="srcLang"><code>srcLang</code></link>,

      <link linkend="startref"><code>startRef</code></link>,

      <link linkend="state"><code>state</code></link>,

      <link linkend="subflows"><code>subFlows</code></link>,
      <link linkend="subflowsend"><code>subFlowsEnd</code></link>,
      <link linkend="subflowsstart"><code>subFlowsStart</code></link>,

      <link linkend="substate"><code>subState</code></link>,

      <link linkend="subtype"><code>subType</code></link>,


      <link linkend="trgLang"><code>trgLang</code></link>,
      <link linkend="translate"><code>translate</code></link>,
      <link linkend="trgdir"><code>trgDir</code></link>,
      <link linkend="type"><code>type</code></link>,
      <link linkend="value"><code>value</code></link>
      and <link linkend="version"><code>version</code></link>.</para>

    <!--  This falg got killed in the August 20 2013 meeting <xi:include href="approved.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> -->

    <section id="appliesto">
    <title>appliesTo</title>
    
    <para>Comment target - indicates the element to what the content of the note applies.</para>
    
    <para><emphasis>Value description:</emphasis> <code>source</code> or <code>target</code>.</para>
    
    <para><emphasis>Default value:</emphasis> undefined.</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="note"><code>&lt;note&gt;</code></link>.</para>
    
</section>

    <section id="cancopy">
    <title>canCopy</title>
    
    <para>Replication editing hint - indicates whether or not the inline code can be copied.</para>
    
    <para><emphasis>Value description:</emphasis>
        <code>yes</code> if the code can be copied, <code>no</code> if the code is not intended to
        be copied.</para>
    
    <para><emphasis>Default value:</emphasis> <code>yes</code>.</para>
    
    <para><emphasis>Used in:</emphasis>
     <link linkend="pc"><code>&lt;pc&gt;</code></link>,
     <link linkend="sc"><code>&lt;sc&gt;</code></link>,
     <link linkend="ec"><code>&lt;ec&gt;</code></link>,
     <link linkend="ph"><code>&lt;ph&gt;</code></link>.</para>
    
</section>

    <section id="candelete">
    <title>canDelete</title>
    
    <para>Deletion editing hint - indicates whether or not the inline code can be deleted.</para>
    
    <para><emphasis>Value description:</emphasis>
        <code>yes</code> if the code can be deleted, <code>no</code> if the code is not allowed to
        be deleted.</para>
    
    <para><emphasis>Default value:</emphasis> <code>yes</code>.</para>
    
    <para><emphasis>Used in:</emphasis>
     <link linkend="pc"><code>&lt;pc&gt;</code></link>,
     <link linkend="sc"><code>&lt;sc&gt;</code></link>,
     <link linkend="ec"><code>&lt;ec&gt;</code></link>,
     <link linkend="ph"><code>&lt;ph&gt;</code></link>.</para>
    
</section>

    <section id="canoverlap">
  <title>canOverlap</title>

  <para>Code can overlap - indicates whether or not the spanning code where this attribute is used
    can enclose partial spanning codes (i.e. a start code without its corresponding end code, or an
    end code without its corresponding start code).</para>

  <para><emphasis>Value description:</emphasis> <code>yes</code> or
  <code>no</code>.</para>

  <para><emphasis>Default value:</emphasis> default values for this
  attribute depend on the element in which it is used:</para>

  <itemizedlist>
    <listitem>
      <para>When used in <link linkend="pc"><code>&lt;pc&gt;</code></link>: <code>no</code>.</para>
    </listitem>

    <listitem>
      <para>When used in <link linkend="sc"><code>&lt;sc&gt;</code></link> or <link linkend="ec"><code>&lt;ec&gt;</code></link>: <code>yes</code>.</para>
    </listitem>
  </itemizedlist>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link> and <link linkend="ec"><code>&lt;ec&gt;</code></link></para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="1"&gt;\i1 &lt;/data&gt;
    &lt;data id="2"&gt;\i0 &lt;/data&gt;
    &lt;data id="3"&gt;{\b &lt;/data&gt;
    &lt;data id="4"&gt;}&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;pc id="1" dataRefStart="3" dataRefEnd="4" canOverlap="no"&gt;
        Bold, &lt;sc id="2" dataRef="1" canOverlap="yes"/&gt;both&lt;/pc&gt;,
         italics&lt;ec startRef="2" dataRef="2"/&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
</section>

    <section id="canreorder">
  <title>canReorder</title>

  <para>Re-ordering editing hint - indicates whether or not the inline code can be re-ordered. See
      <link linkend="editinghints">Editing Hints section</link>
    for more details.</para>

  <para><emphasis>Value description:</emphasis>
    <code>yes</code> in case the code can be re-ordered, <code>firstNo</code> when the code is the
    first element of a sequence that cannot be re-ordered, <code>no</code> when it is another
    element of such a sequence.</para>

  <para><emphasis>Default value:</emphasis> <code>yes</code>.</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>, <link linkend="ph"><code>&lt;ph&gt;</code></link>.</para>
  
  <para>For the normative Usage Description see Constraints and Processing Requirements in the <link linkend="editinghints">Editing Hints</link> section.</para>
</section>

    <section id="canResegment">
    <title>canResegment</title>
    
    <para>Can resegment - indicates whether or not the source text in the scope of the given
            <code>canResegment</code> flag can be reorganized into a different structure of <link linkend="segment"><code>&lt;segment&gt;</code></link> elements within the same parent <link linkend="unit"><code>&lt;unit&gt;</code></link>.</para>
    
    <para><emphasis>Value description:</emphasis> <code>yes</code> or <code>no</code>.</para>
        
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>
            
            <para>The value <code>yes</code>.</para>
        </listitem>
        <listitem>
            <para>When used in any other element:</para>
            <para>The value of the <link linkend="canResegment"><code>canResegment</code></link> attribute of its parent element.
            </para>   
                
        </listitem>
        
        
        
    </itemizedlist>
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>
        <link linkend="group"><code>&lt;group&gt;</code></link>
        <link linkend="unit"><code>&lt;unit&gt;</code></link>, and
        <link linkend="segment"><code>&lt;segment&gt;</code></link>.    
    </para>
    
</section>

    <section id="category">
    <title>category</title>
    
    <para>Category - provides a way to categorize notes.</para>
    
    <para><emphasis>Value description:</emphasis> Text.</para>
    
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="note"><code>&lt;note&gt;</code></link>.</para>
    
</section>

    <section id="copyof">
  <title>copyOf</title>

  <para>Reference to base code - holds the <link linkend="id"><code>id</code></link> of the base code of a copied code.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN. The <link linkend="id"><code>id</code></link> value of the base
  code of which this code is a copy.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Äter &lt;pc id="1"&gt;katter möss&lt;/pc&gt;?&lt;/source&gt;
    &lt;target&gt;Do &lt;pc id="1"&gt;cats&lt;/pc&gt; eat &lt;pc id="2" copyOf="1"&gt;
        mice&lt;/pc&gt;? &lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
</section>


    <section id="dataref">
  <title>dataRef</title>

  <para>Original data reference - holds the identifier of the <link linkend="data"><code>&lt;data&gt;</code></link>
    element that contains the original data for a given inline code.</para>

  <para><emphasis>Value description:</emphasis> An <link linkend="XMLSchema2">[XML Schema Datatypes]</link> NMTOKEN that
    <glossterm>must</glossterm> be the value of the <link linkend="id"><code>id</code></link> attribute of
  one of the <link linkend="data"><code>&lt;data&gt;</code></link> element listed in the
  same <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>

  <para><emphasis>Default value:</emphasis> undefined.</para>

  <para><emphasis>Used in:</emphasis> <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;{0}&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Error in '&lt;ph id="1" dataRef="d1"/&gt;'.&lt;/source&gt;
    &lt;target&gt;Erreur dans '&lt;ph id="1" dataRef="d1"/&gt;'.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <para>The example above shows a <link linkend="ph"><code>&lt;ph&gt;</code></link> element that has its original
  data stored outside the content, in a <link linkend="data"><code>&lt;data&gt;</code></link> element.</para>

 </section>

    <section id="datarefend">
  <title>dataRefEnd</title>

  <para>Original data reference - holds the identifier of the <link linkend="data"><code>&lt;data&gt;</code></link>
    element that contains the original data for the end marker of a given inline code.</para>

  <para><emphasis>Value description:</emphasis> An <link linkend="XMLSchema2">[XML Schema Datatypes]</link> NMTOKEN that <glossterm>must</glossterm> be
  the value of the <link linkend="id"><code>id</code></link> attribute of one of the <link linkend="data"><code>&lt;data&gt;</code></link> element listed in the
  same <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>

  <para><emphasis>Default value:</emphasis> undefined.</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;EM&gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/EM&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        Efficiency&lt;/pc&gt; is the operative word here.&lt;/source&gt;
    &lt;target&gt;&lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        Efficacité&lt;/pc&gt; est le mot clé ici.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <para>The example above shows two <link linkend="pc"><code>&lt;pc&gt;</code></link> elements with their original
  data stored outside the content, in two <link linkend="data"><code>&lt;data&gt;</code></link> elements.</para>
</section>

    <section id="datarefstart">
  <title>dataRefStart</title>

  <para>Original data reference - holds the identifier of the <link linkend="data"><code>&lt;data&gt;</code></link>
    element that contains the original data for the start marker of a given inline code.</para>

  <para><emphasis>Value description:</emphasis> An <link linkend="XMLSchema2">[XML Schema Datatypes]</link> NMTOKEN that <glossterm>must</glossterm> be
  the value of the <link linkend="id"><code>id</code></link> attribute of one of the <link linkend="data"><code>&lt;data&gt;</code></link> element listed in the
  same <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>

  <para><emphasis>Default value:</emphasis> undefined.</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;EM&gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/EM&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        Efficiency&lt;/pc&gt; is the operative word here.&lt;/source&gt;
    &lt;target&gt;&lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        Efficacité&lt;/pc&gt; est le mot clé ici.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <para>The example above shows two <link linkend="pc"><code>&lt;pc&gt;</code></link> elements with their original
  data stored outside the content, in two <link linkend="data"><code>&lt;data&gt;</code></link> elements.</para>
</section>


    <section id="dir">
  <title>dir</title>

  <para>Directionality - indicates the directionality of content.</para>

  <para><emphasis>Value description:</emphasis>
    <code>ltr</code> (Left-To-Right), <code>rtl</code> (Right-To-Left), or <code>auto</code>
    (determined heuristically, based on the first strong directional character in scope, see <link linkend="uax9">[UAX #9]</link>).</para>

  <para><emphasis>Default value:</emphasis> default values for this attribute
  depend on the element in which it is used:</para>

  <itemizedlist>
    <listitem>
      <para>When used in a <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, or <link linkend="ec"><code>&lt;ec&gt;</code></link>
        element that has a <link linkend="source"><code>&lt;source&gt;</code></link> element as its parent:</para>

      <para>The value of the <link linkend="srcdir"><code>srcDir</code></link> attribute of the <link linkend="unit"><code>&lt;unit&gt;</code></link> element, in which the elements are located.</para>
    </listitem>

    <listitem>
      <para>When used in a <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, or <link linkend="ec"><code>&lt;ec&gt;</code></link>
        element that has a <link linkend="target"><code>&lt;target&gt;</code></link> element as its parent: </para>

      <para>The value of the <link linkend="trgdir"><code>trgDir</code></link> attribute of the <link linkend="unit"><code>&lt;unit&gt;</code></link> element, in which the elements are located.</para>
    </listitem>

    <listitem>
      <para>When used in a <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, or <link linkend="ec"><code>&lt;ec&gt;</code></link>
        element that has a <link linkend="pc"><code>&lt;pc&gt;</code></link> element as its parent:</para>

      <para>The value of the <link linkend="dir"><code>dir</code></link>
        attribute of the parent <link linkend="pc"><code>&lt;pc&gt;</code></link> element.</para>
    </listitem>

    <listitem>
      <para>When used in <link linkend="data"><code>&lt;data&gt;</code></link>:</para>

      <para>The value <code>auto</code>.</para>
    </listitem>
  </itemizedlist>

  <para><emphasis>Used in:</emphasis> 
    <!--  killed on source and target to simplify re-segmentation PRs and to make use of BiDi control characters less likely 
      <olink
  targetdoc="../elements/structural/source.xml"
  targetptr="source"><code>&lt;source&gt;</code></olink>, <olink
  targetdoc="../elements/structural/target.xml"
  targetptr="target"><code>&lt;target&gt;</code></olink>, --> <link linkend="data"><code>&lt;data&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, and <link linkend="ec"><code>&lt;ec&gt;</code></link>.</para>
</section>

    <section id="disp">
  <title>disp</title>

  <para>Display text - holds an alternative user-friendly display representation of the original
    data of the inline code.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;{1}&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Welcome back &lt;ph id="1" disp="[UserName]" dataRef="d1"/&gt;!
        &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <note>
    <para>To provide a plain text equivalent of the code, use the <link linkend="equiv"><code>equiv</code></link>
    attribute.</para>
  </note>
</section>

    <section id="dispend">
  <title>dispEnd</title>

  <para>Display text - holds an alternative user-friendly display representation of the original
    data of the end marker of an inline code.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;\cf1\ul\b\f1\fs24 &lt;/data&gt;
    &lt;data id="d2"&gt;\cf0\ulnone\b0\f0\fs22 &lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Example of &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"
        dispStart="&amp;lt;span&gt;" dispEnd="&amp;lt;/span&gt;"&gt;
        formatted text&lt;/pc&gt;.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <para>In the example above, the <link linkend="dispstart"><code>dispStart</code></link> and <link linkend="dispend"><code>dispEnd</code></link>
  attributes provide a more user-friendly representation of the original
  formatting codes.</para>

  <note>
    <para>To provide a plain text equivalent of the code, use the <link linkend="equivend"><code>equivEnd</code></link> attribute.</para>
  </note>
</section>

    <section id="dispstart">
  <title>dispStart</title>

  <para>Display text - holds an alternative user-friendly display representation of the original
    data of the start marker of an inline code.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;\cf1\ul\b\f1\fs24 &lt;/data&gt;
    &lt;data id="d2"&gt;\cf0\ulnone\b0\f0\fs22 &lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Example of &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"
        dispStart="&amp;lt;span&gt;" dispEnd="&amp;lt;/span&gt;"&gt;
        formatted text&lt;/pc&gt;.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <para>In the example above, the <link linkend="dispstart"><code>dispStart</code></link> and <link linkend="dispend"><code>dispEnd</code></link>
  attributes provide a more user-friendly representation of the original
  formatting codes.</para>

  <note>
    <para>To provide a plain text equivalent of the code, use the <link linkend="equivstart"><code>equivStart</code></link> attribute.</para>
  </note>
</section>

    <section id="equiv">
  <title>equiv</title>

  <para>Equivalent text - holds a plain text representation of the original data of the inline code
    that can be used when generating a plain text representation of the content.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> an empty string.</para>

  <para><emphasis>Used in:</emphasis> <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;amp;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Open &lt;ph id="1" equiv="" dataRef="d1"/&gt;File&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <para>In this example the <link linkend="equiv"><code>equiv</code></link> attribute of the <link linkend="ph"><code>&lt;ph&gt;</code></link> element is used to indicate
  that the original data of the code can be ignored in the text representation
  of the string. This could, for instance, help a spell-checker tool to
  process the content as "Open File".</para>

  <note>
    <para>To provide a user-friendly representation, use the <link linkend="disp"><code>disp</code></link>
    attribute.</para>
  </note>
</section>

    <section id="equivend">
  <title>equivEnd</title>

  <para>Equivalent text - holds a plain text representation of the original data of the end marker
    of an inline code that can be used when generating a plain text representation of the
    content.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> an empty string</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;span class="link" onclick="linkTo('dbId5345')"&gt;
        &lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/span&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;The jam made of &lt;pc id="1" dataRefStart="d1" equivStart=""
        dataRefEnd="d2" equivEnd=""&gt;lingonberries&lt;/pc&gt; is quite
        tasty.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <note>
    <para>To provide a user-friendly representation, use the <link linkend="dispend"><code>dispEnd</code></link>
    attribute.</para>
  </note>
</section>

    <section id="equivstart">
  <title>equivStart</title>

  <para>Equivalent text - holds a plain text representation of the original data of the start marker
    of an inline code that can be used when generating a plain text representation of the
    content.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> an empty string</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;span class="link" onclick="linkTo('dbId5345')"&gt;
        &lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/span&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;The jam made of &lt;pc id="1" dataRefStart="d1" equivStart=""
        dataRefEnd="d2" equivEnd=""&gt;lingonberries&lt;/pc&gt; is quite
        tasty.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

  <note>
    <para>To provide a user-friendly representation, use the <link linkend="dispstart"><code>dispStart</code></link> attribute.</para>
  </note>
</section>

    <section id="hex">
  <title>hex</title>

  <para>Hexadecimal code point - holds the value of a Unicode code point that is invalid in
    XML.</para>

  <para><emphasis>Value description:</emphasis> A canonical representation of
    the hexBinary <link linkend="XMLSchema2">[XML Schema Datatypes]</link> data type: Two hexadecimal digits to represent each octet
  of the Unicode code point. The allowed values are any of the values
  representing code points invalid in XML, between hexadecimal 0000 and 10FFFF
  (both included).</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="cp"><code>&lt;cp&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;cp hex="001A"/&gt;&lt;cp hex="0003"/&gt;</programlisting>

  <para>The example above shows a character U+001A and a character U+0003 as they have to be
    represented in XLIFF.</para>
</section>

    <section id="href">
    <title>href</title>
    
    <para>href - a pointer to the location of an external skeleton file pertaining to the
        enclosing <link linkend="file"><code>&lt;file&gt;</code></link> element..</para>
    
    <para><emphasis>Value description:</emphasis> IRI.</para>
        
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="skeleton"><code>&lt;skeleton&gt;</code></link>.</para>
    
</section>

    <section id="id">
  <title>id</title>

  <para>Identifier - a character string used to identify an element.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN. The scope of the values for this attribute
    depends on the element, in which it is used.</para>

  <itemizedlist>
    <listitem>
      <para>When used in a <link linkend="file"><code>&lt;file&gt;</code></link> element:</para>
      <para>The value <glossterm>must</glossterm> be unique among all <link linkend="file"><code>&lt;file&gt;</code></link> <code>id</code> attribute values within the enclosing  <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para>
    </listitem>

    <listitem>
      <para>When used in <link linkend="group"><code>&lt;group&gt;</code></link> elements:</para>
      <para>The value <glossterm>must</glossterm> be unique among all <link linkend="group"><code>&lt;group&gt;</code></link> <code>id</code> attribute values within the enclosing  <link linkend="file"><code>&lt;file&gt;</code></link> element.</para>
    </listitem>
    
    <listitem>
      <para>When used in <link linkend="unit"><code>&lt;unit&gt;</code></link> elements:</para>
      <para>The value <glossterm>must</glossterm> be unique among all <link linkend="unit"><code>&lt;unit&gt;</code></link> <code>id</code> attribute values within the enclosing <link linkend="file"><code>&lt;file&gt;</code></link> element.</para>
    </listitem>
    
    <listitem>
      <para>When used in <link linkend="note"><code>&lt;note&gt;</code></link> elements:</para>
      <para>The value <glossterm>must</glossterm> be unique among all <link linkend="note"><code>&lt;note&gt;</code></link> <code>id</code> attribute values within the immediate enclosing 
        <link linkend="file"><code>&lt;file&gt;</code></link>,
        <link linkend="group"><code>&lt;group&gt;</code></link>, or
        <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>
    </listitem>
    
    <listitem>
      <para>When used in <link linkend="data"><code>&lt;data&gt;</code></link> elements:</para>
      <para>The value <glossterm>must</glossterm> be unique among all <link linkend="data"><code>&lt;data&gt;</code></link> <code>id</code> attribute values within the enclosing 
        <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>
    </listitem>
    
    <listitem>
      <para>When used in 
        <link linkend="segment"><code>&lt;segment&gt;</code></link>,
        <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>,
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>,
        <link linkend="pc"><code>&lt;pc&gt;</code></link>,
        <link linkend="sc"><code>&lt;sc&gt;</code></link>,
        <link linkend="ec"><code>&lt;ec&gt;</code></link>,
        or <link linkend="ph"><code>&lt;ph&gt;</code></link> elements:</para>
      <itemizedlist>
        <listitem><para>The inline elements enclosed by a <link linkend="target"><code>&lt;target&gt;</code></link> element <glossterm>must</glossterm> use the duplicate <code>id</code> values
      of their corresponding inline elements enclosed within the sibling <link linkend="source"><code>&lt;source&gt;</code></link> element if and only if those corresponding elements exist.</para></listitem>
        <listitem><para>Except for the above exception, the value <glossterm>must</glossterm> be unique among all of the above within the
          enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> 
          element.</para></listitem>
      </itemizedlist>
    </listitem>
  </itemizedlist>
  <note><para>All of the above defined uniqueness scopes ignore <firstterm>Module</firstterm> and
        <firstterm>Extension</firstterm> data. It would be impossible to impose those uniqueness
      requirements onto <firstterm>Module</firstterm> or <firstterm>Extension</firstterm> data. As
        <firstterm>Core</firstterm> only <firstterm>Modifiers</firstterm> could inadvertently cause
      conflicts with <firstterm>Modules</firstterm> or <firstterm>Extensions</firstterm> based data
      they cannot access. <firstterm>Modules</firstterm> and <firstterm>Extensions</firstterm>
      reusing <firstterm>Core</firstterm> need to specify their own uniqueness scopes for the <link linkend="id">xlf:id</link>. In general, <firstterm>Modules</firstterm> and
        <firstterm>Extensions</firstterm> are advised to mimic the <firstterm>Core</firstterm>
      uniqueness requirement within their specific wrapper elements enclosing the reused
        <firstterm>Core</firstterm> elements or attributes, yet <firstterm>Module</firstterm> or
        <firstterm>Extensions</firstterm> are free to set wider uniqueness scopes if it makes
      business sense.</para></note>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="file"><code>&lt;file&gt;</code></link>,
    <link linkend="group"><code>&lt;group&gt;</code></link>,
    <link linkend="unit"><code>&lt;unit&gt;</code></link>,
    <link linkend="note"><code>&lt;note&gt;</code></link>,
    <link linkend="segment"><code>&lt;segment&gt;</code></link>, <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>, <link linkend="data"><code>&lt;data&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>, <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
</section>

    <section id="isolated">
  <title>isolated</title>

  <para>Orphan code flag - indicates if the start or end marker of a spanning inline code is not in
    the same <link linkend="unit"><code>&lt;unit&gt;</code></link> as its corresponding end or start code.</para>

  <para><emphasis>Value description:</emphasis>
    <code>yes</code> if this start or end code is not in the same <link linkend="unit"><code>&lt;unit&gt;</code></link>
    as its corresponding end or start code, <code>no</code> if both codes are in the same <link linkend="unit"><code>&lt;unit&gt;</code></link>.</para>

  <para><emphasis>Default value:</emphasis> <code>no</code>.</para>

  <para><emphasis>Used in:</emphasis> <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
<!-- 
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;pc id="1"&gt;Warning: File not found.&lt;/pc&gt;&lt;/source&gt;
  &lt;/segment&gt;
  &lt;mtc:matches&gt;
    &lt;mtc:match&gt;
      &lt;source&gt;&lt;sc id="1" isolated="yes"/&gt;Warning:&lt;/source&gt;
      &lt;target&gt;&lt;sc id="1" isolated="yes"/&gt;Attention :&lt;/target&gt;
    &lt;/mtc:match&gt;
  &lt;/mtc:matches&gt;
&lt;/unit&gt;
 -->
&lt;file id="f2" xmlns:abc="urn:abc"&gt;
  &lt;unit id="1"&gt;
    &lt;mtc:matches&gt;
      &lt;mtc:match id="tc01" ref="seg2"&gt;
        &lt;source&gt;&lt;sc id="1" isolated="yes"/&gt;Warning:&lt;/source&gt;
        &lt;target&gt;&lt;sc id="1" isolated="yes"/&gt;Attention :&lt;/target&gt;
      &lt;/mtc:match&gt;
    &lt;/mtc:matches&gt;
    &lt;segment id="seg2"&gt;
      &lt;source&gt;&lt;pc id="1"&gt;Warning: File not found.&lt;/pc&gt;&lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
&lt;/file&gt;
</programlisting>

  <para>In the example above the <link linkend="sc"><code>&lt;sc&gt;</code></link> elements have their <link linkend="isolated"><code>isolated</code></link>
  attribute set to <code>yes</code> because they do not have their
  corresponding <link linkend="ec"><code>&lt;ec&gt;</code></link> elements.</para>
</section>

    <section id="name">
    <title>name</title>

    <para>Resource name - the original identifier of the resource corresponding to the
            <firstterm>Extracted</firstterm>
        <link linkend="unit"><code>&lt;unit&gt;</code></link> or <link linkend="unit"><code>&lt;group&gt;</code></link>.</para>
    <para>For example: the key in the key/value
        pair in a Java properties file, the ID of a string in a Windows string table, the index
        value of an entry in a database table, etc.</para>

    <para><emphasis>Value description:</emphasis> Text.</para>

    <para><emphasis>Default value:</emphasis> undefined.</para>

    <para><emphasis>Used in:</emphasis> <link linkend="unit"><code>&lt;unit&gt;</code></link> and <link linkend="unit"><code>&lt;group&gt;</code></link>.</para>

</section>


    <section id="order">
    <title>order</title>
    
    <para>target order - indicates the order, in which to compose the target content parts.</para>
    
    <para><emphasis>Value description:</emphasis> A positive integer.</para>
        
    <para><emphasis>Default value:</emphasis> implicit, see below</para>
    <para>When order is not explicitly set, the <link linkend="target"><code>&lt;target&gt;</code></link>
        <link linkend="order"><code>order</code></link> corresponds to its sibling <link linkend="source"><code>&lt;source&gt;</code></link>, i.e. it is not being moved anywhere when
        composing target content of the enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> and the implicit <link linkend="order"><code>order</code></link> value is of that position within the <link linkend="unit"><code>&lt;unit&gt;</code></link>. </para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="target"><code>&lt;target&gt;</code></link>.</para>
<itemizedlist>
    <title>Constraints</title>
    <listitem><para>The value of the <link linkend="order"><code>order</code></link> attribute <glossterm>must</glossterm> be unique
        within the enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para></listitem>
        <listitem>
            <para>The value of each of the <link linkend="order"><code>order</code></link> attributes used within a 
                <link linkend="unit"><code>&lt;unit&gt;</code></link> element <glossterm>must not</glossterm> be higher than N,
                where N is the number of all current <link linkend="segment"><code>&lt;segment&gt;</code></link>
                and <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> children of the said
                <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>
        </listitem>
</itemizedlist>    
<para>See the <link linkend="segorder">Segments
            Order</link> section for the normative usage description.</para>
</section>

    <section id="original">
    <title>original</title>
    
    <para>Original file - a pointer to the location of the original document from which the content
        of the enclosing <link linkend="file"><code>&lt;file&gt;</code></link> element is extracted.</para>
    
    <para><emphasis>Value description:</emphasis> IRI.</para>
        
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="file"><code>&lt;file&gt;</code></link>.</para>
    
</section>

    <section id="priority">
    <title>priority</title>

    <para>Priority - provides a way to prioritize notes.</para>

    <para><emphasis>Value description:</emphasis> Integer 1-10.</para>

    <para><emphasis>Default value:</emphasis> <code>1</code></para>

    <para><emphasis>Used in:</emphasis> <link linkend="note"><code>&lt;note&gt;</code></link>.</para>

    <note><para>Please note that 1 is the highest priority that can be interpreted as an alert,
        e.g. an <link linkend="ITS20">[ITS]</link> <ulink url="http://www.w3.org/TR/its20/#locNote-datacat">Localization Note</ulink> of the type alert.
        The best practice is to use only one alert per an annotated element, and the full scale of 2-10 can be used for prioritizing notes of lesser importance than the alert.</para></note>
</section>

    <section id="ref">
  <title>ref</title>

  <para>Reference - holds a reference for the associated annotation.</para>

  <para><emphasis>Value description:</emphasis> A value of the <link linkend="XMLSchema2">[XML Schema Datatypes]</link> type
  anyURI. The semantics of the value depends on the type of annotation:</para>

  <itemizedlist>
    <listitem>
      <para>When used in a <link linkend="termAnnotation">term
          annotation</link>, the URI value is referring to a resource providing information about
        the term.</para>
    </listitem>

    <listitem>
      <para>When used in a <link linkend="matchAnnotation">translation candidates annotation</link>, the URI value is referring
        to an external resource providing information about the translation candidate.</para>
    </listitem>

    <listitem>
      <para>When used in a <link linkend="commentAnnotation">comment annotation</link>, the value is referring to a <link linkend="note"><code>&lt;note&gt;</code></link> element within the same enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link>.</para>
    </listitem>

    <listitem>
      <para>When used in a <link linkend="customAnnotation">custom annotation</link>, the value is
      defined by each custom annotation.</para>
    </listitem>
  </itemizedlist>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;The &lt;pc id="1"&gt;ref&lt;/pc&gt; attribute of a term
        annotation holds a &lt;mrk id="m1" type="term"
        ref="http://dbpedia.org/page/Uniform_Resource_Identifier"&gt;
        URI&lt;/mrk&gt; pointing to more information about the given
        term.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
<!--  This Constraint does not make sense with the current fragmnt identifying mechanism
  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>The value of the <olink targetdoc="ref.xml" targetptr="ref"><code>ref</code></olink>
        attribute <glossterm>should</glossterm> point to an element that is a child of the <olink
          targetdoc="../elements/structural/unit.xml" targetptr="unit"
          ><code>&lt;unit&gt;</code></olink> element where the parent of the attribute is
        located.</para>
      <para>Rationale: Pointing to an element located
      elsewhere is likely to prevent proper execution of Processing
      Requirements.</para>
    </listitem>
  </itemizedlist> -->
</section>



    <!--  removed skeleton attribute in response to comments 007 and 008  -->

    <section id="srcdir">
  <title>srcDir</title>

  <para>Source directionality - indicates the directionality of the source content.</para>

  <para><emphasis>Value description:</emphasis>
    <code>ltr</code> (Left-To-Right), <code>rtl</code> (Right-To-Left), , or <code>auto</code>
    (determined heuristically, based on the first strong directional character in scope, see <link linkend="uax9">[UAX #9]</link>).</para>

  <para><emphasis>Default value:</emphasis> default values for this attribute depend on the element
    in which it is used:</para>

  <itemizedlist>
    <listitem>
      <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>

      <para>The value <code>auto</code>.</para>
    </listitem>

    <listitem>
      <para>When used in any other element:</para>

      <para>The value of the <link linkend="srcdir"><code>srcDir</code></link> attribute of its parent element.</para>
    </listitem>
  </itemizedlist>

  <para><emphasis>Used in:</emphasis>
    <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, and <link linkend="unit"><code>&lt;unit&gt;</code></link>. </para>
</section>

    <section id="srcLang">
    <title>srcLang</title>
    
    <para>Source language - the code of the language, in which the text to be <firstterm>Translated</firstterm> is
        expressed.</para>
    
    <para><emphasis>Value description:</emphasis> A language code as described in <link linkend="bcp47">[BCP 47]</link>.</para>
    
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="xliff"><code>&lt;xliff&gt;</code></link>.</para>
</section>

    <section id="startref">
  <title>startRef</title>

  <para>Start code or marker reference - The <link linkend="id"><code>id</code></link> of the <link linkend="sc"><code>&lt;sc&gt;</code></link> element or the <link linkend="sm"><code>&lt;sm&gt;</code></link> element a given <link linkend="ec"><code>&lt;ec&gt;</code></link> element
    or <link linkend="em"><code>&lt;em&gt;</code></link>
    element corresponds.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="ec"><code>&lt;ec&gt;</code></link>, <link linkend="em"><code>&lt;em&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;sc id="1"/&gt;Bold, &lt;sc id="2"/&gt;both
        &lt;ec startRef="1"/&gt;, italics&lt;ec startRef="2"/&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
</section>
    <section id="state">
  <title>state</title>

  <para>State - indicates the state of the translation of a segment.</para>

    <para><emphasis>Value description:</emphasis> The value <glossterm>must</glossterm> be set to one of the following values:</para>

  <simplelist type="vert">
   <member><code>initial</code> - indicates the segment is in its initial state.</member>
   <member><code>translated</code> - indicates the segment has been translated.</member>
   <member><code>reviewed</code> - indicates the segment has been reviewed.</member>
   <member><code>final</code> - indicates the segment is finalized and ready to be used.</member>
  </simplelist>
  <para>The 4 defined states constitute a simple linear state machine that advances in the above
        given order. No particular workflow or process is prescribed, except that the three states
        more advanced than the default <code>initial</code> assume the existence of a
            <firstterm>Translation</firstterm> within the segment. One can further specify the state
        of the <firstterm>Translation</firstterm> using the <link linkend="substate"><code>subState</code></link> attribute.</para>

    <para><emphasis>Default value:</emphasis> <code>initial</code></para>

  <para><emphasis>Used in:</emphasis> <link linkend="segment"><code>&lt;segment&gt;</code></link></para>

    <!--  This falg got killed in the August 20 2013 meeting <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>
                The <glossterm>optional</glossterm> attribute <link linkend="state"><code>state</code></link> <glossterm>must not</glossterm> be set to <code>final</code>
                if and only if the <glossterm>optional</glossterm> attribute <olink targetdoc="approved.xml" targetptr="approved"><code>approved</code></olink> on the same
                <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"><code>&lt;segment&gt;</code></olink> element is set to <code>no</code>.
            </para>
            <para>
                The <glossterm>optional</glossterm> attribute <link linkend="state"><code>state</code></link> <glossterm>must not</glossterm> be set to <code>initial</code>
                if and only if the optional attribute <olink targetdoc="approved.xml" targetptr="approved"><code>approved</code></olink> on the same
                <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"><code>&lt;segment&gt;</code></olink> element is set to <code>yes</code>.
            </para>
        </listitem>
    </itemizedlist> -->
    <itemizedlist>
        <title>Processing Requirements</title>
        <listitem>
            <para><firstterm>Writers</firstterm>
                <glossterm>must not</glossterm> set the <link linkend="state"><code>state</code></link> attribute values to other than the default
                    <code>initial</code> if and only if the <link linkend="segment"><code>&lt;segment&gt;</code></link> element where the attribute is set
                doesn't have the <link linkend="target"><code>&lt;target&gt;</code></link> child. </para>
        </listitem>


        <listitem>
            <para><firstterm>Writers</firstterm> updating the attribute <link linkend="state"><code>state</code></link> <glossterm>must</glossterm> also update or delete
                <link linkend="substate"><code>subState</code></link>.</para>
        </listitem>
    </itemizedlist>
    
    <note><para><link linkend="state"><code>state</code></link> is an <glossterm>optional</glossterm>
            attribute of segments with a default value and segmentation can change as the XLIFF
            roundtrip progresses, hence implementers don't have to make explicit use of the
            attribute. However setting of the attribute is advantageous if a workflow needs to make
            use of Advanced Validation methods. For instance missing non-removable codes will only
            be reported as an Error by the <link linkend="CoreSchematron">XLIFF Core Schematron Schema</link> when the <link linkend="state"><code>state</code></link> is <code>final</code>.</para></note>
</section>


    <section id="subflows">
  <title>subFlows</title>

  <para>Sub-flows list - holds a list of <link linkend="id"><code>id</code></link> attributes corresponding to the <link linkend="unit"><code>&lt;unit&gt;</code></link>
    elements that contain the sub-flows for a given inline code.</para>

  <para><emphasis>Value description:</emphasis> A list of NMTOKEN values
  separated by spaces. Each value corresponds to the <link linkend="id"><code>id</code></link> attribute of a <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <para>See the example in the <link linkend="subflowsdesc">Sub-Flows section</link>.</para>
</section>

    <section id="subflowsend">
  <title>subFlowsEnd</title>

  <para>Sub-flows list - holds a list of <link linkend="id"><code>id</code></link> attributes corresponding to the <link linkend="unit"><code>&lt;unit&gt;</code></link>
    elements that contain the sub-flows for the end marker of a given inline code.</para>

  <para><emphasis>Value description:</emphasis> A list of NMTOKEN values
  separated by spaces. Each value corresponds to the <link linkend="id"><code>id</code></link> attribute of a <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <para>See the example in the <link linkend="subflowsdesc">Sub-Flows section</link>.</para>
</section>

    <section id="subflowsstart">
  <title>subFlowsStart</title>

  <para>Sub-flows list - holds a list of <link linkend="id"><code>id</code></link> attributes corresponding to the <link linkend="unit"><code>&lt;unit&gt;</code></link>
    elements that contain the sub-flows for the start marker of a given inline code.</para>

  <para><emphasis>Value description:</emphasis> A list of NMTOKEN values
  separated by spaces. Each value corresponds to the <link linkend="id"><code>id</code></link> attribute of a <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>.</para>

  <para><emphasis>Example:</emphasis></para>

  <para>See the example in the <link linkend="subflowsdesc">Sub-Flows section</link>.</para>
</section>

    <section id="substate">
  <title>subState</title>

  <para>subState - indicates a user-defined status for the <link linkend="segment"><code>&lt;segment&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis></para>

  <para>The value is composed of a prefix and a sub-value separated by a
  character <code>:</code> (U+003A).</para>

  <para>The prefix is a string uniquely identifying a collection of values for
  a specific authority. The sub-value is any string value defined by an
  authority.</para>

  <para>The prefix <code>xlf</code> is reserved for this specification.</para>

  <para>Other prefixes and sub-values <glossterm>may</glossterm> be defined by the users.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="segment"><code>&lt;segment&gt;</code></link></para>

  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>If the attribute <link linkend="substate"><code>subState</code></link> is used, the attribute <link linkend="state"><code>state</code></link>
        <glossterm>must</glossterm> be explicitly set.</para>
    </listitem>
    </itemizedlist>
    <itemizedlist>
      <title>Processing Requirements</title>
      
  
    <listitem>
      <para><firstterm>Writers</firstterm> updating the attribute <link linkend="state"><code>state</code></link> <glossterm>must</glossterm> also update or delete <link linkend="substate"><code>subState</code></link>.</para>
      </listitem>
  </itemizedlist>
</section>
    <section id="subtype">
  <title>subType</title>

  <para>subType - indicates the secondary level type of an inline code.</para>

  <para><emphasis>Value description:</emphasis></para>

  <para>The value is composed of a prefix and a sub-value separated by a
  character <code>:</code> (U+003A).</para>

  <para>The prefix is a string uniquely identifying a collection of sub-values for a specific authority.
    The sub-value is any string value defined by the authority.</para>

  <para>The prefix <code>xlf</code> is reserved for this specification, and
  the following sub-values are defined:</para>

  <simplelist type="vert">
    <member><code>xlf:lb</code> - Line break</member>

    <member><code>xlf:pb</code> - Page break</member>

    <member><code>xlf:b</code> - Bold</member>

    <member><code>xlf:i</code> - Italics</member>

    <member><code>xlf:u</code> - Underlined</member>

    <member><code>xlf:var</code> - Variable</member>
  </simplelist>

  <para>Other prefixes and sub-values <glossterm>may</glossterm> be defined by the users.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link> and <link linkend="ph"><code>&lt;ph&gt;</code></link></para>

  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>If the attribute <link linkend="subtype"><code>subType</code></link> is used, the attribute <link linkend="type"><code>type</code></link>
        <glossterm>must</glossterm> be specified as well.</para>
    </listitem>
    <listitem>
      <para>The reserved <code>xlf:</code> prefixed values map onto the <link linkend="type"><code>type</code></link> attribute values as follows:</para>
      <simplelist type="vert">
        <member> For <code>xlf:b</code>, <code>xlf:i</code>, <code>xlf:u</code>,
          <code>xlf:lb</code>, and <code>xlf:pb</code>, the <glossterm>required</glossterm> value of
          the <link linkend="type"><code>type</code></link> attribute is
            <code>fmt</code>.</member>
        <member> For <code>xlf:var</code>, the <glossterm>required</glossterm> value of the <link linkend="type"><code>type</code></link> attribute is
            <code>ui</code>.</member>
      </simplelist>
    </listitem>
  </itemizedlist>
  <itemizedlist>
    <title>Processing Requirements</title>
    
    
    <listitem>
      <para><firstterm>Modifiers</firstterm> updating the attribute <link linkend="type"><code>type</code></link>
        <glossterm>must</glossterm> also update or delete <link linkend="subtype"><code>subType</code></link>.</para>
    </listitem>
  </itemizedlist>
</section>

    <section id="trgLang">
    <title>trgLang</title>
    
    <para>Target language - the code of the language, in which the <firstterm>Translated</firstterm> text is
        expressed.</para>
    
    <para><emphasis>Value description:</emphasis> A language code as described in <link linkend="bcp47">[BCP 47]</link>.</para>
    
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="xliff"><code>&lt;xliff&gt;</code></link>.</para>
</section>

    <section id="translate">
    <title>translate</title>

    <para>Translate - indicates whether or not the source text in the scope of the given <code>translate</code> flag is intended
        for <firstterm>Translation</firstterm>.</para>

    <para><emphasis>Value description:</emphasis> <code>yes</code> or <code>no</code>.</para>

    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>

    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>

            <para>The value <code>yes</code>.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="translate"><code>translate</code></link> attribute of its parent element.
            </para>

        </listitem>
        <listitem>
            <para>When used in annotations markers
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or
                <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>


            <para>The value of the <link linkend="translate"><code>translate</code></link> attribute of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link> element, in which the marker in question is located.
            </para>

        </listitem>

        <!-- Caveat! @translte has been removed from <segment> to simplify translation state algorithm..
            The following is the verbose version of the above defaults descriptions:

        <listitem>

             <para>When used in <olink targetdoc="../elements/structural/group.xml" targetptr="group"
                        ><code>&lt;group&gt;</code></olink>:</para>

            <para>The value of the <olink targetdoc="translate.xml"
                targetptr="translate"><code>translate</code></olink> attribute of its parent
                <olink
                    targetdoc="../elements/structural/group.xml"
                    targetptr="group"><code>&lt;group&gt;</code></olink>, or

                <olink>
                    targetdoc="../elements/structural/file.xml"
                    targetptr="file"><code>&lt;file&gt;</code></olink> element.</para>
        </listitem>


        <listitem>
            <para>When used in <olink targetdoc="../elements/structural/unit.xml"
                targetptr="unit"><code>&lt;unit&gt;</code></olink>:</para>

            <para>The value of the <olink targetdoc="translate.xml"
                targetptr="translate"><code>translate</code></olink> attribute of its parent
                <olink
                    targetdoc="../elements/structural/group.xml"
                    targetptr="group"><code>&lt;group&gt;</code></olink>, or

                <olink
                    targetdoc="../elements/structural/file.xml"
                    targetptr="file"><code>&lt;file&gt;</code></olink> element.</para>
        </listitem>


    <listitem>
        <para>When used in <olink targetdoc="../elements/structural/segment.xml"
            targetptr="segment"><code>&lt;segment&gt;</code></olink>:</para>

        <para>The value of the <olink targetdoc="translate.xml"
            targetptr="translate"><code>translate</code></olink> attribute of its parent
            <olink
                targetdoc="../elements/structural/unit.xml"
                targetptr="unit"><code>&lt;unit&gt;</code></olink> element.</para>
    </listitem>
        <listitem><para>
            When used in <olink targetdoc="../elements/inline/mrk.xml" targetptr="mrk"><code>&lt;mrk></code></olink>:
        </para>
            <para>The value of the <olink targetdoc="translate.xml" targetptr="translate"><code>translate</code></olink> attribute
                of the innermost <olink targetdoc="../elements/inline/mrk.xml" targetptr="mrk"><code>&lt;mrk&gt;</code></olink>
                or <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"><code>&lt;segment&gt;</code></olink> element,
                in which the <olink targetdoc="../elements/inline/mrk.xml" targetptr="mrk"><code>&lt;mrk></code></olink> element in question is located.</para>
         </listitem>
        <listitem><para>
            When used in <olink targetdoc="../elements/inline/sm.xml" targetptr="sm"><code>&lt;sm></code></olink>:
        </para>
            <para>The value of the <olink targetdoc="translate.xml" targetptr="translate"><code>translate</code></olink> attribute
                of the innermost <olink targetdoc="../elements/inline/mrk.xml" targetptr="mrk"><code>&lt;mrk&gt;</code></olink>
                or <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"><code>&lt;segment&gt;</code></olink> element,
                in which the <olink targetdoc="../elements/inline/sm.xml" targetptr="sm"><code>&lt;sm></code></olink> element in question is located.</para>
        </listitem>
         -->
    </itemizedlist>


    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>
        <link linkend="group"><code>&lt;group&gt;</code></link>
        <link linkend="unit"><code>&lt;unit&gt;</code></link>,
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.
    </para>

</section>

    <section id="trgdir">
  <title>trgDir</title>

  <para>Target directionality - indicates the directionality of the target content.</para>

  <para><emphasis>Value description:</emphasis>
    <code>ltr</code> (Left-To-Right), <code>rtl</code> (Right-To-Left), or <code>auto</code>
    (determined heuristically, based on the first strong directional character in scope, see <link linkend="uax9">[UAX #9]</link>).</para>

  <para><emphasis>Default value:</emphasis> default values for this attribute
  depend on the element in which it is used:</para>

  <itemizedlist>
    <listitem>
      <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>

      <para>The value <code>auto</code>.</para>
    </listitem>

    <listitem>
      <para>When used in any other element:</para>

      <para>The value of the <link linkend="trgdir"><code>trgDir</code></link> attribute of its parent element.</para>
    </listitem>
  </itemizedlist>

  <para><emphasis>Used in:</emphasis>
    <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, and <link linkend="unit"><code>&lt;unit&gt;</code></link>. </para>
</section>

    <section id="type">
  <title>type</title>
  <para>Type - indicates the type of an element.</para>
  <para><emphasis>Value description:</emphasis> allowed values for this attribute depend on the
    element in which it is used.</para>
  <itemizedlist>
    <listitem>
      <para>When used in <link linkend="pc">
          <code>&lt;pc&gt;</code>
        </link>, <link linkend="sc">
          <code>&lt;sc&gt;</code>
        </link>, <link linkend="ec">
          <code>&lt;ec&gt;</code>
        </link> or <link linkend="ph">
          <code>&lt;ph&gt;</code>
        </link>:</para>
      <para>The value  <glossterm>must</glossterm> be set to one of the following values:</para>
      <simplelist type="vert">
        <member><code>fmt</code> - Formatting (e.g. a &lt;b&gt; element in HTML)</member>
        <member><code>ui</code> - User interface element</member>
        <member><code>quote</code> - Inline quotation (as opposed to a block citation)</member>
        <member><code>link</code> - Link (e.g. an &lt;a&gt; element in HTML)</member>
        <member><code>image</code> - Image or graphic</member>
        <member><code>other</code> - Type of element not covered by any of the other top-level types.</member>
      </simplelist>
      <para><emphasis>Example:</emphasis>
        <programlisting format="linespecific">
&lt;segment&gt;
  &lt;source xml:lang="cs"&gt;&lt;pc type="quote"&gt;<foreignphrase lang="cs">Blázen,
      chce dobýt točnu v takovém počasí&lt;/pc&gt;, dodal slovy svého
      oblíbeného imaginárního autora.</foreignphrase>&lt;/source&gt;
  &lt;target xml:lang="en"&gt;&lt;pc type="quote"&gt;Madman, he wants to conquer the
      pole in this weather&lt;/pc&gt;, offered he the words of his
      favourite imaginary playwright.&lt;/target&gt;
&lt;/segment&gt;
</programlisting>
      </para>
      <para>One can further specify the type of a code using the <link linkend="subtype">
          <code>subType</code>
        </link>
      attribute.</para>
      <para><emphasis>Default value:</emphasis> Undefined</para>
    </listitem>
    <listitem>
      <para>When used in <link linkend="mrk">
          <code>&lt;mrk&gt;</code>
        </link> or <link linkend="sm">
          <code>&lt;sm&gt;</code>
        </link>:</para>
      <para>One of the following values: <code>generic</code>, <code>comment</code>,
          <code>term</code>, or a user-defined value that is composed of a prefix and a sub-value
        separated by a character <code>:</code> (U+003A).</para>
      <para>The prefix is a string uniquely identifying a collection of sub-values for a specific authority.
        The sub-value is any string value defined by the authority.</para>
      <para><emphasis>Default value:</emphasis> <code>generic</code></para>
    </listitem>
    <listitem>
      <para>When used in <link linkend="group">
          <code>&lt;group&gt;</code>
        </link> or <link linkend="unit">
          <code>&lt;unit&gt;</code>
        </link>:</para>
      <para>A value that is composed of a prefix and a sub-value
        separated by a character <code>:</code> (U+003A).</para>
      <para>The prefix is a string uniquely identifying a collection of sub-values for a specific authority.
        The sub-value is any string value defined by the authority. The prefix <code>xlf</code> is reserved.</para>
      <para><emphasis>Default value:</emphasis> Undefined</para>
    </listitem>
  </itemizedlist>
  <para><emphasis>Used in:</emphasis> <link linkend="group">
      <code>&lt;group&gt;</code>
    </link>, <link linkend="unit">
      <code>&lt;unit&gt;</code>
    </link>, <link linkend="pc">
      <code>&lt;pc&gt;</code>
    </link>, <link linkend="sc">
      <code>&lt;sc&gt;</code>
    </link>, <link linkend="ec">
      <code>&lt;ec&gt;</code>
    </link>, <link linkend="mrk">
      <code>&lt;mrk&gt;</code>
    </link>,  <link linkend="ph">
      <code>&lt;ph&gt;</code>
    </link> and <link linkend="sm">
      <code>&lt;sm&gt;</code>
    </link>.</para>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para><firstterm>Modifiers</firstterm> updating the attribute <link linkend="type">
          <code>type</code>
        </link> on <link linkend="pc">
          <code>&lt;pc&gt;</code>
        </link>, <link linkend="sc">
          <code>&lt;sc&gt;</code>
        </link>, <link linkend="ec">
          <code>&lt;ec&gt;</code>
        </link>, or
          <link linkend="ph">
          <code>&lt;ph&gt;</code>
        </link>
        <glossterm>must</glossterm> also update or delete <link linkend="subtype">
          <code>subType</code>
        </link>.</para>
    </listitem>
  </itemizedlist>
</section>

    <section id="value">
  <title>value</title>

  <para>Value - holds a value for the associated annotation.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <itemizedlist>
    <listitem>
      <para>When used in a <link linkend="termAnnotation">term annotation</link>, the value is a
      definition of the term.</para>
    </listitem>

    <listitem>
      <para>When used in a <link linkend="commentAnnotation">comment annotation</link>, the value is
      the text of the comment.</para>
    </listitem>

    <listitem>
      <para>When used in a <link linkend="customAnnotation">custom annotation</link>, the value is
      defined by each custom annotation.</para>
    </listitem>
  </itemizedlist>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis> <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
</section>

    <section id="version">
    <title>version</title>

    <para>XLIFF Version - is used to specify the Version of the <firstterm>XLIFF Document</firstterm>. This corresponds to
        the Version number of the XLIFF specification that the <firstterm>XLIFF Document</firstterm> adheres to.</para>

    <para><emphasis>Value description:</emphasis> Text.</para>

    <para><emphasis>Default value:</emphasis> undefined</para>

    <para><emphasis>Used in:</emphasis> <link linkend="xliff"><code>&lt;xliff&gt;</code></link>.</para>

</section>
  </section>

  <section>
    <title>XML namespace</title>

    <para>The attributes from XML namespace used in XLIFF 2.0 are: <link linkend="xml_lang">xml:lang</link> and <link linkend="xml_space">xml:space</link>.</para>

    <section id="xml_lang">
    <title>xml:lang</title>
    
    <para>Language - the xml:lang attribute specifies the language variant of the text of a given
        element. For example: <code>xml:lang="fr-FR"</code> indicates the French language as spoken
        in France.</para>
    
    <para><emphasis>Value description:</emphasis> A language code as described in <link linkend="bcp47">[BCP 47]</link>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in a <link linkend="source"><code>&lt;source&gt;</code></link> element:</para>
            
            <para>The value set in the <link linkend="srcLang"><code>srcLang</code></link> attribute of the enclosing
                <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para>
        </listitem>
        <listitem>
            <para>When used in a <link linkend="target"><code>&lt;target&gt;</code></link> element:</para>
            
            <para>The value set in the <link linkend="trgLang"><code>trgLang</code></link> attribute of the enclosing
                <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para>
        </listitem>        
        <listitem>
          <para>When used in any other element:</para>
          <para>The value of the <code>xml:lang</code> attribute of its parent element.
          </para>   
        </listitem>
      
    </itemizedlist>
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link> and where extension attributes are allowed.</para>
    
  <!--  Removed per https://lists.oasis-open.org/archives/xliff/201403/msg00018.html 
      <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para><code>xml:lang</code> <glossterm>must not</glossterm> be set on either the <olink targetdoc="../elements/structural/file.xml"
                targetptr="file"><code>&lt;file></code></olink>, <olink targetdoc="../elements/structural/group.xml"
                    targetptr="group"><code>&lt;group></code></olink> , or <olink targetdoc="../elements/structural/unit.xml"
                        targetptr="unit"><code>&lt;unit></code></olink> element.</para>
        </listitem>
    </itemizedlist>
    <warning><para>Although the XML namespace is allowed by extensibility on the above constrained extension
            points, setting <code>xml:lang</code> on these would conflict with the semantic of
                <olink targetdoc="srcLang" targetptr="srcLang"><code>srcLang</code></olink>, <olink
                targetdoc="trgLang" targetptr="trgLang"><code>trgLang</code></olink>, and
                <code>xml:lang</code> as defined in this specification, because of XLIFF being
            primarily a bilingual format.</para></warning>
      -->
</section>

    <section id="xml_space">
    <title>xml:space</title>
    
    <para>White spaces - the xml:space attribute specifies how white spaces (ASCII spaces, tabs and
        line-breaks) are to be treated.</para>
    
    
    <para><emphasis>Value description:</emphasis>
        <code>default</code> or <code>preserve</code>. The value <code>default</code> signals that
        an application's default white-space processing modes are acceptable for this element; the
        value <code>preserve</code> indicates the intent that applications preserve all the white
        space. This declared intent is considered to apply to all elements within the content of the
        element where it is specified, unless overridden with another instance of the xml:space
        attribute. For more information see <ulink url="http://www.w3.org/TR/REC-xml/#sec-white-space">the section on xml:space</ulink> in the <link linkend="bib_XML">[XML]</link> specification. </para>
    
    <para><emphasis>Default value:</emphasis>  default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="data"><code>&lt;data&gt;</code></link>:</para>
            
            <para>The value <code>preserve</code>.</para>
        </listitem>
        <listitem>
            <para>When used in <link linkend="xliff"><code>&lt;xliff&gt;</code></link>:</para>
            
            <para>The value <code>default</code>.</para>
        </listitem>
        <listitem>
            <para>When used in any other element:</para>
            <para>The value of the <code>xml:space</code> attribute of its parent element.
            </para>   
        </listitem>
    </itemizedlist>
    
    <para><emphasis>Used in:</emphasis> <link linkend="xliff"><code>&lt;xliff&gt;</code></link>, 
        <link linkend="file"><code>&lt;file&gt;</code></link>,
        <link linkend="group"><code>&lt;group&gt;</code></link>,
        <link linkend="unit"><code>&lt;unit&gt;</code></link>,
        <link linkend="source"><code>&lt;source&gt;</code></link>,
        <link linkend="target"><code>&lt;target&gt;</code></link>,
        and <link linkend="data"><code>&lt;data&gt;</code></link>.
    </para>
</section>
  </section>
</section>

    <section>
      <title>CDATA sections</title>

      <para>CDATA sections (<code>&lt;![CDATA[...]]&gt;</code>) are allowed in
      XLIFF content, but on output they <glossterm>may</glossterm> be changed into normal escaped
      content.</para>

      <para>Note that avoiding CDATA sections is considered a best practice
      from the internationalization viewpoint <link linkend="biblio_xmli18nbp">[XML I18N BP]</link>.</para>

      <itemizedlist>
        <title>Processing Requirements</title>

        <listitem>
          <para><firstterm>Agents</firstterm> <glossterm>must</glossterm> process CDATA sections.</para>
        </listitem>

        <listitem>
          <para><firstterm>Writers</firstterm> <glossterm>may</glossterm> preserve the original CDATA sections.</para>
        </listitem>
      </itemizedlist>
    </section>

    <section>
      <title>XML Comments</title>

      <para>XML comments (<code>&lt;!--...--!&gt;</code>) are allowed in XLIFF
      content, but they are ignored in the parsed content.</para>

      <para>For example:</para>

      <programlisting format="linespecific">
&lt;source&gt;Text content &lt;!--IMPORTANT--&gt;that is important&lt;/source&gt;
</programlisting>

      <para>and</para>

      <programlisting format="linespecific">
&lt;source&gt;Text content that is important&lt;/source&gt;
</programlisting>

      <para>are identical after parsing and correspond to the same following
      parsed content:</para>

      <programlisting format="linespecific">
Text content that is important</programlisting>

      <para>To annotate a section of the content with a comment that is
      recognized and preserved by XLIFF user agents, use the <link linkend="note"><code>&lt;note&gt;</code></link> element,
      or the <link linkend="commentAnnotation"><code>&lt;mrk&gt;</code></link>
      element.</para>

      <itemizedlist>
        <title>Processing Requirements</title>

        <listitem>
          <para><firstterm>Agents</firstterm> <glossterm>must</glossterm> ignore XML comments. That is the XLIFF parsed
          content is the same whether or not there is an XML comment in the
          document.</para>
        </listitem>

        <listitem>
          <para><firstterm>Writers</firstterm> <glossterm>may</glossterm> preserve XML comments on output.</para>
        </listitem>
      </itemizedlist>
    </section><section>
      <title>XML Processing Instructions</title>

      <para>XML Processing Instructions <link linkend="bib_XML">[XML]</link> (see specifically <ulink url="http://www.w3.org/TR/REC-xml/#sec-pi">http://www.w3.org/TR/REC-xml/#sec-pi</ulink>) are an XML mechanism to "allow documents to contain instructions for applications." XML Processing Instructions are allowed in XLIFF content but they are ignored in the parsed content in the same sense as XML Comments.</para>
     <itemizedlist>
        <title>Processing Requirements</title>
        <listitem>
          <para><firstterm>Agents</firstterm> <glossterm>must not</glossterm> use Processing Instructions as a means to implement a feature already specified in <firstterm>XLIFF Core</firstterm> or <firstterm>Modules</firstterm>.</para>
        </listitem>
        <listitem>
          <para><firstterm>Writers</firstterm>
            <glossterm>should</glossterm> preserve XML Processing Instructions in an <firstterm>XLIFF
              Document</firstterm>.</para>
        </listitem>
       </itemizedlist>

      <warning><para> Please note that <firstterm>Agents</firstterm> using Processing Instructions to implement
            <firstterm>XLIFF Core</firstterm> or <firstterm>Module</firstterm> features are not
          compliant XLIFF applications disregarding whether they are otherwise conformant. </para>
        </warning><warning>
          <para>Although this specification encourages XLIFF <firstterm>Agents</firstterm> to preserve XML Processing Instructions, it is not and cannot be, for valid processing reasons, an absolute protection and it is
         for instance highly unlikely that Processing Instructions could survive an XLIFF roundtrip at the <link linkend="segment"><code>&lt;segment&gt;</code></link>
         level or lower. Hence implementers are discouraged from using XML Processing Instructions at the <link linkend="segment"><code>&lt;segment&gt;</code></link> and lower levels.</para>
      </warning>

    </section>

    <section id="inline">
  <title>Inline Content</title>

  <para>The XLIFF inline content defines how to encode the content <firstterm>Extracted</firstterm>
  from the original source. The content includes the following types of
  data:</para>

  <itemizedlist>
    <listitem>
      <para><link linkend="text">Text</link> -- Textual content.</para>
    </listitem>

    <listitem>
      <para><link linkend="inlineCodes">Inline codes</link> -- Sequences of
      content that are not linguistic text, such as formatting codes, variable
      placeholders, etc.</para>

      <para>For example: the element <code>&lt;b&gt;</code> in HTML, or the
      placeholder <code>{0}</code> in a Java string.</para>
    </listitem>

    <listitem>
      <para><link linkend="annotations">Annotations</link> -- Markers that
      delimit a span of the content and carry or point to information about
      the specified content.</para>

      <para>For example: a flag indicating that a given section of text is not intended for translation, or
        an element indicating that a given expression in the text is a term associated with a
        definition.</para>
    </listitem>
  </itemizedlist>

  <para>There are two elements that contain inline markup in XLIFF: <link linkend="source"><code>&lt;source&gt;</code></link> and <link linkend="target"><code>&lt;target&gt;</code></link>.</para>

  <para>In some cases, data directly associated with inline elements <glossterm>may</glossterm> also
    be stored at the <link linkend="unit"><code>&lt;unit&gt;</code></link> level in an <link linkend="originaldata"><code>&lt;originalData&gt;</code></link> element.</para>

  <section id="text">
    <title>Text</title>

    <para>The XLIFF inline markup does not prescribe how to represent normal
    text, besides that it <glossterm>must</glossterm> be valid XML.</para>

    <section>
      <title>Characters invalid in XML</title>

      <para>Because the content represented in XLIFF can be extracted from
      anywhere, including software resources and other material that can contain
      control characters, XLIFF needs to be able to represent all Unicode code
      points <link linkend="Unicode">[Unicode]</link>.</para>

      <para>However, XML does not have the capability to represent all Unicode 
        code points <link linkend="Unicode">[Unicode]</link>, and does not provide any official mechanism to escape the
      forbidden code points.</para>

      <para>To remedy this, the inline markup provides the <link linkend="cp"><code>&lt;cp&gt;</code></link> element.</para>

      <para>The syntax and semantic of <link linkend="cp"><code>&lt;cp&gt;</code></link> in XLIFF are similar to
      the ones of <code>&lt;cp&gt;</code> in the Unicode Locale Data Markup
      Language <link linkend="biblio_ldml">[LDML]</link>.</para>
    </section>
  </section>

  <section id="inlineCodes">
    <title>Inline Codes</title>

    <para>The specification takes into account two types of codes:</para>

    <variablelist>
      <varlistentry id="originalCode">
        <term>Original code</term>

        <listitem>
          <para>An <emphasis>original code</emphasis> is a code that exists in
          the original document being extracted into XLIFF.</para>
        </listitem>
      </varlistentry>

      <varlistentry id="addedCode">
        <term>Added code</term>

        <listitem>
          <para>An <emphasis>added code</emphasis> is a code that does not
          exist in the original document, but has been added to the content at
          some point after extraction.</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <para>Any code (original or added) belongs to one of the two following
    categories:</para>

    <variablelist>
      <varlistentry id="standalone">
        <term>Standalone</term>

        <listitem>
          <para>A <emphasis>standalone</emphasis> code is a code that
          corresponds to a single position in the content. An example of such
          code is the <code>&lt;br/&gt;</code> element in HTML.</para>
        </listitem>
      </varlistentry>

      <varlistentry id="spanLike">
        <term>Spanning</term>

        <listitem>
          <para>A <emphasis>spanning</emphasis> code is a code that encloses a
          section of the content using a start and an end marker. There are
          two kinds of spanning codes:</para>

          <itemizedlist>
            <listitem>
              <para>Codes that can overlap, that is: they can enclose a
              non-closing or a non-opening spanning code. Such codes do not
              have an XML-like behavior. For example the RTF code
              <code>\b1...\b0</code> is a spanning code that is allowed to
              overlap.</para>
            </listitem>

            <listitem>
              <para>Codes that cannot overlap, that is: they cannot enclose a partial spanning code
                and have an XML-like behavior at the same time. An example of such code is the
                  <code>&lt;emphasis&gt;...&lt;/emphasis&gt;</code> element in DocBook.</para>
            </listitem>
          </itemizedlist>

          <para>When the opening or closing marker of a spanning code does not
          have its corresponding closing or opening marker in the same unit,
          it is an <emphasis>orphan code</emphasis>.</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <section id="representingcodes">
      <title>Representation of the codes</title>

      <para>Spanning codes present a set of challenges in XLIFF:</para>

      <para>First, because the code format of the original data extracted to
      XLIFF does not need to be XML, spanning codes can overlap.</para>

      <para>For example, in the following RTF content, the format markers are
      in a sequence: start bold, start italics, end bold, end italics. This
      does not translate into a well-formed mapping.</para>

      <programlisting format="linespecific">
Text in \b bold \i and\b0  italics\i0</programlisting>

      <para>Another challenge is the possible effect of segmentation: A
      spanning code can start in one segment and end in another.</para>

      <para>For example, in the following HTML content, the segmentation
      splits the text independently of the codes so the starting and ending
      tags of the <code>&lt;B&gt;...&lt;/B&gt;</code> element end up in
      different parts of the <link linkend="unit"><code>&lt;unit&gt;</code></link> element:</para>

      <programlisting format="linespecific">
[Sentence &lt;B&gt;one. ][Sentence two.][ ][Sentence&lt;/B&gt; three.]</programlisting>

      <para>Finally, a third potential cause of complication is that the start
      or the end markers of a spanning code can become orphans if their
      segment is used outside of its original <link linkend="unit"><code>&lt;unit&gt;</code></link>.</para>

      <para>For example, an entry with bold text can be broken down into two
      segments:</para>

      <programlisting format="linespecific">
Segment 1 = "&lt;b&gt;Warning found: "
Segment 2 = "The file is read-only&lt;/b&gt;"</programlisting>

      <para>And later, one of the segments can be re-used outside its original
      <link linkend="unit"><code>&lt;unit&gt;</code></link>, for instance as a
      translation candidate:</para>

      <programlisting format="linespecific">
New segment = "&lt;b&gt;Warning found - see log&lt;/b&gt;"
Fuzzy match = "&lt;b&gt;Warning found: "</programlisting>

      <para>Because of these use cases, the representation of a spanning code
      cannot always be mapped to a similar spanning element in XLIFF.</para>

      <para>When taking into account these issues, the possible use cases and
      their corresponding XLIFF representations are as follow:</para>

      <table>
        <title>Inline code use cases</title>

        <tgroup cols="2">
          <thead>
            <row>
              <entry>Use Case</entry>

              <entry>Example of Representation</entry>
            </row>
          </thead>

          <tbody>
            <row>
              <entry>Standalone code</entry>

              <entry><link linkend="ph"><code>&lt;ph id='1'/&gt;</code></link></entry>
            </row>

            <row>
              <entry>Well-formed spanning code</entry>

              <entry><link linkend="pc"><code>&lt;pc
              id='1'&gt;text&lt;/pc&gt;</code></link></entry>
            </row>

            <row>
              <entry>Start marker of spanning code</entry>

              <entry><link linkend="sc"><code>&lt;sc id='1'/&gt;</code></link></entry>
            </row>

            <row>
              <entry>End marker of spanning code</entry>

              <entry><link linkend="ec"><code>&lt;ec startRef='1'/&gt;</code></link></entry>
            </row>

            <row>
              <entry>Orphan start marker of spanning code</entry>

              <entry><link linkend="sc"><code>&lt;sc id='1'
              isolated='yes'/&gt;</code></link></entry>
            </row>

            <row>
              <entry>Orphan end marker of spanning code</entry>

              <entry><link linkend="ec"><code>&lt;ec id='1'
              isolated='yes'/&gt;</code></link></entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </section>

    <section id="spanningcodeusage">
      <title>Usage of &lt;pc&gt; and &lt;sc&gt;/&lt;ec&gt;</title>

      <para>A spanning code <glossterm>must</glossterm> be represented using a <link linkend="sc"><code>&lt;sc&gt;</code></link> element and a <link linkend="ec"><code>&lt;ec&gt;</code></link> element if the code is
      not well-formed or orphan.</para>

      <para>For example, the following RTF content has two spans of
      formatting:</para>

      <programlisting format="linespecific">
Text in \b bold \i and\b0  italics\i0</programlisting>

      <para>They can only be represented using two pairs of <link linkend="sc"><code>&lt;sc&gt;</code></link> and <link linkend="ec"><code>&lt;ec&gt;</code></link> elements:</para>

      <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;\b &lt;/data&gt;
    &lt;data id="d2"&gt;\i &lt;/data&gt;
    &lt;data id="d3"&gt;\b0 &lt;/data&gt;
    &lt;data id="d4"&gt;\i0 &lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Text in &lt;sc id="1" dataRef="d1"/&gt;bold &lt;sc id="2"
      dataRef="d2"/&gt; and&lt;ec startRef="1" dataRef="d3"/&gt;
       italics&lt;ec startRef="2" dataRef="d4"/&gt;. &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

      <para>If the spanning code is well-formed it <glossterm>may</glossterm> be represented using
      either a single <link linkend="pc"><code>&lt;pc&gt;</code></link> element or using a pair
      of <link linkend="sc"><code>&lt;sc&gt;</code></link> and a <link linkend="ec"><code>&lt;ec&gt;</code></link> elements.</para>

      <para>For example, the following RTF content has a single span of
      formatting:</para>

      <programlisting format="linespecific">
Text in \b bold\b0 .</programlisting>

      <para>It can be represented using either notations:</para>

      <programlisting format="linespecific">
Text in &lt;pc id="1" canOverlap="yes" dataRefStart="c1" dataRefEnd="c2"&gt;
bold&lt;/pc&gt;.</programlisting>

      <programlisting format="linespecific">
Text in &lt;sc id="1" dataRef="c1"/&gt;bold&lt;ec startRef="1" dataRef="c2"/&gt;.</programlisting>

      <itemizedlist>
        <title>Processing Requirements</title>

        <listitem>
          <para>When both the <link linkend="pc"><code>&lt;pc&gt;</code></link> and the <link linkend="sc"><code>&lt;sc&gt;</code></link>/<link linkend="ec"><code>&lt;ec&gt;</code></link> representations are
            possible, <firstterm>Extractors</firstterm> and <firstterm>Modifiers</firstterm> <glossterm>may</glossterm> use either one as long as all the information
          of the inline code (e.g. original data, sub-flow indicators, etc.)
          are preserved.</para>
        </listitem>

        <listitem>
          <para>When converting representation between a pair of <link linkend="sc"><code>&lt;sc&gt;</code></link> and <link linkend="ec"><code>&lt;ec&gt;</code></link> elements and a <link linkend="pc"><code>&lt;pc&gt;</code></link> element or
            vice-versa, <firstterm>Modifiers</firstterm> <glossterm>must</glossterm> map their attributes as shown in
          the following table:</para>

          <table>
            <title>Mapping between attributes</title>

            <tgroup cols="3">
              <tbody>
                <row>
                  <entry><link linkend="pc"><code>&lt;pc&gt;</code></link>
                  attributes</entry>

                  <entry><link linkend="sc"><code>&lt;sc&gt;</code></link>
                  attributes</entry>

                  <entry><link linkend="ec"><code>&lt;ec&gt;</code></link>
                  attributes</entry>
                </row>

                <row>
                  <entry>id</entry>

                  <entry>id</entry>

                  <entry>startRef / id (see <link linkend="ecIFF"><code>&lt;ec&gt;</code></link>)</entry>
                </row>

                <row>
                  <entry>type</entry>

                  <entry>type</entry>

                  <entry>type</entry>
                </row>
                
                <row>
                  <entry>subType</entry>
                  
                  <entry>subType</entry>
                  
                  <entry>subType</entry>
                </row>

                <row>
                  <entry>dispStart</entry>

                  <entry>disp</entry>

                  <entry/>
                </row>

                <row>
                  <entry>dispEnd</entry>

                  <entry/>

                  <entry>disp</entry>
                </row>

                <row>
                  <entry>equivStart</entry>

                  <entry>equiv</entry>

                  <entry/>
                </row>

                <row>
                  <entry>equivEnd</entry>

                  <entry/>

                  <entry>equiv</entry>
                </row>

                <row>
                  <entry>subFlowsStart</entry>

                  <entry>subFlows</entry>

                  <entry/>
                </row>

                <row>
                  <entry>subFlowsEnd</entry>

                  <entry/>

                  <entry>subFlows</entry>
                </row>

                <row>
                  <entry>dataRefStart</entry>

                  <entry>dataRef</entry>

                  <entry/>
                </row>

                <row>
                  <entry>dataRefEnd</entry>

                  <entry/>

                  <entry>dataRef</entry>
                </row>

                <row>
                  <entry/>

                  <entry>isolated</entry>

                  <entry>isolated</entry>
                </row>

                <row>
                  <entry>canCopy</entry>

                  <entry>canCopy</entry>

                  <entry>canCopy</entry>
                </row>

                <row>
                  <entry>canDelete</entry>

                  <entry>canDelete</entry>

                  <entry>canDelete</entry>
                </row>

                <row>
                  <entry>canReorder</entry>

                  <entry>canReorder</entry>

                  <entry>canReorder</entry>
                </row>

                <row>
                  <entry>copyOf</entry>

                  <entry>copyOf</entry>

                  <entry>copyOf</entry>
                </row>

                <row>
                  <entry>canOverlap</entry>

                  <entry>canOverlap</entry>

                  <entry>canOverlap</entry>
                </row>

                <row>
                  <entry>dir</entry>

                  <entry>dir</entry>

                  <entry>dir</entry>
                </row>
              </tbody>
            </tgroup>
          </table>
        </listitem>

        <listitem>
          <para><firstterm>Agents</firstterm> <glossterm>must</glossterm> be able to handle any of the above two types of inline code
          representation.</para>
        </listitem>
      </itemizedlist>
    </section>

    <section>
      <title>Storage of the original data</title>

      <para>Most of the time, inline codes correspond to an original construct
      in the format from which the content was extracted. This is the
      <emphasis>original data</emphasis>.</para>

      <para>XLIFF tries to abstract and normalize as much as possible the
      extracted content because this allows a better re-use of the material
      across projects. Some tools require access to the original data in order
      to create the translated document back into its original format. Others
      do not.</para>

      <section>
        <title>No storage of the original data</title>

        <para>In this option, the original data of the inline code is not
        preserved inside the XLIFF document.</para>

        <para>The tool that created the initial XLIFF document is responsible
        for providing a way to re-create the original format properly when
        merging back the content.</para>

        <para>For example, for the following HTML content:</para>

        <programlisting format="linespecific">
This &lt;B&gt;naked mole rat&lt;/B&gt; is &lt;B&gt;pretty ugly&lt;/B&gt;.</programlisting>

        <para>one possible XLIFF representation is the following:</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;This &lt;pc id="1"&gt;naked mole rat&lt;/pc&gt; is 
        &lt;pc id="2"&gt;pretty ugly&lt;/pc&gt;.&lt;/source&gt;
    &lt;target&gt;Cet &lt;pc id="1"&gt;hétérocéphale&lt;/pc&gt; est 
        &lt;pc id="2"&gt;plutôt laid&lt;/pc&gt;.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
      </section>

      <section>
        <title>Storage of the original data</title>

        <para>In this option, the original data of the inline code is stored
        in a structure that resides outside the content (i.e. outside <link linkend="source"><code>&lt;source&gt;</code></link> or <link linkend="target"><code>&lt;target&gt;</code></link>) but still
        inside the <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>

        <para>The structure is an element <link linkend="originaldata"><code>&lt;originalData&gt;</code></link>
        that contains a list of <link linkend="data"><code>&lt;data&gt;</code></link> entries uniquely
        identified within the <link linkend="unit"><code>&lt;unit&gt;</code></link> by an <link linkend="id"><code>id</code></link> attribute. In the content, each
        inline code using this mechanism includes a <link linkend="dataref"><code>dataRef</code></link> attribute that points to a
        <code><link linkend="data"><code>&lt;data&gt;</code></link></code> element
        where its corresponding original data is stored.</para>

        <para>For example, for the following HTML content:</para>

        <programlisting format="linespecific">
This &lt;B&gt;naked mole rat&lt;/B&gt; is &lt;B&gt;pretty ugly&lt;/B&gt;.</programlisting>

        <para>The following XLIFF representation stores the original
        data:</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;B&gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/B&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;This &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt; naked
        mole rat&lt;/pc&gt; is &lt;pc id="2" dataRefStart="d1"
        dataRefEnd="d2"&gt; pretty ugly&lt;/pc&gt;.&lt;/source&gt;
    &lt;target&gt;Cet &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        hétérocéphale&lt;/pc&gt; est &lt;pc id="2" dataRefStart="d1"
        dataRefEnd="d2"&gt; plutôt laid&lt;/pc&gt;.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

        <note>
          <para>This mechanism allows to re-use identical original data by
          pointing to the same <link linkend="data"><code>&lt;data&gt;</code></link> element.</para>
        </note>
      </section>
    </section>

    <section id="addingcodes">
      <title>Adding Codes</title>

      <para>When processing content, there are possible cases when new inline
      codes need to be added.</para>

      <para>For example, in the following HTML help content, the text has the
      name of a button in bold:</para>

      <programlisting format="linespecific">
Press the &lt;b&gt;Emergency Stop&lt;/b&gt; button
to interrupt the count-down sequence.</programlisting>

      <para>In the translated version, the original label needs to remain in
      English because the user interface, unlike the help, is not translated.
      However, for convenience, a translation is also provided and emphasized
      using another style. That new formatting needs to be added:</para>

      <programlisting format="linespecific">
Appuyez sur le bouton &lt;b&gt;Emergency Stop&lt;/b&gt; (&lt;i&gt;Arrêt d'urgence&lt;/i&gt;)
pour interrompre le compte à rebours.</programlisting>

      <para>Having to split a single formatted span of
        text into several separate parts during translation, can serve as another example. For instance, the
      following sentence in Swedish uses bold on the names of two
      animals:</para>

      <programlisting format="linespecific">
Äter &lt;b&gt;katter möss&lt;/b&gt;?</programlisting>

      <para>But the English translation separates the two names and therefore
      needs to duplicate the bold codes.</para>

      <programlisting format="linespecific">
Do &lt;b&gt;cats&lt;/b&gt; eat &lt;b&gt;mice&lt;/b&gt;?</programlisting>

      <itemizedlist>
        <title>Processing Requirements</title>

        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> add inline codes.</para>
        </listitem>

        <listitem>
          <para>The <link linkend="id"><code>id</code></link> value of the added code <glossterm>must</glossterm>
          be different from all <link linkend="id"><code>id</code></link> values in both source and
          target content of the unit where the new code is added.</para>
        </listitem>

        <listitem>
          <para><firstterm>Mergers</firstterm> <glossterm>may</glossterm> ignore added inline codes when <firstterm>Merging</firstterm>
          the <firstterm>Translated</firstterm> content back into the original format.</para>
        </listitem>
      </itemizedlist>

      <para>There are several ways to add codes:</para>

      <section id="duplicatingexistingcode">
        <title>Duplicating an existing code</title>

        <para>One way to create a new code is to duplicate an existing one
        (called the <emphasis>base code</emphasis>).</para>

        <para>If the base code is associated with some original data: the new code simply uses the same
          data.</para>

        <para>For example, the translation in the following unit, the second
        inline code is a duplicate of the first one:</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;b&gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/b&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Äter &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;katter
        möss&lt;/pc&gt;?&lt;/source&gt;
    &lt;target&gt;Do &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        cats&lt;/pc&gt; eat &lt;pc id="2" dataRefStart="d1"
        dataRefEnd="d2"&gt;mice&lt;/pc&gt;?&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

        <para>If the base code has no associated data, the new code <glossterm>must</glossterm> use
        the <link linkend="copyof"><code>copyOf</code></link> attribute to indicate
        the <code>id</code> of the base code. This allows the merging tool to
        know what original data to re-use.</para>

        <para>For example, the translation in the following unit, the second
        inline code is a duplicate of the first one:</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Esznek &lt;pc id="1"&gt;a magyarok svéd húsgombócot
        &lt;/pc&gt;?&lt;/source&gt;
    &lt;target&gt;Do &lt;pc id="1"&gt;Hungarians&lt;/pc&gt; eat &lt;pc id="2"
        copyOf="1"&gt;Swedish meatballs&lt;/pc&gt;?&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

        <itemizedlist>
          <title>Processing Requirements</title>

          <listitem>
            <para><firstterm>Modifiers</firstterm> <glossterm>must not</glossterm> clone a code that has its <link linkend="cancopy"><code>canCopy</code></link> attribute is set
            to <code>no</code>.</para>
          </listitem>

          <listitem>
            <para>The <link linkend="copyof"><code>copyOf</code></link> attribute <glossterm>must</glossterm> be
            used when, and only when, the base code has no associated original
            data.</para>
          </listitem>
        </itemizedlist>
      </section>

      <section>
        <title>Creating a brand-new code</title>

        <para>Another way to add a code is to create it from scratch. For
        example, this can happen when the translated text requires
        additional formatting.</para>

        <para>For example, in the following unit, the UI text needs to stay in
        English, and is also translated into French as a hint for the French user.
        The French translation for the UI text is formatted in italics:</para>

        <para><programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;b&gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/b&gt;&lt;/data&gt;
    &lt;data id="n1"&gt;&amp;lt;i&gt;&lt;/data&gt;
    &lt;data id="n2"&gt;&amp;lt;/i&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Press the &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        Emergency Stop&lt;/pc&gt; button to interrupt the count-down
        sequence. &lt;/source&gt;
    &lt;target&gt;Appuyez sur le bouton &lt;pc id="1" dataRefStart="d1"
        dataRefEnd="d2"&gt;Emergency Stop&lt;/pc&gt; (&lt;pc id="2"
        dataRefStart="n1" dataRefEnd="n2"&gt;Arrêt d'urgence
        &lt;/pc&gt;) pour interrompre le compte à rebours. &lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting></para>
      </section>

      <section>
        <title>Converting text into a code</title>

        <para>Another way to add a code is to convert part of the extracted
        text into code. In some cases the inline code can be created after
        extraction, using part of the text content. This can be done, for
        instance, to get better matches from an existing TM, or better
        candidates from an MT system.</para>

        <para>For example, it can happen that a tool extracting a Java properties file to XLIFF
        is not sophisticated enough to treat HTML or XML snippets inside
        the extracted text as inline code:</para>

        <programlisting format="linespecific">
# text property for the widget 'next'
nextText: Click &lt;ui&gt;Next&lt;/ui&gt;</programlisting>

        <para>Resulting XLIFF content:</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Click &amp;lt;ui&gt;Next&amp;lt;/ui&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

        <para>But another tool, later in the process, can be used to process
        the initial XLIFF document and detect additional inline codes. For
        instance here the XML elements such as <code>&lt;ui&gt;</code>.</para>

        <para>The original data of the new code is the part of the text
        content that is converted as inline code.</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;ui&gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/ui&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Click &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        Next&lt;/pc&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

        <warning>
          <para>Converting XLIFF text content into original data for inline
          code might need a tool-specific process as the tool which did the
          initial extraction could have applied some conversion to the original
          content to create the XLIFF content (e.g. un-escape special
          characters).</para>
        </warning>
      </section>
    </section>

    <section id="removingcodes">
      <title>Removing Codes</title>

      <para>When processing content, there are some possible cases when existing inline
      codes need to be removed.</para>

      <para>For an example the translation of a sentence can result in
      grouping of several formatted parts into a single one. For instance, the
      following sentence in English uses bold on the names of two
      animals:</para>

      <programlisting format="linespecific">
Do &lt;b&gt;cats&lt;/b&gt; eat &lt;b&gt;mice&lt;/b&gt;?</programlisting>

      <para>But the Swedish translation group the two names and therefore
      needs only a single bolded part.</para>

      <programlisting format="linespecific">
Äter &lt;b&gt;katter möss&lt;/b&gt;?</programlisting>

      <itemizedlist>
        <title>Processing Requirements</title>

        <listitem>
          <para>User agents <glossterm>may</glossterm> remove a given inline code only if its <link linkend="candelete"><code>canDelete</code></link> attribute is
          set to <code>yes</code>.</para>
        </listitem>

        <listitem>
          <para>When removing a given inline code, the user agents <glossterm>must</glossterm> remove
          its associated original data, except if the original data is shared
          with another inline code that remains in the unit.</para>
          <para>Note that having
          to delete the original data is unlikely because such original data
          is likely to be associated to an inline code in the source
          content.</para>
        </listitem>
      </itemizedlist>

      <para>There are several ways to remove codes:</para>

      <section>
        <title>Deleting a code</title>

        <para>One way to remove a code is to delete it from the extracted
        content. For example, in the following unit, the translated text does
        not use the italics formatting. It is removed from the target content,
        but the original data are preserved because they are still used in the
        source content.</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;i&gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/i&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;I read &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;Little
        House on the Prairie&lt;/pc&gt; to my children.&lt;/source&gt;
    &lt;target&gt;<foreignphrase lang="ja">子供に「大草原の小さな家」を読みました。</foreignphrase>&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
      </section>

      <section>
        <title>Converting a code into text</title>

        <para>Another way to remove an inline code is to convert it into text
        content. This is likely to be a rare use case. It is equivalent to
        deleting the code, with the addition to place the original data for
        the given code into the content, as text. This can be done, for
        example, to get better matches from an existing TM, or better
        candidates from an MT system.</para>

        <para>For instance, the following unit has an inline code
        corresponding to a variable place-holder. A tool can
        temporarily treat this variable as text to get better matches from an
        existing TM.</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;%s&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Cannot find '&lt;ph id="1" dataRef="d1"/&gt;'.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

        <para>The modified unit would end up like as shown below. Note that
        because the original data was not associated with other inline code it
        has been removed from the unit:</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Cannot find '%s'.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

        <warning>
          <para>Converting the original data of an inline code into text
          content might need a tool-specific process as the tool which did the
          initial extraction could have applied some conversion to the original
          content.</para>
        </warning>
      </section>
    </section>

    <section id="editinghints">
      <title>Editing Hints</title>

      <para>XLIFF provides some information about what editing operations are
      applicable to inline codes:</para>

      <itemizedlist>
        <listitem>
          <para>A code can be deleted: That is, the code element as well as
          its original data (if any are attached) are removed from the
          document. This hint is represented with the <link linkend="candelete"><code>canDelete</code></link> attribute. The
          default value is <code>yes</code>: deletion is allowed.</para>

          <para>For example, the following extracted C string has the code
          <link linkend="ph"><code>&lt;ph id='1'/&gt;</code></link> set to be not
          deletable because removing the original data (the variable
          placeholder <code>%s</code>) from the string would result in an
          error when running the application:</para>
        </listitem>

        <listitem>
          <para>A code can be copied: That is, the code is used as a
          <emphasis>base code</emphasis> for adding another inline code. See
          <xref linkend="duplicatingexistingcode"/> for more details. This
          hint is represented with the <link linkend="cancopy"><code>canCopy</code></link> attribute. The
          default value is <code>yes</code>: copy is allowed.</para>
        </listitem>

        <listitem>
          <para>A code can be re-ordered: That is, a given code can be moved
          before or after another inline code. This hint is represented with
          the <link linkend="canreorder"><code>canReorder</code></link> attribute.
          The default value is <code>yes</code>: re-ordering is
          allowed.</para>
        </listitem>
      </itemizedlist>
<note>
      <para>Please note that often those properties are related and appear together. For example, the code
        in the first unit shown below is a variable placeholder that has to be preserved and cannot
        be duplicated, and when several of such variables are present, as in the second unit, they
        cannot be re-ordered:</para></note>

      <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;%s&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Can't open '&lt;ph id="1" dataRef="d1" canCopy="no"
        canDelete="no"/&gt;'.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
&lt;unit id="2"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;%s&lt;/data&gt;
    &lt;data id="d2"&gt;%d&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;Number of &lt;ph id="1" dataRef="d1" canCopy="no"
        canDelete="no" canReorder="firstNo"/&gt;: &lt;ph id="2" dataRef="d2"
        canCopy="no" canDelete="no" canReorder="no"/&gt;. &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

      <para>See the <link linkend="contentmodification">Target Content
      Modification section</link> for additional details on editing.</para>

      <itemizedlist>
        <title>Constraints</title>
        <listitem>
          <para>When the attribute <link linkend="canreorder"><code>canReorder</code></link> is set to <code>no</code> or <code>firstNo</code>,
            the attributes <link linkend="cancopy"><code>canCopy</code></link> and <link linkend="candelete"><code>canDelete</code></link>
            <glossterm>must</glossterm> also be set to <code>no</code>.</para>
        </listitem>
		<listitem>
          <para>Inline codes re-ordering within a source or target content
              <glossterm>may</glossterm> be limited by defining non-reorderable sequences. Such
            sequence is made of a first inline code with the attribute <link linkend="canreorder"><code>canReorder</code></link> set to <code>firstNo</code> and zero or more
            following codes with <link linkend="canreorder"><code>canReorder</code></link> set to <code>no</code>.</para>
        </listitem>
        <listitem>
          <para>A non-reorderable sequence of codes <glossterm>must not</glossterm> start with a code with the attribute <link linkend="canreorder"><code>canReorder</code></link> set to <code>No</code> and zero or more
            following codes with <link linkend="canreorder"><code>canReorder</code></link> set to <code>no</code></para>
          <note>
            <para>A non-reorderable sequence made of a single code with <link linkend="canreorder"><code>canReorder</code></link> set to <code>firstNo</code> are allowed just for
                <firstterm>Extraction</firstterm> convenience and are equivalent to a code with the
              attribute <link linkend="canreorder"><code>canReorder</code></link> set to <code>yes</code>.</para>
          </note>
        </listitem>
        </itemizedlist>

        <itemizedlist>
          <title>Processing Requirements</title>
        <listitem>
          <para><firstterm>Extractors</firstterm> <glossterm>should</glossterm> set the <link linkend="candelete"><code>canDelete</code></link>, <link linkend="cancopy"><code>canCopy</code></link> and <link linkend="canreorder"><code>canReorder</code></link> attributes
          for the codes that need to be treated differently than with the
          default settings.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm>
            <glossterm>must not</glossterm> change the number and order of the inline codes making
            up a non-reorderable sequence.</para>
        </listitem>
          <listitem>
            <para><firstterm>Modifiers</firstterm>
            <glossterm>may</glossterm> move a whole non-reorderable sequence before or after another
            non-reorderable sequence.</para>
          </listitem>
          <listitem>
            <para>When a non-reorderable sequence is made of a single non-reorderable code,
              <firstterm>Modifiers</firstterm>
            <glossterm>MAY</glossterm> remove the <link linkend="canreorder"><code>canReorder</code></link> attribute of that code or
            change its value to <code>yes</code>.</para>
          </listitem>
          <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>must not</glossterm> delete inline codes that have their
          attribute <link linkend="candelete"><code>canDelete</code></link> set to
          <code>no</code>.</para>
        </listitem>

        <listitem>
          <para><firstterm>Modifiers</firstterm>
            <glossterm>must not</glossterm> replicate inline codes that have their attribute <link linkend="cancopy"><code>canCopy</code></link>
            set to <code>no</code>.</para>
        </listitem>

        
      </itemizedlist>
      <note>
        <para>Conformance of codes to <link linkend="editinghints">Editing Hints</link> Processing
          Requirements within <firstterm>Translations</firstterm> can only be checked on existing
            <link linkend="target"><code>&lt;target&gt;</code></link> elements, i.e. non-conformance is not reported on
            <link linkend="segment"><code>&lt;segment&gt;</code></link> or <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> elements without <link linkend="target"><code>&lt;target&gt;</code></link> children.</para>
        <para>The <link linkend="CoreSchematron">XLIFF Core Schematron
            Schema</link> will throw <emphasis>Warnings</emphasis> for all existing <link linkend="target"><code>&lt;target&gt;</code></link> elements where codes don't conform to the <link linkend="editinghints">Editing Hints</link> Processing Requirements, except for <link linkend="target"><code>&lt;target&gt;</code></link> children of <link linkend="segment"><code>&lt;segment&gt;</code></link> elements with the <link linkend="state"><code>state</code></link> attribute set to
            <code>final</code>, where it will throw <emphasis>Errors</emphasis>.</para>
      </note>
      
    </section>
  </section>

  <section id="annotations">
    <title>Annotations</title>

    <para>An annotation is an element that associates a section of the content
    with some metadata information.</para>

    <para>Annotations <glossterm>may</glossterm> be created by an <firstterm>Extractor</firstterm>
      that generated the initial <firstterm>XLIFF Document</firstterm>, or by any other
      <firstterm>Modifier</firstterm> or <firstterm>Enricher</firstterm> later in the process. For
      example, after an <firstterm>Extractor</firstterm> creates the document, an <firstterm>Enricher</firstterm> can
    annotate the source content with terminological information.</para>

    <para>Annotations are represented using either the <link linkend="mrk"><code>&lt;mrk&gt;</code></link> element, or the pair of
    <link linkend="sm"><code>&lt;sm&gt;</code></link> and <link linkend="em"><code>&lt;em&gt;</code></link> elements.</para>

    <section id="annotationTypes">
      <title>Type of Annotations</title>

      <para>There are several pre-defined types of annotation and definition of  <link linkend="customAnnotation">custom types</link> is also allowed.</para>

      <section id="translateAnnotation">
        <title>Translate Annotation</title>

        <para>This annotation is used to indicate whether a span of content is
        translatable or not.</para>

        <para>Usage:</para>

        <itemizedlist spacing="compact">
          <listitem>
            <para>The <link linkend="id"><code>id</code></link> attribute is
            <glossterm>required</glossterm></para>
          </listitem>

          <listitem>
            <para>The <link linkend="translate"><code>translate</code></link> attribute is
            <glossterm>required</glossterm> and set to <code>yes</code> or <code>no</code></para>
          </listitem>

          <listitem>
            <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm>
            and set to <code>generic</code> (this is the default value)</para>
          </listitem>
        </itemizedlist>

        <para>For example:</para>

        <programlisting format="linespecific">
He saw his &lt;mrk id="m1" translate="no"&gt;doppelgänger&lt;/mrk&gt;.</programlisting>

        <note>
          <para>This annotation overrides the <link linkend="translate"><code>translate</code></link> attribute set
          or inherited at the <link linkend="unit"><code>&lt;unit&gt;</code></link>
          level.</para>
        </note>

        <note>
          <para>The <link linkend="translate"><code>translate</code></link> attribute can
          also be used at the same time as another type of annotation. For
          example:</para>

          <programlisting format="linespecific">
He saw his &lt;mrk id="m1" translate="no" type="term"&gt;doppelgänger
&lt;/mrk&gt;.</programlisting>
        </note>
      </section>

      <section id="termAnnotation">
        <title>Term Annotation</title>

        <para>This annotation is used to mark up a term in the content, and
        possibly associate information to it.</para>

        <para>Usage:</para>

        <itemizedlist spacing="compact">
          <listitem>
            <para>The <link linkend="id"><code>id</code></link> attribute is
            <glossterm>required</glossterm></para>
          </listitem>

          <listitem>
            <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>required</glossterm>
            and set to <code>term</code></para>
          </listitem>

          <listitem>
            <para>The <link linkend="value"><code>value</code></link> attribute is <glossterm>optional</glossterm>
            and contains a short definition of the term</para>
          </listitem>

          <listitem>
            <para>The <link linkend="ref"><code>ref</code></link> attribute is <glossterm>optional</glossterm> and
            contains a URI pointing to information on the term</para>
          </listitem>

          <listitem>
            <para>The <link linkend="translate"><code>translate</code></link> attribute is
            <glossterm>optional</glossterm> and set to <code>yes</code> or <code>no</code></para>
          </listitem>
        </itemizedlist>
        
        
        <para>For example:</para>

        <programlisting format="linespecific">
&lt;file id="f-t_a"&gt;
  &lt;unit id="1"&gt;
    &lt;segment&gt;
      &lt;source&gt;He is my &lt;mrk id="m1" type="term"
          ref="http://dbpedia.org/page/Doppelgänger"&gt;
          doppelgänger&lt;/mrk&gt;. &lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
&lt;/file&gt;
 </programlisting>
      </section>


      <section id="commentAnnotation">
        <title>Comment Annotation</title>

        <para>This annotation is used to associate a span of content with a
        comment.</para>

        <para>Usage:</para>

        <itemizedlist spacing="compact">
          <listitem>
            <para>The <link linkend="id"><code>id</code></link> attribute is
            <glossterm>required</glossterm></para>
          </listitem>

          <listitem>
            <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>required</glossterm>
            and set to <code>comment</code></para>
          </listitem>

          <listitem>
            <para>If the <link linkend="value"><code>value</code></link> attribute is present it contains the text of the
              comment. If and only if the <link linkend="value"><code>value</code></link> attribute is not present, the <link linkend="ref"><code>ref</code></link>
              attribute <glossterm>must</glossterm> be present and contain the URI of a <link linkend="note"><code>&lt;note&gt;</code></link> element within the same enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element that holds the comment.</para>
          </listitem>

          <listitem>
            <para>The <link linkend="translate"><code>translate</code></link> attribute is
            <glossterm>optional</glossterm> and set to <code>yes</code> or <code>no</code></para>
          </listitem>
        </itemizedlist>

        <para>For example, here with the <code><link linkend="value"><code>value</code></link></code> attribute:</para>

        <programlisting format="linespecific">
The &lt;mrk id="m1" type="comment"
 value="Possible values: Printer or Stacker"&gt;&lt;ph id="1" dataRef="d1"/&gt;
&lt;/mrk&gt;
has been enabled.</programlisting>

        <para>And here using the <link linkend="ref"><code>ref</code></link> attribute:</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;notes&gt;
    &lt;note id="n1" appliesTo="target"&gt;Please check the translation for
        'namespace'. One also can use 'espace de nom', but I think most
        technical manuals use the English term.&lt;/note&gt;
  &lt;/notes&gt;
  &lt;segment&gt;
    &lt;source&gt;You use your own namespace.&lt;/source&gt;
    &lt;target&gt;Vous pouvez utiliser votre propre &lt;mrk id="m1"
        type="comment" ref="#n=n1"&gt;namespace&lt;/mrk&gt;.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
      </section>

      <section id="customAnnotation">
        <title>Custom Annotation</title>

        <para>The <link linkend="mrk"><code>&lt;mrk&gt;</code></link> element can be used
        to implement custom annotations.</para>

        <para>A custom annotation <glossterm>must not</glossterm> provide the same functionality as a
        pre-defined annotation.</para>

        <para>Usage:</para>

        <itemizedlist spacing="compact">
          <listitem>
            <para>The <link linkend="id"><code>id</code></link> attribute is
            <glossterm>required</glossterm></para>
          </listitem>

          <listitem>
            <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>required</glossterm>
            and set to a unique user-defined value.</para>
          </listitem>

          <listitem>
            <para>The <link linkend="translate"><code>translate</code></link> attribute is
            <glossterm>optional</glossterm> and set to <code>yes</code> or <code>no</code></para>
          </listitem>

          <listitem>
            <para>The use and semantics of the <link linkend="value"><code>value</code></link> and <link linkend="ref"><code>ref</code></link> attributes are
            user-defined.</para>
          </listitem>
        </itemizedlist>

        <para>For example:</para>

        <programlisting format="linespecific">
One of the earliest surviving works of literature is
&lt;mrk id="m1" type="myCorp:isbn" value="978-0-14-44919-8"&gt;The 
Epic of Gilgamesh&lt;/mrk&gt;.</programlisting>
      </section>
    </section>

    <section id="splittingAnnotations">
      <title>Splitting Annotations</title>

      <para>Annotations can overlap spanning inline codes or other
      annotations. They also can be split by segmentation. Because of this, a
      single annotation span can be represented using a pair of <link linkend="sm"><code>&lt;sm&gt;</code></link> and <link linkend="em"><code>&lt;em&gt;</code></link> elements instead of a
      single <link linkend="mrk"><code>&lt;mrk&gt;</code></link> element.</para>

      <para>For example, one can have the following content:</para>

      <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Sentence A. &lt;mrk id="m1" type="comment" value="Comment for B
        and C"&gt;Sentence B. Sentence C.&lt;/mrk&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>

      <para>After a user agent performs segmentation, the annotation element
      <link linkend="mrk"><code>&lt;mrk&gt;</code></link> is changed to a pair of
      <link linkend="sm"><code>&lt;sm&gt;</code></link> and <link linkend="em"><code>&lt;em&gt;</code></link> elements:</para>

      <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Sentence A. &lt;/source&gt;
  &lt;/segment&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;sm id="m1" type="comment" value="Comment for B and C"/&gt;
        Sentence B. &lt;/source&gt;
  &lt;/segment&gt;
  &lt;segment&gt;
    &lt;source&gt;Sentence C.&lt;em startRef="m1"/&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
    </section>
  </section>

  <section id="subflowsdesc">
    <title>Sub-Flows</title>

    <para>A sub-flow is a section of text embedded inside an inline code, or
    inside another section of text.</para>

    <para>For example, the following HTML content includes two sub-flows: The
    first one is the value of the <code>title</code> attribute ("<code>Start
    button</code>"), and the second one is the value of the <code>alt</code>
    attribute ("<code>Click here to start!</code>"):</para>

    <programlisting format="linespecific">
Click to start: &lt;img title="Start button"
 src="btnStart.png" alt="Click here to start!"/&gt;</programlisting>

    <para>Another example is the following DITA content where the footnote
    "<code>A Palouse horse is the same as an Appaloosa.</code>" is defined at
    the middle of a sentence:</para>

    <programlisting format="linespecific">
Palouse horses&lt;fn&gt;A Palouse horse is the same as
 an Appaloosa.&lt;/fn&gt; have spotted coats.</programlisting>

    <para>In XLIFF, each sub-flow is stored in its own <link linkend="unit"><code>&lt;unit&gt;</code></link> element, and the
    <code><link linkend="subflows"><code>subFlows</code></link></code> attribute is
    used to indicate the location of the embedded content.</para>

    <para>Therefore the HTML content of the example above can be represented
    like below:</para>

    <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Start button&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
&lt;unit id="2"&gt;
  &lt;segment&gt;
    &lt;source&gt;Click here to start!&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
&lt;unit id="3"&gt;
  &lt;segment&gt;
    &lt;source&gt;Click to start: &lt;ph id="1" subFlows="1 2"/&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
    
    <itemizedlist>
      <title>Constraints</title>
      <listitem>
        <para>An inline code containing or delimiting one or more sub-flows
            <glossterm>must</glossterm> have an attribute <link linkend="subflows"><code>subFlows</code></link> that holds a list of the identifiers of the <link linkend="unit"><code>&lt;unit&gt;</code></link> elements where the sub-flows are stored.</para>
      </listitem>
      <listitem>
        <para>Sub-flows <glossterm>must</glossterm> be in the same <link linkend="file"><code>&lt;file&gt;</code></link> element as the <link linkend="unit"><code>&lt;unit&gt;</code></link> element from which they are referenced.</para>
      </listitem>
    </itemizedlist>
    
    <itemizedlist>
      <title>Processing Requirements</title>

      <listitem>
        <para><firstterm>Extractors</firstterm> <glossterm>should</glossterm> store each sub-flow in its own <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>
      </listitem>

      

      <listitem>
        <para><firstterm>Extractors</firstterm>
          <glossterm>may</glossterm> order the <link linkend="unit"><code>&lt;unit&gt;</code></link> elements of the sub-flows and the
            <link linkend="unit"><code>&lt;unit&gt;</code></link> element, from where the sub-flows are referenced,
          as they see fit. </para>
      </listitem>
      <!--  In the meeting on January 21, 2014 it was resolved that this or similar PR is superfluous becuase it is a general
        XLIFF principle that the static structure of the document must not be changed, therfore this is transformed into an informative warning calling this principle
      <listitem>
        <para><firstterm>Writers</firstterm>
          <glossterm>must</glossterm> preserve the order of <olink
            targetdoc="../elements/structural/unit.xml" targetptr="unit"
            ><code>&lt;unit&gt;</code></olink> elements as initially set by the
            <firstterm>Extractor</firstterm>.</para>
      </listitem> -->
    </itemizedlist>
    <note><para>Please note that the static structure encoded by <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, and <link linkend="unit"><code>&lt;unit&gt;</code></link> elements is principally immutable in <firstterm>XLIFF Documents</firstterm>
      and hence the unit order initially set by the <firstterm>Extractor</firstterm> will be preserved throughout the roundtrip
      even in the special case of sub-flows.</para></note>
  </section>

  <section>
    <title>White Spaces</title>

    <para>While white spaces can be significant or insignificant in the original format, they are
      always treated as significant when stored as original data in XLIFF. See the definition of the <link linkend="data"><code>&lt;data&gt;</code></link> element.</para>

    <itemizedlist>
      <title>Processing Requirements</title>

      <!--  This is superfluous and removed as part of the resolution for #129, <data> has xml:space fixed to "preserved" and the other elements don't have content<listitem>
        <para>For the elements <olink targetdoc="../elements/inline/sc.xml"
        targetptr="sc"><code>&lt;sc&gt;</code></olink>, <olink
        targetdoc="../elements/inline/ec.xml"
        targetptr="ec"><code>&lt;ec&gt;</code></olink>, <olink
        targetdoc="../elements/inline/ph.xml"
        targetptr="ph"><code>&lt;ph&gt;</code></olink> and <olink
        targetdoc="../elements/structural/data.xml"
        targetptr="data"><code>&lt;data&gt;</code></olink>: The white spaces
        of their content <glossterm>must</glossterm> be preserved in all cases, even if the value for
        <code>xml:space</code> is set or inherited as
        <code>default</code>.</para>
      </listitem>   -->

      <listitem>
        <para>For the inline content and all non empty inline elements: The white spaces
            <glossterm>must</glossterm> be preserved if the value for <code>xml:space</code> set or
          inherited at the enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> level is <code>preserve</code>, and
          they <glossterm>may</glossterm> be preserved if the value is <code>default</code>.</para>
      </listitem>
    </itemizedlist>
  </section>

  <section id="BiDi">
    <title>Bidirectional Text</title>

    <para>Text directionality in XLIFF content is defined by inheritance.
    Source and target content can have different directionality.</para>

    <para>The initial directionality for both the source and the target content is defined in the
        <link linkend="file"><code>&lt;file&gt;</code></link> element, using the <glossterm>optional</glossterm>
      attributes <link linkend="srcdir"><code>srcDir</code></link> for the source and <link linkend="trgdir"><code>trgDir</code></link> for
      the target. The default value for both attributes is <code>auto</code>.</para>

    <para>The <link linkend="group"><code>&lt;group&gt;</code></link> and <link linkend="unit"><code>&lt;unit&gt;</code></link> elements also have the two
        <glossterm>optional</glossterm> attributes <link linkend="srcdir"><code>srcDir</code></link> and <link linkend="trgdir"><code>trgDir</code></link>. The
      default value of the <link linkend="srcdir"><code>srcDir</code></link> is inherited from the value of the <link linkend="srcdir"><code>srcDir</code></link>
      attribute of the respective parent element. The default value of the <link linkend="trgdir"><code>trgDir</code></link>
      attribute is inherited from the value of the <link linkend="trgdir"><code>trgDir</code></link> attribute of the respective parent
      element.</para>

    <para>The <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="sc"><code>&lt;sc&gt;</code></link>, and isolated <link linkend="ec"><code>&lt;ec&gt;</code></link> elements have an <glossterm>optional</glossterm>
      attribute <link linkend="dir"><code>dir</code></link>
      with a value <code>ltr</code>, <code>rtl</code>, or <code>auto</code>. The default value is
      inherited from the parent <link linkend="pc"><code>&lt;pc&gt;</code></link> element. In case the inline element is a child of a
        <link linkend="source"><code>&lt;source&gt;</code></link> element, the default value is inherited from the <link linkend="srcdir"><code>srcDir</code></link> value
      of the enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element. In case the inline element is a child of a
        <link linkend="target"><code>&lt;target&gt;</code></link> element, the default value is inherited from the
        <link linkend="trgdir"><code>trgDir</code></link> value of the enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>
    <warning><para> While processing isolated <link linkend="ec"><code>&lt;ec&gt;</code></link> elements with explicitly set directionality, please beware
        that unlike directionality set on the <link linkend="pc"><code>&lt;pc&gt;</code></link> and <link linkend="sc"><code>&lt;sc&gt;</code></link> , this
        method decreases the stack level as per [UAX #9].</para>
    </warning>
    <para>In addition, the <link linkend="data"><code>&lt;data&gt;</code></link> element has an <glossterm>optional</glossterm>
      attribute <link linkend="dir"><code>dir</code></link>
      with a value <code>ltr</code>, <code>rtl</code>, or <code>auto</code> that is not inherited.
      The default value is <code>auto</code>.</para>

    <para>Directionality of source and target text contained in the <link linkend="source"><code>&lt;source&gt;</code></link> and <link linkend="target"><code>&lt;target&gt;</code></link> elements is fully governed by <link linkend="uax9">[UAX #9]</link>, whereas explicit
        <firstterm>XLIFF-defined</firstterm> structural and directionality markup is a higher-level
      protocol in the sense of <link linkend="uax9">[UAX #9]</link>.
      The <firstterm>XLIFF-defined</firstterm> value <code>auto</code> determines the directionality
      based on the first strong directional character in its scope and
        <firstterm>XLIFF-defined</firstterm> inline directionality markup behaves exactly as
      Explicit Directional Isolate Characters, see <link linkend="uax9">[UAX #9]</link>, <ulink url="http://www.unicode.org/reports/tr9/#Directional_Formatting_Characters">http://www.unicode.org/reports/tr9/#Directional_Formatting_Characters</ulink>.</para>
  <note>
    <para>Please note that this specification does not define explicit markup for inline directional Overrides or Embeddings;
      in case those are needed. <firstterm>Extractors</firstterm> and <firstterm>Modifiers</firstterm> will need
      to use [UAX #9] defined Directional Formatting Characters.</para>
    <para>For instance, HTML elements <code>&lt;bdi&gt;</code> and <code>&lt;bdo&gt;</code> need both <firstterm>Extracted</firstterm> as a <link linkend="pc"><code>&lt;pc&gt;</code></link> or
      <link linkend="sc"><code>&lt;sc&gt;</code></link> / <link linkend="ec"><code>&lt;ec/&gt;</code></link> pair with the <link linkend="dir"><code>dir</code></link> attribute set respectively.</para>
      <para>All XLIFF defined inline
      directionality markup isolates and <code>&lt;sc&gt;</code> / <code>&lt;ec/&gt;</code> isolated spans can reach over segment
        (but not unit) boundaries. This needs to be taken into account when splitting or joining
        segments (see <link linkend="segmentationModification">Segmentation Modification</link>) that contain inline directionality markup. Albeit It is not
        advisable to split segments, so that corresponding inline directionality markup start and
        end would fall into different segments, such a situation is not too confusing. If this
        happens, the "watertight" BiDi box will simply span two or more segments. This is not too
        confusing because no XLIFF defined directionality markup is allowed on <link linkend="source"><code>&lt;source&gt;</code></link>,
        <link linkend="target">&lt;target&gt;</link>, or <link linkend="segment">&lt;segment&gt;</link>, so all higher level protocol inheritance of directionality in such cases is
        from <link linkend="unit">&lt;unit&gt;</link> or higher. </para>
  </note>
    
  </section>

  <section id="contentmodification">
    <title>Target Content Modification</title>

    <para>This section defines the rules <firstterm>Writers</firstterm> need to follow when working
    with the target content of a given segment in order to provide
    interoperability throughout the whole process.</para>

    <para>The <firstterm>Extractor</firstterm> <glossterm>may</glossterm> create the initial target content as it sees
    fit.</para>

    <para>The <firstterm>Merger</firstterm> is assumed to have the same level of processing and
      native format knowledge as the <firstterm>Extractor</firstterm>. Providing an interoperable
    way to convert native documents into XLIFF with one tool and back to the
    native format with another tool without the same level of knowledge is
    outside the scope of this specification.</para>

    <para>The <firstterm>Writers</firstterm> <firstterm>Modifying</firstterm> the target content of an <firstterm>XLIFF Document</firstterm> between
      the <firstterm>Extractor</firstterm> and the <firstterm>Merger</firstterm> ensure interoperability by applying
    specific rules. These rules are separated into two cases: When there is an
    existing target and when there is no existing target.</para>

    <section id="contentmodificationwithouttarget">
      <title>Without an Existing Target</title>

      <para>When there is no existing target, the processing requirements for
      a given segment are the following:</para>

      <itemizedlist>
        <title>Processing Requirements</title>

        <listitem>
          <para><firstterm>Writers</firstterm> <glossterm>may</glossterm> leave the segment without a target.</para>
        </listitem>

        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> create a new target as follows:</para>

          <itemizedlist>
            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> add translation of the source text.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>must</glossterm> put all <link linkend="editinghints">non-removable</link> inline codes in the
              target.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>must</glossterm> preserve the order of all the <link linkend="editinghints">non-reorderable</link> inline
              codes.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> put any <link linkend="editinghints">removable</link> inline code in the
              target.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> add inline codes.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> add or remove annotations.</para>
            </listitem>

<!--  This is now handled in the Resegmentation section 
            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> split the segment into two
              segments.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> join the segment with the following
              one.</para>
            </listitem>
 -->
            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> convert any <link linkend="pc"><code>&lt;pc&gt;</code></link> element into a
              pair of <link linkend="sc"><code>&lt;sc&gt;</code></link> and <link linkend="ec"><code>&lt;ec&gt;</code></link> elements.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> convert, if it is possible, any pair of
              <link linkend="sc"><code>&lt;sc&gt;</code></link> and <link linkend="ec"><code>&lt;ec&gt;</code></link> elements into a
              <link linkend="pc"><code>&lt;pc&gt;</code></link> element.</para>
            </listitem>
          </itemizedlist>
        </listitem>
      </itemizedlist>
    </section>

    <section id="contentmodificationwithtarget">
      <title>With an Existing Target</title>

      <para>When working with a segment with content already in the target,
        <firstterm>Writers</firstterm> <glossterm>must</glossterm> choose one of the three behaviors described below:</para>

      <itemizedlist>
        <title>Processing Requirements</title>

        <listitem>
          <para><firstterm>Writers</firstterm> <glossterm>may</glossterm> leave the existing target unchanged.</para>
        </listitem>

        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> modify the existing target as follow:</para>

          <itemizedlist>
            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> add or <firstterm>Modify</firstterm> translatable text.</para>
            </listitem>

            <listitem>
              <para><firstterm>Writers</firstterm> <glossterm>must</glossterm> preserve all <link linkend="editinghints">non-removable</link> inline codes,
              regardless whether or not they exist in the source.</para>
            </listitem>

            <listitem>
              <para><firstterm>Writers</firstterm> <glossterm>must</glossterm> preserve any <link linkend="editinghints">non-reorderable</link> inline codes in
              the existing target.</para>
            </listitem>

            <listitem>
              <para><firstterm>Writers</firstterm> <glossterm>must not</glossterm> add any <link linkend="editinghints">non-reorderable</link> inline codes to
              the target.</para>
            </listitem>

            <!-- Resegmentation can now be prevented via the canResegment flag if target conent needs protection 
            <listitem>
              <para>User agents <glossterm>must not</glossterm> split the segment. The reason to not
              allow splitting of segments with content in the target node is
              because there is no guarantee that the content in the two nodes
              are linguistically in the same order, performing that operation
              would pose a risk to the integrity of the content.</para>
            </listitem>  -->

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> remove any <link linkend="editinghints">removable</link> inline codes in the
              target.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> add inline codes (including copying any
              <link linkend="editinghints">cloneable</link> inline codes of
              the existing target).</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> add or remove annotations.</para>
            </listitem>
            <!--  This is now handled in the Resegmentation section
            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> join the segment with the following
              segment.</para>
            </listitem>
 -->
            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> convert any <link linkend="pc"><code>&lt;pc&gt;</code></link> element into a
              pair of <link linkend="sc"><code>&lt;sc&gt;</code></link> and <link linkend="ec"><code>&lt;ec&gt;</code></link> elements.</para>
            </listitem>

            <listitem>
              <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> convert, if it is possible, any pair of
              <link linkend="sc"><code>&lt;sc&gt;</code></link> and <link linkend="ec"><code>&lt;ec&gt;</code></link> elements into a
              <link linkend="pc"><code>&lt;pc&gt;</code></link> element.</para>
            </listitem>
          </itemizedlist>
        </listitem>

        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> delete the existing target and start over as
          if working without an existing target.</para>
        </listitem>
      </itemizedlist>
    </section>
  </section>

  <section>
    <title>Content Comparison</title>

    <para>This specification defines two types of content equality:</para>

    <itemizedlist>
      <listitem>
        <para>Equality type A: Two contents are equal if their normalized forms are equal.</para>
      </listitem>

      <listitem>
        <para>Equality type B: Two contents are equal if, in their normalized forms and with all
          inline code markers replaced by the value of their <link linkend="equiv"><code>equiv</code></link>
          attributes, the resulting strings are equal.</para>
      </listitem>
    </itemizedlist>

    <para>A content is normalized when:</para>

    <itemizedlist>
      <listitem>
        <para>The text nodes are in Unicode Normalized Form C defined in the
        Unicode Annex #15: Unicode Normalization Forms <link linkend="uax15">[UAX #15]</link>.</para>
      </listitem>

      <listitem>
        <para>All annotation markers are removed.</para>
      </listitem>

      <listitem>
        <para>All pairs of <link linkend="sc"><code>&lt;sc&gt;</code></link> and <link linkend="ec"><code>&lt;ec&gt;</code></link> elements that can be
        converted into a <link linkend="pc"><code>&lt;pc&gt;</code></link> element, are
        converted.</para>
      </listitem>

      <listitem>
        <para>All adjacent text nodes are merged into a single text
        node.</para>
      </listitem>

      <listitem>
        <para>For all the text nodes with the white space property set to
        <code>default</code>, all adjacent white spaces are collapsed into a
        single space.</para>
      </listitem>
    </itemizedlist>
  </section>
</section>
    <section id="segmentation">
  <title>Segmentation</title>

  <para>In the context of XLIFF, a segment is content which is either a unit
  of extracted text, or has been created from a unit of extracted text by
  means of a segmentation mechanism such as sentence boundary detection. For
  example, a segment can be a title, the text of a menu item, a paragraph or a
  sentence in a paragraph.</para>

  <para>In the context of XLIFF, other types representations sometimes called
  "segmentation" can be represented using annotations. For example: the terms
  in a segment can be identified and marked up using the <link linkend="termAnnotation">term
  annotation</link>.</para>

  <para>XLIFF does not specify how segmentation is carried out, only how to represent its result.
    Material provisions regarding segmentation can be found for instance in the Segmentation Rules
    eXchange standard <link linkend="biblio_srx">[SRX]</link> or <link linkend="uax29">[UAX #29]</link>.</para>

  <section id="segmentationRepresentation">
    <title>Segments Representation</title>

    <para>In XLIFF each segment of processed content is represented by a <link linkend="segment"><code>&lt;segment&gt;</code></link> element.</para>

    <para>A <link linkend="unit"><code>&lt;unit&gt;</code></link> can comprise a single <link linkend="segment"><code>&lt;segment&gt;</code></link>.</para>

    <para>Each <link linkend="segment"><code>&lt;segment&gt;</code></link> element has one
    <link linkend="source"><code>&lt;source&gt;</code></link> element that
    contains the source content and one <glossterm>optional</glossterm> <link linkend="target"><code>&lt;target&gt;</code></link> element that can be
    empty or contain the translation of the source content at a given
    state.</para>

    <para>Content parts between segments are represented with the <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> element,
    which has the same content model as <link linkend="segment"><code>&lt;segment&gt;</code></link>.</para>

    <para>For example:</para>

    <para><programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;First sentence.&lt;/source&gt;
    &lt;target&gt;Première phrase.&lt;/target&gt;
  &lt;/segment&gt;
  &lt;ignorable&gt;
    &lt;source&gt; &lt;/source&gt;
  &lt;/ignorable&gt;
  &lt;segment&gt;
    &lt;source&gt;Second sentence.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting></para>
  </section>

  <section id="segorder">
    <title>Segments Order</title>

    <para>Some <firstterm>Agents</firstterm> (e.g. aligner tools) can segment content, so that
    the target segments are not in the same order as the source segments.</para>

    <para>To be able to map order differences, the <link linkend="target"><code>&lt;target&gt;</code></link> element has an <glossterm>optional</glossterm> <link linkend="order"><code>order</code></link> attribute
      that indicates its position in the sequence of segments (and inter-segments). Its value is an
      integer from 1 to N, where N is the sum of the numbers of the <link linkend="segment"><code>&lt;segment&gt;</code></link> and <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> elements within the given enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>
    <warning><para>When <firstterm>Writers</firstterm> set explicit <code><link linkend="order">order</link></code> on <link linkend="target"><code>&lt;target&gt;</code></link> elements,
      they have to check for conflicts with implicit <code><link linkend="order">order</link></code>, as <link linkend="target"><code>&lt;target&gt;</code></link> elements without explicit
      <code><link linkend="order">order</link></code> correspond to their sibling <link linkend="source"><code>&lt;source&gt;</code></link> elements.
      Beware that moving one <link linkend="target"><code>&lt;target&gt;</code></link> element is likely to cause a renumbering domino effect throughout the enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para></warning>

    <para>For example, the following HTML documents have the same paragraph
    with three sentences in different order:<programlisting format="linespecific">
&lt;p lang='en'&gt;Sentence A. Sentence B. Sentence C.&lt;/p&gt;
</programlisting><programlisting format="linespecific">
&lt;p lang='fr'&gt;Phrase B. Phrase C. Phrase A.&lt;/p&gt;
</programlisting>The
    XLIFF representation of the content, after segmentation and alignment,
    would be:</para>

    <para><programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Sentence A.&lt;/source&gt;
    &lt;target order="5"&gt;Phrase A.&lt;/target&gt;
  &lt;/segment&gt;
  &lt;ignorable&gt;
    &lt;source&gt; &lt;/source&gt;
  &lt;/ignorable&gt;
  &lt;segment id="2"&gt;
    &lt;source&gt;Sentence B.&lt;/source&gt;
    &lt;target order="1"&gt;Phrase B.&lt;/target&gt;
  &lt;/segment&gt;
  &lt;ignorable&gt;
    &lt;source&gt; &lt;/source&gt;
  &lt;/ignorable&gt;
  &lt;segment id="3"&gt;
    &lt;source&gt;Sentence C.&lt;/source&gt;
    &lt;target order="3"&gt;Phrase C.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting></para>
  </section>

  <section id="segmentationModification">
    <title>Segmentation Modification</title>
    <para>When <firstterm>Modifying</firstterm> segmentation of a <link linkend="unit"><code>&lt;unit&gt;</code></link>,
      <firstterm>Modifiers</firstterm> <glossterm>must</glossterm> meet the Constraints and follow the Processing Requirements defined below:</para>
    <itemizedlist>
      <title>Constraints</title>
      <listitem>
        <para>Integrity of the inline codes <glossterm>must</glossterm> be preserved. See the section on <link linkend="inlineCodes">Inline Codes</link> and on <link linkend="annotations">Annotations</link> for details.</para>
      </listitem>
      <listitem>
        <para>The entire source content of any one <link linkend="unit"><code>&lt;unit&gt;</code></link> element
          <glossterm>must</glossterm> remain logically unchanged: <link linkend="segment"><code>&lt;segment&gt;</code></link> elements or their data <glossterm>must not</glossterm> be moved or joined across units.</para>
      </listitem>
    </itemizedlist>
    <warning><para>Note that when splitting or joining segments that have both source and target content it is advisable
      to keep the resulting segments linguistically aligned, which is likely to require human linguistic expertise and
      hence manual re-segmentation. If the linguistically correct alignment cannot be guaranteed, discarding the target
      content and retranslating the resulting source segments is worth considering.</para></warning>

    <itemizedlist>
      <title>Processing Requirements</title>

      <listitem id="splittingSegments">
        <para>When the <firstterm>Modifiers</firstterm> perform a split operation:</para>
        <itemizedlist>
          <listitem>
            <para>Only <link linkend="segment"><code>&lt;segment&gt;</code></link> or
              <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> elements
              that have their <link linkend="canResegment"><code>canResegment</code></link> value resolved to <code>yes</code>
              <glossterm>may</glossterm> be split.</para>
          </listitem>
          <listitem>
            <para>All new <link linkend="segment"><code>&lt;segment&gt;</code></link> or
              <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> elements
              created and their <link linkend="source"><code>&lt;source&gt;</code></link> and
              <link linkend="target"><code>&lt;target&gt;</code></link> children <glossterm>must</glossterm> have
              the same attribute values as the original elements they were
              created from, as applicable, except for the <link linkend="id"><code>id</code></link> attributes and, possibly, for the
              <link linkend="order"><code>order</code></link>,
              <link linkend="state"><code>state</code></link> and
              <link linkend="substate"><code>subState</code></link> attributes.</para>
          </listitem>
          <listitem>
            <para>Any new <link linkend="id"><code>id</code></link> attributes <glossterm>must</glossterm> follow the
              <link linkend="segment"><code>&lt;segment&gt;</code></link> or
              <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>
              <link linkend="id"><code>id</code></link> constraints.</para>
          </listitem>
          <listitem>
            <para>If there was a target content in the original segment and if the <link linkend="state"><code>state</code></link> attribute
              of the original segment was not <code>initial</code>, the <link linkend="state"><code>state</code></link> attributes of the
              segments resulting from the split (and possibly their corresponding <link linkend="substate"><code>subState</code></link>
              attributes) <glossterm>may</glossterm> be
              changed to reflect the fact that the target content <glossterm>may</glossterm> need to be verified as the new segmentation <glossterm>may</glossterm> have desynchronized the alignment between
              the source and target contents.</para>
          </listitem>
        </itemizedlist>
      </listitem>

      <listitem id="joiningSegments">
        <para>When the <firstterm>Modifiers</firstterm> perform a join operation:</para>
        <itemizedlist>
          <listitem>
            <para>Only <link linkend="segment"><code>&lt;segment&gt;</code></link> or
              <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> elements
              that have their <link linkend="canResegment"><code>canResegment</code></link> value resolved to
              <code>yes</code> <glossterm>may</glossterm> be join with other elements.</para>
          </listitem>
        </itemizedlist>
      </listitem>

      <listitem>
        <para>When the <firstterm>Modifiers</firstterm> or <firstterm>Mergers</firstterm> perform a join operation:</para>
        <itemizedlist>
          <listitem>
            <para>Two elements (<link linkend="segment"><code>&lt;segment&gt;</code></link> or
              <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>)
              <glossterm>must not</glossterm> be joined if their <link linkend="target"><code>&lt;target&gt;</code></link> have
              resolved <link linkend="order"><code>order</code></link> values that are not consecutive.</para>
          </listitem>
          <listitem>
            <para>The attributes of the elements to be joined (<link linkend="segment"><code>&lt;segment&gt;</code></link> or
              <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>) and the attributes of their
              <link linkend="source"><code>&lt;source&gt;</code></link> and
              <link linkend="target"><code>&lt;target&gt;</code></link>
              <glossterm>must</glossterm> be carried over in the resulting joined elements.</para>
          </listitem>
          <listitem>
            <para>If attributes of elements to be joined (<link linkend="segment"><code>&lt;segment&gt;</code></link> or
              <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link>) differ, or if the attributes of their
              <link linkend="source"><code>&lt;source&gt;</code></link> or
              <link linkend="target"><code>&lt;target&gt;</code></link> differ,
              the resulting joined elements <glossterm>must</glossterm> comply with following rules:</para>
            <itemizedlist>
              <listitem>
                <para>If the <link linkend="state"><code>state</code></link> attributes of the
                  <link linkend="segment"><code>&lt;segment&gt;</code></link> elements
                  differ: the <link linkend="state"><code>state</code></link> attribute of the joined
                  <link linkend="segment"><code>&lt;segment&gt;</code></link>
                  <glossterm>must</glossterm> be set
                  to the "earliest" of the values specified in the original <link linkend="segment"><code>&lt;segment&gt;</code></link> elements. The sequence of
                  <link linkend="state"><code>state</code></link> values are defined in the following order:
                  1: <code>initial</code>, 2: <code>translated</code>, 3: <code>reviewed</code>, and 4: <code>final</code>.</para>
              </listitem>
              <listitem>
                <para>The <link linkend="substate"><code>subState</code></link> attribute <glossterm>must</glossterm> be the one
                  associated with the
                  <link linkend="state"><code>state</code></link> attribute selected to be used in the joined <link linkend="segment"><code>&lt;segment&gt;</code></link>.
                  If no <link linkend="substate"><code>subState</code></link> attribute is associated with that
                  <link linkend="state"><code>state</code></link>, the joined
                  <link linkend="segment"><code>&lt;segment&gt;</code></link> <glossterm>must not</glossterm>
                  have a <link linkend="substate"><code>subState</code></link>.</para>
              </listitem>
              <listitem>
                <para>If the <link linkend="xml_space"><code>xml:space</code></link> attributes differ:
                  The <link linkend="source"><code>&lt;source&gt;</code></link> and
                  <link linkend="target"><code>&lt;target&gt;</code></link> of the joined element <glossterm>must</glossterm> be
                  set to <code>xml:space="preserve"</code>.</para>
              </listitem>
              <!--  dir killed on source and target in the meeting of Dec 17, 2013 and the follow up discussion to simplify 
                the directionality algorithm and resegmentation PR's <listitem>
                <para>If the <olink targetdoc="../attributes/dir.xml" targetptr="dir"><code>dir</code></olink> attributes of the
                  <olink targetdoc="../elements/structural/source.xml" targetptr="source"><code>&lt;source&gt;</code></olink> or
                  <olink targetdoc="../elements/structural/target.xml" targetptr="target"><code>&lt;target&gt;</code></olink> elements differ: The content of the
                  <olink targetdoc="../elements/structural/source.xml" targetptr="source"><code>&lt;source&gt;</code></olink> or
                  <olink targetdoc="../elements/structural/target.xml" targetptr="target"><code>&lt;target&gt;</code></olink> elements set to a
                  different directionality than the directionality for the
                  <olink targetdoc="../elements/structural/source.xml" targetptr="source"><code>&lt;source&gt;</code></olink> or
                  <olink targetdoc="../elements/structural/target.xml" targetptr="target"><code>&lt;target&gt;</code></olink> elements of the joined segment
                  <glossterm>must</glossterm> be enclosed between Unicode bi-directional control characters reflecting their original directionality.
                  A possible mapping is [[TO BE DEFINED]] U+202A and U+202C for left-to-right spans and U+202B and U+202C for right-to-left spans.</para>
              </listitem>  -->
            </itemizedlist>
          </listitem>
        </itemizedlist>
      </listitem>

      <listitem id="joiningOrSplittingSegments">
        <para>When the <firstterm>Modifiers</firstterm> or <firstterm>Mergers</firstterm> perform a join or a split operation:</para>
        <itemizedlist>
          <listitem>
            <para>If any <link linkend="segment"><code>&lt;segment&gt;</code></link> or <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> element of the <link linkend="unit"><code>&lt;unit&gt;</code></link> had a <link linkend="target"><code>&lt;target&gt;</code></link> child with an <link linkend="order"><code>order</code></link>
              attribute prior to the segmentation modification, the <link linkend="target"><code>&lt;target&gt;</code></link> child of all <link linkend="segment"><code>&lt;segment&gt;</code></link> and <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> elements in the <link linkend="unit"><code>&lt;unit&gt;</code></link>
              <glossterm>must</glossterm> be examined and if necessary their <link linkend="order"><code>order</code></link>
              attributes updated to preserve the ordering of the target content prior the
              segmentation modification.</para>
          </listitem>
        </itemizedlist>
      </listitem>

      <!-- 
      <para>When the value of the <olink targetdoc="../attributes/canResegment.xml" targetptr="canResegment"><code>canResegment</code></olink> flag
          is <code>no</code> on all <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"><code>&lt;segment&gt;</code></olink> elements  within a <olink
            targetdoc="../elements/structural/unit.xml" targetptr="unit"
            ><code>&lt;unit&gt;</code></olink>:</para>
        <itemizedlist>
          <listitem><para><firstterm>Modifiers</firstterm>
              <glossterm>must not</glossterm> split or join either the <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink>,  or the <olink targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"><code>&lt;ignorable></code></olink> elements within that <olink
                targetdoc="../elements/structural/unit.xml" targetptr="unit"
                  ><code>&lt;unit&gt;</code></olink>.</para></listitem>

          <listitem>
            <para><firstterm>Modifiers</firstterm>
              <glossterm>may</glossterm> still reorder the <olink
                targetdoc="../elements/structural/target.xml" targetptr="target"
                ><code>&lt;target&gt;</code></olink> elements within that <olink
                  targetdoc="../elements/structural/unit.xml" targetptr="unit"
                  ><code>&lt;unit&gt;</code></olink> using the <glossterm>optional</glossterm>
                <code>order</code> attributes as needed.</para>

          </listitem>
        </itemizedlist>
      </listitem>

      <listitem>
        <para>When the value of the <olink targetdoc="../attributes/canResegment.xml" targetptr="canResegment"><code>canResegment</code></olink> flag is <code>no</code> on some <olink
          targetdoc="../elements/structural/segment.xml" targetptr="segment"
          ><code>&lt;segment&gt;</code></olink> elements and <code>yes</code> on some other <olink
            targetdoc="../elements/structural/segment.xml" targetptr="segment"
            ><code>&lt;segment&gt;</code></olink> elements within a <olink
            targetdoc="../elements/structural/unit.xml" targetptr="unit"
            ><code>&lt;unit&gt;</code></olink>:</para>
        <itemizedlist>
          <listitem><para><firstterm>Modifiers</firstterm>
              <glossterm>must not</glossterm> split or join the <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> elements that have their <olink
                targetdoc="../attributes/canResegment.xml" targetptr="canResegment"
                  ><code>canResegment</code></olink> flag set to <code>no</code>, even not with
                <olink targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> elements within that <olink
                targetdoc="../elements/structural/unit.xml" targetptr="unit"
                  ><code>&lt;unit&gt;</code></olink>. </para></listitem>

          <listitem><para><firstterm>Modifiers</firstterm>
              <glossterm>may</glossterm> still split or join the <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink>  elements that have their <olink
                targetdoc="../attributes/canResegment.xml" targetptr="canResegment"
                  ><code>canResegment</code></olink> flag inherited or set to <code>yes</code> or
                <olink targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> elements within that <olink
                targetdoc="../elements/structural/unit.xml" targetptr="unit"
                  ><code>&lt;unit&gt;</code></olink>. </para></listitem>

          <listitem>
            <para><firstterm>Modifiers</firstterm>
              <glossterm>may</glossterm> still reorder all <olink
                targetdoc="../elements/structural/target.xml" targetptr="target"
                  ><code>&lt;target&gt;</code></olink> elements within that <olink
                targetdoc="../elements/structural/unit.xml" targetptr="unit"
                  ><code>&lt;unit&gt;</code></olink> using the <glossterm>optional</glossterm> <code>order</code>
              attributes as needed.</para>

          </listitem>

          <listitem>
            <para><firstterm>Modifiers</firstterm> splitting or joining <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> or <olink
                targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> elements <glossterm>must</glossterm>
              update, add, or remove the <code>order</code> attributes of the <olink
                targetdoc="../elements/structural/target.xml" targetptr="target"
                  ><code>&lt;target&gt;</code></olink> elements as needed.</para>

          </listitem>
        </itemizedlist>
      </listitem>

      <listitem>
        <para>When the value of the <olink targetdoc="../attributes/canResegment.xml" targetptr="canResegment"><code>canResegment</code></olink>
          flag is <code>yes</code> on all <olink
          targetdoc="../elements/structural/segment.xml" targetptr="segment"
          ><code>&lt;segment&gt;</code></olink> elements within a <olink
            targetdoc="../elements/structural/unit.xml" targetptr="unit"
            ><code>&lt;unit&gt;</code></olink>:</para>
      <itemizedlist>
      <listitem><para><firstterm>Modifiers</firstterm>
              <glossterm>may</glossterm> split or join all <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> or  <olink
                targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> elements within the same <olink
                targetdoc="../elements/structural/unit.xml" targetptr="unit"
                  ><code>&lt;unit&gt;</code></olink> as needed.</para></listitem>

          <listitem>
            <para><firstterm>Modifiers</firstterm> splitting or joining <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> or <olink
                targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> elements <glossterm>must</glossterm>
              update, add or remove the <code>order</code> attributes of the <olink
                targetdoc="../elements/structural/target.xml" targetptr="target"
                  ><code>&lt;target&gt;</code></olink> elements as needed to preserve the existing logical order of the target content.</para>
          </listitem>
          <listitem>
            <para><firstterm>Modifiers</firstterm>
              <glossterm>may</glossterm> reorder all <olink
                targetdoc="../elements/structural/target.xml" targetptr="target"
                  ><code>&lt;target&gt;</code></olink> elements within that <olink
                targetdoc="../elements/structural/unit.xml" targetptr="unit"
                  ><code>&lt;unit&gt;</code></olink> using the <glossterm>optional</glossterm> <code>order</code>
              attributes as needed.</para>
          </listitem>
      </itemizedlist>
      </listitem>

      <listitem>
        <para>Handling of content, elements, and attributes in the <olink
            targetdoc="../elements/structural/segment.xml" targetptr="segment"
              ><code>&lt;segment&gt;</code></olink>, <olink
            targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
              ><code>&lt;ignorable&gt;</code></olink>, <olink targetdoc="../elements/structural/source.xml" targetptr="source"><code>&lt;source&gt;</code></olink>, and
              <olink targetdoc="../elements/structural/target.xml" targetptr="target"><code>&lt;target&gt;</code></olink> elements when splitting <olink
            targetdoc="../elements/structural/segment.xml" targetptr="segment"
              ><code>&lt;segment&gt;</code></olink> elements:</para>
        <itemizedlist>
          <listitem>
            <para><firstterm>Modifiers</firstterm>
              <glossterm>may</glossterm> split the source and target content as they see fit between
              the split instances, except that the eventually resulting <olink
                targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> element <glossterm>must not</glossterm> hold translatable content.</para>
          </listitem>
          <listitem>
            <para><firstterm>Modifiers</firstterm>
              <glossterm>must</glossterm> copy all attributes including values, except for the
                <olink targetdoc="../attributes/id.xml" targetptr="id"><code>id</code></olink> and
                <olink targetdoc="../attributes/order.xml" targetptr="order"
                ><code>order</code></olink> attributes, from their original instances on or within
              the original <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> element onto both instances on and within
              the resulting two <olink targetdoc="../elements/structural/segment.xml"
                targetptr="segment"><code>&lt;segment&gt;</code></olink> or <olink
                targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> elements, except for attributes that do
              not have valid instances on the eventually resulting <olink
                targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> element. </para>
            <itemizedlist><listitem>
                <para>New unique <olink targetdoc="../attributes/id.xml" targetptr="id"><code>id</code></olink>
                  values <glossterm>must</glossterm> be created and assigned as needed to fulfill
                  uniqueness constraints within the enclosing <olink
                    targetdoc="../elements/structural/unit.xml" targetptr="unit"
                      ><code>&lt;unit&gt;</code></olink> element.</para>
              </listitem>
              <listitem>
                <para>The <olink targetdoc="../attributes/order.xml" targetptr="order"
                      ><code>order</code></olink> attributes <glossterm>must</glossterm> be
                  reassigned as needed within the enclosing <olink
                    targetdoc="../elements/structural/unit.xml" targetptr="unit"
                      ><code>&lt;unit&gt;</code></olink> element to ensure the desired target text
                  flow.</para>
              </listitem></itemizedlist>
          </listitem>

          <listitem>
            <para><firstterm>Modifiers</firstterm>
              <glossterm>must</glossterm> transform spanning inline codes that start and end in
              different new segments into the non spanning versions according to the <olink
                targetdoc="../inline/inline.xml" targetptr="spanningcodeusage">rules</olink> for
              usage and conversion between the different inline code representations.</para>
          </listitem>
        </itemizedlist>
      </listitem>

        <listitem>
        <para> Handling of content, elements and attributes in the <olink
            targetdoc="../elements/structural/segment.xml" targetptr="segment"
              ><code>&lt;segment&gt;</code></olink>, <olink
            targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
              ><code>&lt;ignorable&gt;</code></olink>, <olink
            targetdoc="../elements/structural/source.xml" targetptr="source"
              ><code>&lt;source&gt;</code></olink>, and <olink
            targetdoc="../elements/structural/target.xml" targetptr="target"
              ><code>&lt;target&gt;</code></olink> elements when joining segment or <olink
            targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
              ><code>&lt;ignorable&gt;</code></olink> elements:</para>
          <itemizedlist>
            <listitem>
              <para><firstterm>Modifiers</firstterm>
              <glossterm>must</glossterm> join the content of the original  <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> and  <olink
                targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> elements in the same order as it appeared,
              taking the <code>order</code> attribute into account. Non consecutive <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> or  <olink
                targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"
                  ><code>&lt;ignorable&gt;</code></olink> elements <glossterm>must not</glossterm>
              be joined, again taking the <code>order</code> attribute into account.</para>
            </listitem>
            <listitem>
            <para><firstterm>Modifiers</firstterm>
              <glossterm>must</glossterm> put all attributes that are the same on and within all
              joined <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> elements on  their valid instances on and
              within the resulting <olink targetdoc="../elements/structural/segment.xml"
                targetptr="segment"><code>&lt;segment&gt;</code></olink> element.</para>
            </listitem>
            <listitem>
              <para>The <olink targetdoc="../attributes/order.xml" targetptr="order"
                  ><code>order</code></olink> attributes <glossterm>must</glossterm> be reassigned
              or removed as needed within the enclosing <olink
                targetdoc="../elements/structural/unit.xml" targetptr="unit"
                  ><code>&lt;unit&gt;</code></olink> element to ensure the desired target text flow. </para>
          </listitem>
            <listitem>
              <para>If attributes differ in values on the joined <olink
                targetdoc="../elements/structural/segment.xml" targetptr="segment"
                  ><code>&lt;segment&gt;</code></olink> elements or their children elements,
                <firstterm>Modifiers</firstterm>
              <glossterm>must</glossterm> perform the following transformations, according to which
              attributes actually differ.</para>
              <itemizedlist>
                <listitem>
                  <para>If the <olink targetdoc="../attributes/xml_space.xml" targetptr="xml_space"
                    ><code>xml:space</code></olink> attributes differ in values, the resulting
                    value <glossterm>must</glossterm> be <code>preserve</code>.</para>
                </listitem>
                <listitem>
                  <para>If the <olink targetdoc="../attributes/state.xml" targetptr="state"><code>state</code></olink> attributes differ in values, the resulting <olink
                    targetdoc="../elements/structural/segment.xml" targetptr="segment"
                    ><code>&lt;segment&gt;</code></olink> element <glossterm>must</glossterm> have it set to the "earliest"
                    value set on any of the joined segments.</para>
                  <para>"Earliest" in the above refers to the process state of the segment, the leftmost in the sequence <code>initial</code>,
                    <code>translated</code>, <code>reviewed</code>, <code>final</code> is considered the "earliest".</para>
                </listitem>
                <listitem>
                  <para>If the directionality attributes, <olink targetdoc="../attributes/srcdir.xml" targetptr="srcdir"><code>srcDir</code></olink>,
                    <olink targetdoc="../attributes/trgdir.xml" targetptr="trgdir"><code>trgDir</code></olink>, or
                    <olink targetdoc="../attributes/dir.xml" targetptr="dir"><code>dir</code></olink>
                    differ the <firstterm>Modifier</firstterm> <glossterm>must</glossterm> insert Unicode bidirectional
                    control characters <olink targetdoc="../xliff21.xml" targetptr="uax9">[UAX
                      #9]</olink> to secure proper directionality in the <olink
                        targetdoc="../elements/structural/segment.xml" targetptr="segment"
                        ><code>&lt;segment&gt;</code></olink> and its children.</para>
                </listitem>
              </itemizedlist>
            </listitem>
            <listitem>
              <para><firstterm>Modifiers</firstterm>
                <glossterm>may</glossterm> transform non spanning inline codes that started and
                ended in different segments but now start and end in the same segment into the
                spanning version according to the <olink targetdoc="../inline/inline.xml"
                  targetptr="spanningcodeusage">rules</olink> for usage and conversion between the
                different inline code representations.</para>
            </listitem>
          </itemizedlist>
        </listitem>
 -->
      </itemizedlist>
    

  </section>
  <section role="informative">
    <title>Best Practice for <firstterm>Mergers</firstterm></title>
    
    <para>Since a typical simple corporate implementation of XLIFF 2 is a localization tool that is
      at the same time an <firstterm>Extractor</firstterm> and a <firstterm>Merger</firstterm> with
      the full knowledge of the <firstterm>Extraction</firstterm> mechanism, the community requested
      a non-normative best practice for <firstterm>Merging</firstterm> after an XLIFF
      Round-trip.</para>
    <para>First of all, it needs to be noted that <firstterm>Mergers</firstterm> are not advised to
      rely on their knowledge of the <firstterm>Extraction</firstterm> mechanism in terms of <link linkend="segmentation">segmentation</link>. <firstterm>Modifiers</firstterm> are free to
        <link linkend="segmentationModification">change segmentation</link> during the roundtrip and
      even <link linkend="segorder">to change order of target content held in different segments of
        the same unit</link>. Therefore, it can be advised as a best practice before
        <firstterm>Merging</firstterm> to look for all segments within each unit, even and
      especially when the <firstterm>Extractor</firstterm> had created only one segment per
      unit.</para>
    <para>When joining segments, <firstterm>Mergers</firstterm> need to observe all <emphasis>Processing Requirements</emphasis> for <link linkend="joiningSegments">joining segments</link> and <link linkend="joiningOrSplittingSegments"> joining or splitting segments</link></para>
    <para>When joining segments it can happen that not all <link linkend="segment"><code>&lt;segment&gt;</code></link> or <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> elements actually have their <link linkend="target"><code>&lt;target&gt;</code></link> element children. This situation can be legal depending
      on a specific workflow set up. The <link linkend="target"><code>&lt;target&gt;</code></link> child within an <link linkend="ignorable"><code>&lt;ignorable&gt;</code></link> element is always optional, but at the same can be
      created any time by simply copying the content of the sibling <link linkend="source"><code>&lt;source&gt;</code></link>, see <link linkend="contentmodificationwithouttarget">Content Modification Without Target</link>. The presence of <link linkend="target"><code>&lt;target&gt;</code></link> children can be better governed in <link linkend="segment"><code>&lt;segment&gt;</code></link> elements that have the <link linkend="state"><code>state</code></link> attribute.
      The <link linkend="state"><code>state</code></link>
      attribute is strictly optional with the default <code>initial</code>, yet it is advisable for
      a corporate localization operation to request that their service providers progress that
      attribute through <code>translated</code> and <code>reviewed</code> to <code>final</code>.
      This attribute cannot be progressed from the <code>initial</code> state without a <link linkend="target"><code>&lt;target&gt;</code></link> child and all violations of <link linkend="editinghints">Editing
        Hints</link> will become validation errors only in the <code>final</code> state. Usage of
        <link linkend="state"><code>state</code></link> also
      allows for fine-tuning of a specific workflow <emphasis>State Machine</emphasis> with the
      dependent <link linkend="substate"><code>subState</code></link> attribute. With the attribute <link linkend="substate"><code>subState</code></link>,
      implementers can create an arbitrary number of private state machine under their prefix
      authorities. It is advisable to register such authority prefixes with the XLIFF TC and publish
      their documentation.</para>
    <para>When <firstterm>Mergers</firstterm> need to perform the <firstterm>Merge</firstterm> in a
      non-final state, when the presence of targets cannot be guaranteed, they are free to create
      preliminary targets again following the <link linkend="contentmodificationwithouttarget">Processing Requirements for
        Content Modification Without Target</link></para>
  </section>
  
</section>
    <section id="extensions">
    <title>Extension Mechanisms</title>
    <para>XLIFF 2.0 offers two mechanisms for storing custom data in an XLIFF document:</para>
    <orderedlist inheritnum="ignore" continuation="restarts">
        <listitem>
            <para>Using the <link linkend="metadata_module">Metadata 
                module</link> for storing custom data in elements defined by the official XLIFF 
                specification.</para>
        </listitem>
        <listitem>
            <para>Using the standard XML namespace mechanism for storing data in elements or attributes defined in a custom 
            XML Schema.</para>
        </listitem>
    </orderedlist>
    <para>Both mechanisms can be used simultaneously.</para>
    <section>
        <title>Extension Points</title>
        <para>The following <firstterm>XLIFF Core</firstterm> elements allow storing custom data in <link linkend="metadata"><code>&lt;mda:metadata&gt;</code></link> elements or in elements from a custom
            XML namespace:</para>
        <simplelist type="vert">
            <member>- <link linkend="file"><code>&lt;file&gt;</code></link></member>
            <member>- <link linkend="group"><code>&lt;group&gt;</code></link></member>
            <member>- <link linkend="unit"><code>&lt;unit&gt;</code></link></member>
        </simplelist>
        <!--  The June F2F meeting decided to allow cusotm elements wherever mda is allowed and vice versa, all modules and custom elements were removed from segment and lower to allow for resegmentation 
            <para>Custom extensions using 
            <olink targetdoc="../elements/metadata/metadata.xml" targetptr="metadata"><code>&lt;mda:metadata></code></olink> 
            are allowed in:</para>
        <simplelist>
            <member>- <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"><code>&lt;segment></code></olink></member>
            <member>- <olink targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"><code>&lt;ignorable></code></olink></member>            
            <member>- <olink targetdoc="../elements/candidates/match.xml" targetptr="match"><code>&lt;mtc:match></code></olink></member>
        </simplelist>
         -->    
        <para>The following <firstterm>XLIFF Core</firstterm> elements accept custom
            attributes:</para>
        <simplelist type="vert">
            <member>- <link linkend="xliff"><code>&lt;xliff&gt;</code></link></member>
            <member>- <link linkend="file"><code>&lt;file&gt;</code></link></member>
            <member>- <link linkend="group"><code>&lt;group&gt;</code></link></member>
            <member>- <link linkend="unit"><code>&lt;unit&gt;</code></link></member>
            <!--  Extensions points have been removed from segment and lower structural levels to allow for resegmentation 
            <member>- <olink targetdoc="../elements/structural/segment.xml" targetptr="segment"><code>&lt;segment></code></olink></member>
            <member>- <olink targetdoc="../elements/structural/ignorable.xml" targetptr="ignorable"><code>&lt;ignorable></code></olink></member>            
            <member>- <olink targetdoc="../elements/structural/source.xml" targetptr="source"><code>&lt;source></code></olink></member>
            <member>- <olink targetdoc="../elements/structural/target.xml" targetptr="target"><code>&lt;target></code></olink></member>
             -->
            <member>- <link linkend="note"><code>&lt;note&gt;</code></link></member>
            <member>- <link linkend="mrk"><code>&lt;mrk&gt;</code></link></member>
            <member>- <link linkend="sm"><code>&lt;sm&gt;</code></link></member>
        </simplelist>
        <section>
            <title>Extensibility of <firstterm>XLIFF Modules</firstterm></title>
        <para>For extensibility of <firstterm>XLIFF Modules</firstterm> please refer to the relevant
            Module Sections.</para></section>
        
    </section>
  
  <section id="ext-constraints">
    <title>Constraints</title>
    <itemizedlist>
      <listitem><para>When using identifiers, an extension <glossterm>must</glossterm> use either an attribute named <code>id</code> or the attribute
        <code>xml:id</code> to specify them.</para></listitem>
      <listitem><para>Extensions identifiers <glossterm>must</glossterm> be unique within their immediate <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link> 
        or <link linkend="unit"><code>&lt;unit&gt;</code></link> 
        enclosing element.</para></listitem>
      <listitem><para>Identifier values used in extensions <glossterm>must</glossterm> be of type <code>xs:NMTOKEN</code> or compatible with <code>xs:NMTOKEN</code>
        (e.g. <code>xs:NAME</code> and <code>xs:ID</code> are compatible).</para></listitem>
    </itemizedlist>
    <para>These constraints are needed for the <link linkend="fragid">fragment identification mechanism</link>.</para>
  </section>
  
    <section>
        <title>Processing Requirements</title>
        <itemizedlist>
            <listitem>
                <para>A user extension, whether implemented using <link linkend="metadata"><code>&lt;mda:metadata&gt;</code></link> or using a custom namespace,
                        <glossterm>must not</glossterm> provide the same functionality as an
                    existing XLIFF core or module feature, however it <glossterm>may</glossterm>
                    complement an extensible XLIFF core feature or module feature or provide a new
                    functionality at the provided extension points.</para>
            </listitem>
            
            <listitem>
                <para><firstterm>Mergers</firstterm> <glossterm>must not</glossterm> rely on custom namespace extensions, other than the ones possibly defined in <link linkend="skeleton"><code>&lt;skeleton&gt;</code></link>, to create the <firstterm>Translated</firstterm> version of
                    the original document. </para>
            </listitem>
            
            <listitem>
                <para><firstterm>Writers</firstterm> that do not support a given custom namespace based user extension
                        <glossterm>should</glossterm> preserve that extension without
                    <firstterm>Modification</firstterm>.</para>
            </listitem>
        </itemizedlist>
    </section>
</section>



  </section>
  <section id="modules">
    <title>The Modules Specifications</title>
    <para>This section specifies the <glossterm>optional</glossterm> <firstterm>Modules</firstterm> that <glossterm>may</glossterm> be used along with <firstterm>Core</firstterm> for advanced functionality.</para>

    <!-- Module includes -->
    <!--  2.0 modules come first. Even if a module is deprecated, the spec should keep a placeholder, so that modules are numbered presistently in all 2.x versions -->  
      <section id="candidates">
    <title>Translation Candidates Module</title>

    <section>
        <title>Introduction</title>

    <para>The source text of a document can be pre-processed against various translation resources
        (TM, MT, etc.) to provide translation candidates. This module provides an XLIFF capability to store lists of
        possible translations along with information about the similarity of the match, the quality
        of the translation, its provenance, etc. </para>
    </section>
    <section>
        <title>Module Namespace and Validation Artifacts</title>
        <para>The namespace for the Translation Candidates module is: <code>urn:oasis:names:tc:xliff:matches:2.0</code></para>
        <para>Schema and Schematron for this module are available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/matches.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/matches.xsd</ulink> and <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/matches.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/matches.sch</ulink>.</para>


    </section>
    <section>
        <title>Module Fragment Identification Prefix</title>
        <para>The fragment identification prefix for the Translation Candidates module is:
                <code>mtc</code></para>
    </section>

    <section id="mtc_CoreReuse">
        <title>XLIFF Core Reuse</title>
        <para>The <link linkend="candidates">Translation Candidates Module</link> reuses several <firstterm>XLIFF Core</firstterm> elements, most of them have mandatory <link linkend="id"><code>xlf:id</code></link>. The uniqueness scopes for the reused <link linkend="id"><code>xlf:id</code></link> attributes are separate from the <firstterm>XLIFF Core</firstterm>. The following states the exact normative Constraints for the validation purposes:</para>
        <itemizedlist>
            <title>Constraints</title>
            <listitem>
                <para> When the <link linkend="id"><code>xlf:id</code></link> attribute is used on <link linkend="mrk"><code>&lt;xlf:mrk&gt;</code></link>, <link linkend="sm"><code>&lt;xlf:sm&gt;</code></link>, <link linkend="pc"><code>&lt;xlf:pc&gt;</code></link>, <link linkend="sc"><code>&lt;xlf:sc&gt;</code></link>, <link linkend="ec"><code>&lt;xlf:ec&gt;</code></link>, or <link linkend="ph"><code>&lt;xlf:ph&gt;</code></link> elements reused within the <link linkend="candidates">Translation Candidates Module</link>:</para>
                <itemizedlist>
                    <listitem><para>The inline elements enclosed by a <link linkend="target"><code>&lt;xlf:target&gt;</code></link> element
                        <glossterm>must</glossterm> use the duplicate <link linkend="id"><code>xlf:id</code></link> values
                        of their corresponding inline elements enclosed within the sibling <link linkend="source"><code>&lt;xlf:source&gt;</code></link> element if and only if those corresponding
                        elements exist.</para></listitem>

                    <listitem><para>Except for the above exception, the value <glossterm>must</glossterm> be unique among all of the above within the
                        enclosing <link linkend="match"><code>&lt;match&gt;</code></link>
                        element.
                    </para>
                    </listitem>
                </itemizedlist>
            </listitem>
            <listitem>
                <para>When used on <link linkend="data"><code>&lt;xlf:data&gt;</code></link> elements reused within the <link linkend="candidates">Translation Candidates Module</link>:</para>
                <para>The value <glossterm>must</glossterm> be unique among all <link linkend="data"><code>&lt;xlf:data&gt;</code></link> <code>xlf:id</code> attribute values within the enclosing
                    <link linkend="match"><code>&lt;match&gt;</code></link> element.</para>
            </listitem>
            <listitem>
                <para>When the <link linkend="dataref"><code>xlf:dataRef</code></link>, <link linkend="datarefstart"><code>xlf:datarefstart</code></link>, and <link linkend="datarefend"><code>xlf:dataRefEnd</code></link> attributes are used on <link linkend="pc"><code>&lt;xlf:pc&gt;</code></link>, <link linkend="sc"><code>&lt;xlf:sc&gt;</code></link>, <link linkend="ec"><code>&lt;xlf:ec&gt;</code></link>, or <link linkend="ph"><code>&lt;xlf:ph&gt;</code></link> elements reused within the <link linkend="candidates">Translation Candidates Module</link>, their
                    <code>NMTOKEN</code> values <glossterm>must</glossterm> identify <link linkend="data"><code>&lt;data&gt;</code></link> elements within the enclosing <link linkend="match"><code>&lt;match&gt;</code></link> element. Those attributes <glossterm>must
                                not</glossterm> be used without corresponding <link linkend="data"><code>&lt;data&gt;</code></link> elements within the enclosing <link linkend="match"><code>&lt;match&gt;</code></link> element.  </para>
            </listitem>
        </itemizedlist>
    </section>

    <section id="matchAnnotation">
        <title>Translation Candidate Annotation</title>

        <para>This annotation can be used to mark up the scope of a translation candidate within the
            content of a unit. This module can reference any source or even target spans of content
            that are referencable via the XLIFF <link linkend="fragid">Fragment Identification</link> mechanism, however in case the
            corresponding fragment is not suitably delimited, the best way how to mark the relevant
            span is to use the following annotation.</para>

        <para>Usage:</para>

        <itemizedlist spacing="compact">
            <listitem>
                <para>The <link linkend="id"><code>id</code></link> attribute is
                    <glossterm>required</glossterm></para>
            </listitem>

            <listitem>
                <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>required</glossterm>
                    and set to <code>mtc:match</code></para>
            </listitem>


            <listitem>
                <para>The <link linkend="ref"><code>ref</code></link> attribute is not used.</para>
            </listitem>

            <listitem>
                <para>The <link linkend="translate"><code>translate</code></link> attribute is
                        <glossterm>optional</glossterm></para>
            </listitem>
        </itemizedlist>

        <para>For example:</para>

        <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;mtc:matches&gt;
    &lt;mtc:match ref="#m1"&gt;
      &lt;source&gt;He is my friend.&lt;/source&gt;
      &lt;target&gt;Il est mon ami.&lt;/target&gt;
    &lt;/mtc:match&gt;
    &lt;mtc:match ref="#m1"&gt;
      &lt;source&gt;He is my best friend.&lt;/source&gt;
      &lt;target&gt;Il est mon meilleur ami.&lt;/target&gt;
    &lt;/mtc:match&gt;
  &lt;/mtc:matches&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;mrk id="m1" type="mtc:match"&gt;He is my friend.&lt;/mrk&gt;&lt;/source&gt;
  &lt;/segment&gt;
  &lt;segment&gt;
    &lt;source&gt;Yet, I barely see him.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
    </section>

    <section>
        <title>Module Elements</title>
        <para>The elements defined in the Translation Candidates module are:
            <link linkend="matches"><code>&lt;matches&gt;</code></link> and
            <link linkend="match"><code>&lt;match&gt;</code></link>.
        </para>

<section><!--  gen. 20140318  -->
  <title>Tree Structure</title>
  <para>Legend:</para>
  <simplelist type="vert">
    <member>1 = one</member>
    <member>+ = one or more</member>
    <member>? = zero or one</member>
    <member>* = zero or more</member>
  </simplelist>
  <programlisting format="linespecific">
<link linkend="matches"><code>&lt;matches&gt;</code></link>
|
+---<link linkend="match"><code>&lt;match&gt;</code></link> +
  |
  +---<link linkend="metadata"><code>&lt;mda:metadata&gt;</code></link> ?
  |
  +---<link linkend="originaldata"><code>&lt;xlf:originalData&gt;</code></link> ?
  |
  +---<link linkend="source"><code>&lt;xlf:source&gt;</code></link> 1
  |
  +---<link linkend="target"><code>&lt;xlf:target&gt;</code></link> 1
  |
  +---&lt;other&gt; *


  </programlisting>
</section>

        <section id="matches">
    <title>matches</title>
    <para>Collection of matches retrieved from any leveraging system (MT, TM, etc.)</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="match"><code>&lt;match&gt;</code></link> elements</member>
    </simplelist>
</section>
        <section id="match">
    <title>match</title>
    <para>A potential translation suggested for a part of the source content of the enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link> element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
      <member>- Zero or one <link linkend="metadata"><code>&lt;mda:metadata&gt;</code></link> element followed by.</member>
      <member>- Zero or one <link linkend="originaldata"><code>&lt;originalData&gt;</code></link> element followed by</member>
      <member>- One <link linkend="source"><code>&lt;source&gt;</code></link> element followed by</member>
      <member>- One <link linkend="target"><code>&lt;target&gt;</code></link> element followed by</member>
      <member>- elements from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="candidates_id"><code>id</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="matchQuality"><code>matchQuality</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="matchSuitability"><code>matchSuitability</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="candidates_origin"><code>origin</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="candidates_ref"><code>ref</code></link>, <glossterm>required</glossterm></member>
      <member>- <link linkend="candidates_reference"><code>reference</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="candidates_similarity"><code>similarity</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="candidates_subtype"><code>subType</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="candidates_type"><code>type</code></link>, <glossterm>optional</glossterm></member>
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para> When a <link linkend="target"><code>&lt;target&gt;</code></link> element is a child of <link linkend="match"><code>&lt;match&gt;</code></link> and the <link linkend="candidates_reference"><code>reference</code></link> attribute is set to <code>yes</code>, the
          <glossterm>optional</glossterm>
        <link linkend="xml_lang"><code>xml:lang</code></link> attribute's value is not <glossterm>required</glossterm> to
        be equal to the value of the <link linkend="trgLang"><code>trgLang</code></link> attribute of the enclosing <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para>
    </listitem>
    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly allowed by
        the wildcard <code>other</code>:</para>
      <simplelist type="vert">
        <member>- attributes from the namespace <code>http://www.w3.org/2005/11/its</code>,
            <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="ITS-module">ITS Module</link> are
          met.</member>
        <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:itsm:2.1</code>,
            <glossterm>optional</glossterm>, provided that the Constraints specified in the <link linkend="ITS-module">ITS
            Module</link> are met.</member>
      </simplelist>
    </listitem>
      <!--  removed per  csprd03 235 xml:lang-related text and Translation Candidate module
      <listitem>
        <para><olink targetdoc="../../attributes/xml_lang.xml" targetptr="xml_lang"><code>xml:lang</code></olink>
          <glossterm>must not</glossterm> be set on the <code>match</code> element.</para>
      </listitem>
       -->
  </itemizedlist>
  <!--  removed per  csprd03 235 xml:lang-related text and Translation Candidate module
  <warning><para>Although the XML namespace is allowed by extensibility on the above constrained extension
      point, setting <code>xml:lang</code> here would conflict with the semantic of <olink
        targetdoc="srcLang" targetptr="srcLang"><code>srcLang</code></olink>, <olink
        targetdoc="trgLang" targetptr="trgLang"><code>trgLang</code></olink>, and
        <code>xml:lang</code> as defined in this specification, because of XLIFF being primarily a
      bilingual format.</para></warning>
       -->
</section>
    </section>

    <section>
        <title>Module Attributes</title>
        <para>The attributes defined in the Translation Candidates module are:
            <link linkend="candidates_id"><code>id</code></link>,

            <link linkend="matchQuality"><code>matchQuality</code></link>,
            <link linkend="matchSuitability"><code>matchSuitability</code></link>,
            <link linkend="candidates_origin"><code>origin</code></link>,

            <link linkend="candidates_ref"><code>ref</code></link>,

            <link linkend="candidates_reference"><code>reference</code></link>,

            <link linkend="candidates_similarity"><code>similarity</code></link>,

            <link linkend="candidates_subtype"><code>subType</code></link>, and

            <link linkend="candidates_type"><code>type</code></link>.
        </para>

        <section id="candidates_id">
  <title>id</title>

  <para>Identifier - a character string used to identify a <link linkend="match"><code>&lt;match&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN. </para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  
  
  <para><emphasis>Used in:</emphasis> <link linkend="match"><code>&lt;match&gt;</code></link>.</para>
<itemizedlist>
  <title>Constraints</title>
  <listitem><para>The <link linkend="candidates_id"><code>id</code></link> value <glossterm>must</glossterm> be unique within the enclosing <link linkend="matches"><code>&lt;matches&gt;</code></link> element.</para></listitem>
</itemizedlist>

</section>


        <section id="matchQuality">
    <title>matchQuality</title>
    
    <para>Match quality - indicates the quality of the <link linkend="target"><code>&lt;target&gt;</code></link> child of a <link linkend="match"><code>&lt;match&gt;</code></link> element based on an external benchmark or metric.</para>
    
    <para><emphasis>Value description:</emphasis> a decimal number between 0.0 and 100.0.</para>
        
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="match"><code>&lt;match&gt;</code></link>.</para>
    
<note><para>This attribute can carry a human review based metrics score, a Machine Translation
            self-reported confidence score etc.</para></note>
</section>
        <section id="matchSuitability">
    <title>matchSuitability</title>
    
    <para>Match suitability - indicates the general suitability and relevance of its <link linkend="match"><code>&lt;match&gt;</code></link> element based on various external benchmarks or metrics
        pertaining to both the <link linkend="source"><code>&lt;source&gt;</code></link>  and the <link linkend="target"><code>&lt;target&gt;</code></link> children of the <link linkend="match"><code>&lt;match&gt;</code></link>. </para>
    <para> This attribute is intended to carry a value that can be combined from values provided in
        <link linkend="candidates_similarity"><code>similarity</code></link> and <link linkend="matchQuality"><code>matchQuality</code></link> attributes based on an externally provided
        algorithm.</para>
    
    <para><emphasis>Value description:</emphasis> a decimal number between 0.0 and 100.0.</para>
        
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="match"><code>&lt;match&gt;</code></link>.</para>
    
    <note>
        <para> This attribute is also useful for mapping match-quality as specified in XLIFF 1.2
            because 1.2 is not capable of discerning between the source similarity and the target
            quality.</para>
    </note>
    <itemizedlist>
        <title>Processing Requirements</title>
        <listitem>
            <para><firstterm>Agents</firstterm> processing this module <glossterm>must</glossterm> make use of <link linkend="matchSuitability"><code>matchSuitability</code></link> for match ordering purposes if the attribute is specified.
            </para>
        </listitem>
    </itemizedlist>
</section>
        <section id="candidates_origin">
    <title>origin</title>
    
    <para>
		Match origin - indicates the tool, system or repository that generated a <link linkend="match"><code>&lt;match&gt;</code></link>
        element. This is a free text short informative
description. For example, 'Microsoft Translator Hub' or 'tm-client123-v456', or 'MSTH
(52217d25-d9e7-54a2-af44-3d4e4341d112_healthc).'
		
		</para>
    
    <para><emphasis>Value description:</emphasis> Text.</para>
        
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="match"><code>&lt;match&gt;</code></link>.</para>
    
</section>

        <section id="candidates_ref">
  <title>ref</title>

  <para>Reference - points to a span of text within the same unit, to which the translation
    candidate is relevant. </para>

  <para><emphasis>Value description:</emphasis> IRI</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis>
    <link linkend="match"><code>&lt;match&gt;</code></link>.</para>

  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>The value of the <link linkend="candidates_ref"><code>ref</code></link> attribute <glossterm>must</glossterm> point to a span of text
        within the same <link linkend="unit"><code>&lt;unit&gt;</code></link> element where the <link linkend="match"><code>&lt;match&gt;</code></link> is located.</para>
      
    </listitem>
  </itemizedlist>
</section>

        <section id="candidates_reference">
  <title>reference</title>

  <para>Reference - indicates that the <link linkend="target"><code>&lt;target&gt;</code></link> child of the <link linkend="match"><code>&lt;match&gt;</code></link> element contains a <firstterm>Translation</firstterm> into
    a reference language rather than into the target language. For example, a German translation can
    be used as reference by a Luxembourgish translator.</para>

  <para><emphasis>Value description:</emphasis> <code>yes</code> or <code>no</code>.</para>

  <para><emphasis>Default value:</emphasis> <code>no</code>.</para>
 
  <para><emphasis>Used in:</emphasis> <link linkend="match"><code>&lt;match&gt;</code></link></para>
  
</section>

        <section id="candidates_similarity">
    <title>similarity</title>
    
    <para>Similarity - indicates the similarity level between the content of the  
        <link linkend="source"><code>&lt;source&gt;</code></link>
        child of a
        <link linkend="match"><code>&lt;match&gt;</code></link>
        element and the translatable text being matched.</para>
    
    <para><emphasis>Value description:</emphasis> a decimal number between 0.0 and 100.0.</para>
        
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="match"><code>&lt;match&gt;</code></link>.</para>
    
</section>
        <section id="candidates_subtype">
  <title>subType</title>

  <para>Sub-type - indicates the sub-type, i.e. a secondary level type, of a <link linkend="match"><code>&lt;match&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> </para>
  <para>The value is composed of a prefix and a sub-value separated by a character : (U+003A). The
    prefix is a string uniquely identifying a collection of values for a specific authority. The
    sub-value is any string value defined by an authority. </para>
  <para>The prefix <code>xlf</code> is reserved for this specification, but no sub-values are defined for it at
    this time. Other prefixes and sub-values <glossterm>may</glossterm> be defined by the users.</para>
  <itemizedlist>
    <listitem>
      <para><emphasis>Default value:</emphasis> undefined</para>
    </listitem>
  </itemizedlist>
  <para><emphasis>Used in:</emphasis> <link linkend="match"><code>&lt;match&gt;</code></link>
  </para>
  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>If the attribute <link linkend="candidates_subtype"><code>subType</code></link> is used, the attribute <link linkend="candidates_type"><code>type</code></link>
        <glossterm>must</glossterm> be explicitly set.</para>
    </listitem>
  </itemizedlist>
    <itemizedlist>
            <title>Processing Requirements</title>
    <listitem>
      <para><firstterm>Writers</firstterm> updating the attribute <link linkend="candidates_type"><code>type</code></link> <glossterm>must</glossterm> also update or delete <link linkend="candidates_subtype"><code>subType</code></link> .</para>
    </listitem>
  </itemizedlist>
</section>

        <section id="candidates_type">
  <title>type</title>

  <para>Type - indicates the type of a <link linkend="match"><code>&lt;match&gt;</code></link> element, it gives the value providing
    additional information on how the match was generated or qualifying further the relevance of the
    match. The list of pre-defined values is general and user-specific information can be added
    using the <link linkend="candidates_subtype"><code>subType</code></link> attribute.</para>

  <para><emphasis>Value description:</emphasis> </para>

  <table>
    <title>Values</title>
    <tgroup cols="2">
      <thead>
        <row>
          <entry>Value</entry>
          <entry>Description</entry>
        </row>
      </thead>
      <tbody>
        <row>
          <entry>am</entry>
          <entry>Assembled Match: candidate generated by assembling parts of different translations. For example: constructing a candidate by using the known
            translations of various spans of content of the source.
          </entry>
        </row>
        <row>
          <entry>mt</entry>
          <entry>Machine Translation: candidate generated by a machine translation system.</entry>
        </row>
        <row>
          <entry>icm</entry>
          <entry>In Context Match: candidate for which the content context of the translation was the same as the one of the current source. For example:
            the source text for both contents is also preceded and/or followed by an identical source segment, or both appear as e.g. level 2 headings.</entry>
        </row>
        <row>
          <entry>idm</entry>
          <entry>Identifier-based Match: candidate that has an identifier identical to the one of the source content. For example: the previous
            translation of a given UI component with the same ID. match that has an identifier identical to the source
            content.</entry>
        </row>
        <row>
          <entry>tb</entry>
          <entry>Term Base: candidate obtained from a terminological database, i.e. the whole source segment
            matches with a source term base entry.</entry>
        </row>
        <row>
          <entry>tm</entry>
          <entry>Translation Memory: candidate based on a simple match of the source content.</entry>
        </row>
        <row>
          <entry>other</entry>
          <entry>Candidate of a top level type not covered by any of the above definitions.</entry>
        </row>
      </tbody>
    </tgroup>
  </table>
  <itemizedlist>
    <listitem>
      <para><emphasis>Default value:</emphasis> tm</para>
    </listitem>
  </itemizedlist>
  <para><emphasis>Used in:</emphasis> <link linkend="match"><code>&lt;match&gt;</code></link>
  </para>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para><firstterm>Writers</firstterm> updating the attribute <link linkend="candidates_type"><code>type</code></link> <glossterm>must</glossterm> also update or delete <link linkend="candidates_subtype"><code>subType</code></link> .</para>
    </listitem>
  </itemizedlist>

</section>


    </section>

    <section>
      <title>Example</title>

      <programlisting format="linespecific">
&lt;mtc:matches&gt;
  &lt;mtc:match id="[NMTOKEN]"&gt;
    &lt;xlf:source&gt;&lt;!-- text data --&gt;&lt;/xlf:source&gt;
    &lt;xlf:target&gt;&lt;!-- text data --&gt;&lt;/xlf:target&gt;
    &lt;xlf:originalData&gt;
      &lt;xlf:data id="[NMTOKEN]"&gt;
        &lt;xlf:cp hex="[required]"&gt;&lt;!-- text data --&gt;&lt;/xlf:cp&gt;
      &lt;/xlf:data&gt;
    &lt;/xlf:originalData&gt;
    &lt;mda:metadata&gt;
      &lt;mda:metagroup&gt;&lt;!-- One or more of mda:metagroup or mda:meta --&gt;
          &lt;/mda:metagroup&gt;
    &lt;/mda:metadata&gt;
    &lt;!-- Zero, one or more elements from any namespace --&gt;
  &lt;/mtc:match&gt;
&lt;/mtc:matches&gt;
 </programlisting>

    </section>



</section>
      <section id="glossary-module">
  <title>Glossary Module</title>
  <section>
    <title>Introduction</title>

  <para>Simple glossaries, consisting of a list of terms with a definition or translation, can
    be optionally embedded in an XLIFF document using the namespace mechanism to include elements
    from the Glossary module.</para>
  </section>

  <section>
            <title>Module Namespace and Validation Artifacts</title>
            <para>The namespace for the Glossary module is: <code>urn:oasis:names:tc:xliff:glossary:2.0</code></para>
    <para>Schema and Schematron for this module are available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/glossary.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/glossary.xsd</ulink> and <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/glossary.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/glossary.sch</ulink></para>
    </section>

  <section>
    <title>Module Fragment Identification Prefix</title>
    <para>The fragment identification prefix for the Glossary module is: <code>gls</code></para>
  </section>

    <section>
        <title>Module Elements</title>
        <para>The elements defined in the Glossary module are:
                <link linkend="glossary"><code>&lt;glossary&gt;</code></link>,
                <link linkend="glossentry"><code>&lt;glossEntry&gt;</code></link>,
                <link linkend="term"><code>&lt;term&gt;</code></link>,
                <link linkend="translation"><code>&lt;translation&gt;</code></link> and
                <link linkend="definition"><code>&lt;definition&gt;</code></link>.
        </para>

<section><!--  gen. 20140318  -->
  <title>Tree Structure</title>
  <para>Legend:</para>
  <simplelist type="vert">
    <member>1 = one</member>
    <member>+ = one or more</member>
    <member>? = zero or one</member>
    <member>* = zero, one or more</member>
  </simplelist>
  <programlisting format="linespecific">
<link linkend="glossary"><code>&lt;glossary&gt;</code></link>
|
+---<link linkend="glossentry"><code>&lt;glossEntry&gt;</code></link> +
  |
  +---<link linkend="term"><code>&lt;term&gt;</code></link> 1
  |
  +---<link linkend="translation"><code>&lt;translation&gt;</code></link> *
  |
  +---<link linkend="definition"><code>&lt;definition&gt;</code></link> ?
  |
  +---&lt;other&gt; *


  </programlisting>
</section>


            <section id="glossary">
    <title>glossary</title>
    <para>Container for a list of glossary terms.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="glossentry"><code>&lt;glossEntry&gt;</code></link> elements.</member>
    </simplelist>
</section>
            <section id="glossentry">
    <title>glossEntry</title>
    <para>Glossary entry.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One <link linkend="term"><code>&lt;term&gt;</code></link> element followed by </member>
        <member>- Zero, one or more <link linkend="translation"><code>&lt;translation&gt;</code></link>
            elements followed by </member>
        <member>- Zero or one <link linkend="definition"><code>&lt;definition&gt;</code></link>
            element followed by </member>
        <member>- elements from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>
      - <link linkend="gls_id">
        <code>id</code>
        </link>, <glossterm>optional</glossterm>
      </member>
        <member> - <link linkend="gls_ref">
                <code>ref</code>
            </link>, <glossterm>optional</glossterm></member>
      <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>A <link linkend="glossentry"><code>&lt;glossEntry&gt;</code></link> element <glossterm>must</glossterm> contain a
                <link linkend="translation"><code>&lt;translation&gt;</code></link>  or a
                <link linkend="definition"><code>&lt;definition&gt;</code></link> element
                to be valid.</para>
        </listitem>
        <listitem>
            <para>The following <firstterm>XLIFF Module</firstterm> elements are explicitly allowed
                by the wildcard <code>other</code>:</para>
            <simplelist type="vert">
                
                <member>- Zero or one <link linkend="metadata"><code>&lt;mda:metadata&gt;</code></link>
                    elements</member>
                
                
            </simplelist>
        </listitem>
    </itemizedlist>
</section>
            <section id="term">
    <title>term</title>
    <para>A term in the glossary, expressed in the source language of the enclosing
        <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Text</member>
    </simplelist>

  <para>
    <emphasis>Attributes:</emphasis>
  </para>
  <simplelist type="vert">
    <member>
      - <link linkend="gls_source">
        <code>source</code>
      </link>, <glossterm>optional</glossterm>
    </member>
    <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
  </simplelist>

</section>
            <section id="translation">
    <title>translation</title>
    <para>A translation of the sibling <link linkend="term"><code>&lt;term&gt;</code></link>
        element expressed in the target language of the enclosing
        <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element. Multiple translations can be specified as synonyms.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Text</member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="gls_id"><code>id</code></link>, <glossterm>optional</glossterm></member>
        <member> - <link linkend="gls_ref">
            <code>ref</code>
        </link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="gls_source"><code>source</code></link>, <glossterm>optional</glossterm></member>
      <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

</section>
            <section id="definition">
    <title>definition</title>
    <para>Optional definition in plain text for the term stored in the sibling
        <link linkend="term"><code>&lt;term&gt;</code></link> element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Text</member>
    </simplelist>

  <para>
    <emphasis>Attributes:</emphasis>
  </para>
  <simplelist type="vert">
    <member>
      - <link linkend="gls_source">
        <code>source</code>
      </link>, <glossterm>optional</glossterm>
    </member>
    <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
  </simplelist>

</section>
        </section>

        <section>
            <title>Module Attributes</title>
            <para>The attributes defined in the Glossary module are:
            <link linkend="gls_id"><code>id</code></link>,
            <link linkend="gls_ref"><code>ref</code></link>,
              and
            <link linkend="gls_source"><code>source</code></link></para>

            <section id="gls_id">
  <title>id</title>

  <para>Identifier - a character string used to identify a <link linkend="glossentry"><code>&lt;glossEntry&gt;</code></link> or <link linkend="translation"><code>&lt;translation&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="glossentry"><code>&lt;glossEntry&gt;</code></link> and <link linkend="translation"><code>&lt;translation&gt;</code></link></para>
<itemizedlist>
  <title>Constraints</title>
  <listitem>
    <para>The values of <link linkend="gls_id"><code>id</code></link> attributes <glossterm>must</glossterm> be unique among all <link linkend="glossentry"><code>&lt;glossEntry&gt;</code></link> 
    and <link linkend="translation"><code>&lt;translation&gt;</code></link> elements within the given enclosing 
      <link linkend="glossary"><code>&lt;glossary&gt;</code></link> element.
    </para>
  </listitem>
</itemizedlist>  


</section>
            <section id="gls_ref">
  <title>ref</title>

  <para>Reference - points to a span of source or target text within the same unit, to which the
    glossary entry is relevant.</para>

  <para><emphasis>Value description:</emphasis> IRI</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis>
    <link linkend="glossentry"><code>&lt;glossEntry&gt;</code></link> and <link linkend="translation"><code>&lt;translation&gt;</code></link>.</para>

  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>The value of the <link linkend="gls_ref"><code>ref</code></link> attribute <glossterm>MUST</glossterm> point to a span of text
        within the same <link linkend="unit"><code>&lt;unit&gt;</code></link> element, where the enclosing <link linkend="glossary"><code>&lt;glossary&gt;</code></link> element is located.</para>
      
    </listitem>
  </itemizedlist>
</section>
            <section id="gls_source">
  <title>source</title>

  <para>Source - indicates the origin of the content of the element where the attribute is
    defined.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="term"><code>&lt;term&gt;</code></link>, 
  <link linkend="translation"><code>&lt;translation&gt;</code></link>, and 
  <link linkend="definition"><code>&lt;definition&gt;</code></link>.</para>
  
</section>
        </section>



    <section>
      <title>Example</title>

<programlisting format="linespecific">
<!-- &lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Press the &lt;mrk id="m1" type="term"&gt;TAB key&lt;/mrk&gt;.&lt;/source&gt;
    &lt;target&gt;Drücken Sie die &lt;mrk id="m2" type="term"&gt;TAB-TASTE&lt;/mrk&gt;.&lt;/target&gt;
  &lt;/segment&gt;
  &lt;gls:glossary&gt;
    &lt;gls:glossentry ref="#m1"&gt;
      &lt;gls:term source="publicTermbase"&gt;TAB key&lt;/gls:term&gt;
      &lt;gls:translation id="1" source="myTermbase"&gt;Tabstopptaste&lt;/gls:translation&gt;
      &lt;gls:translation ref="#m2" source="myTermbase"&gt;TAB-TASTE&lt;/gls:translation&gt;
      &lt;gls:definition source="publicTermbase"&gt;A keyboard key that is traditionally used to insert tab characters into a document.&lt;/gls:definition&gt;
    &lt;/gls:glossentry&gt;
  &lt;/gls:glossary&gt;
&lt;/unit&gt;  -->
&lt;unit id="1"&gt;
  &lt;gls:glossary&gt;
    &lt;gls:glossEntry ref="#m1"&gt;
      &lt;gls:term source="publicTermbase"&gt;TAB key&lt;/gls:term&gt;
      &lt;gls:translation id="1" source="myTermbase"&gt;Tabstopptaste
          &lt;/gls:translation&gt;
      &lt;gls:translation ref="#t=m1" source="myTermbase"&gt;TAB-TASTE
          &lt;/gls:translation&gt;
      &lt;gls:definition source="publicTermbase"&gt;A keyboard key that is
          traditionally used to insert tab characters into a document.
          &lt;/gls:definition&gt;
    &lt;/gls:glossEntry&gt;
  &lt;/gls:glossary&gt;
  &lt;segment&gt;
    &lt;source&gt;Press the &lt;mrk id="m1" type="term"&gt;TAB key&lt;/mrk&gt;.&lt;/source&gt;
    &lt;target&gt;Drücken Sie die &lt;mrk id="m1" type="term"&gt;TAB-TASTE&lt;/mrk&gt;. &lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>

    </section>

        <!-- <xi:include href="schema.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
          TC agreed https://lists.oasis-open.org/archives/xliff/201412/msg00049.html to get rid of schema listings in the spec  -->

</section>
      <section id="fs-mod">
<title>Format Style Module</title>

<section>
<title>Introduction</title>
<para>This is intended as a namespace mechanism to carry inside an XLIFF document information needed for generating
a quick at a glance HTML preview of XLIFF content using a predefined set of simple HTML formatting elements.</para>
</section>
<section>
    <title>Module Namespace and Validation Artifacts</title>
<para>The namespace for the Format style module is: <code>urn:oasis:names:tc:xliff:fs:2.0</code></para>
<para>Schema and Schematron for this module are available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/fs.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/fs.xsd</ulink> and <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/fs.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/fs.sch</ulink>.</para>
    
</section>
<section>
<title>Module Fragment Identification Prefix</title>
<para>Format Style module does not have a fragment identification prefix. Prefix <code>fs</code> is reserved 
in case it became needed in the future developments of this module.</para>
</section>
<section>
<title>Module Specification</title>

<para>Format Style module consists of just two attributes: <link linkend="fs"><code>fs</code></link> and <link linkend="subFs"><code>subFs</code></link>. It does not specify any elements.</para>
<para>Format Style allows most structural and inline XLIFF core elements to convey basic formatting
information using a predefined subset of HTML formatting elements. It primarily enables the
generation of HTML pages or snippets for preview and review purposes. It <glossterm>must not</glossterm>
be used to prescribe a roundtrip to a source document format.</para>
<para>The <link linkend="fs"><code>fs</code></link> attribute holds the name of an HTML formatting element. If additional style
information is needed, the <glossterm>optional</glossterm> <link linkend="subFs"><code>subFs</code></link> attribute is provided.</para>
<itemizedlist>
<title>Constraints</title>
<listitem>
<para>The Format Style attributes <glossterm>must</glossterm> be configured in such a way that the HTML <link linkend="HTML5">[HTML5]</link> snippet resulting at the <link linkend="file"><code>&lt;file&gt;</code></link> level is valid.</para>
</listitem>
</itemizedlist>
<itemizedlist>
<title>Processing Requirements</title>
<listitem>
<para><firstterm>Extractors</firstterm> and <firstterm>Enrichers</firstterm> <glossterm>should</glossterm> use the following method to validate their HTML snippets:</para>
<orderedlist inheritnum="ignore" continuation="restarts">
<listitem>
<para>Parse the snippet with the <link linkend="HTML5">[HTML5]</link> fragment parsing algorithm, see <ulink url="http://www.w3.org/TR/html5/syntax.html#parsing-html-fragments">http://www.w3.org/TR/html5/syntax.html#parsing-html-fragments</ulink>.</para>
</listitem>
<listitem>
<para>the result <glossterm>must</glossterm> be a valid DOM tree as per <link linkend="HTML5">[HTML5]</link>, see <ulink url="http://www.w3.org/TR/html5/infrastructure.html#tree-order">http://www.w3.org/TR/html5/infrastructure.html#tree-order</ulink>.
</para>
</listitem>
</orderedlist>
</listitem>
</itemizedlist>

<note>
<para>The above constraint and validation method will make sure that the snippets are renderable by
standard HTML browsers.</para>
</note>
</section>
<section>
<title>Module Attributes</title>
<para>The attributes defined in the <link linkend="fs-mod">Format Style</link> module are:
<link linkend="fs"><code>fs</code></link>,
<link linkend="subFs"><code>subFs</code></link>.
</para>

<section id="fs">
<title>fs</title>
<para>Format style attribute, fs - allows most structural and inline XLIFF core elements to convey
basic formatting information using a predefined subset of HTML formatting elements (for example,
HTML elements names like &lt;script&gt; are not included). It enables the generation of HTML pages
or snippets for preview and review purposes. If additional style information is needed, the <glossterm>optional</glossterm>
<link linkend="subFs"><code>subFs</code></link> attribute is
provided.</para>
<para><emphasis>Value description:</emphasis><table>
<title>Values</title>
<tgroup cols="2">
<colspec colname="col1"/>
<colspec colname="col2"/>
<tbody>
<row><entry colname="col1">a</entry><entry colname="col2">anchor</entry></row><row>
<entry>	b	</entry>
<entry>	bold text style	</entry>
</row>

<row>
<entry>	bdo	</entry>
<entry>	I18N BiDi over-ride	</entry>
</row>
<row>
<entry>	big	</entry>
<entry>	large text style	</entry>
</row>
<row>
<entry>	blockquote	</entry>
<entry>	long quotation	</entry>
</row>
<row>
<entry>	body	</entry>
<entry>	document body	</entry>
</row>
<row>
<entry>	br	</entry>
<entry>	forced line break	</entry>
</row>
<row>
<entry>	button	</entry>
<entry>	push button	</entry>
</row>
<row>
<entry>	caption	</entry>
<entry>	table caption	</entry>
</row>
<row>
<entry>	center	</entry>
<entry>	shorthand for DIV align=center	</entry>
</row>
<row>
<entry>	cite	</entry>
<entry>	citation	</entry>
</row>
<row>
<entry>	code	</entry>
<entry>	computer code fragment	</entry>
</row>
<row>
<entry>	col	</entry>
<entry>	table column	</entry>
</row>
<row>
<entry>	colgroup	</entry>
<entry>	table column group	</entry>
</row>
<row>
<entry>	dd	</entry>
<entry>	definition description	</entry>
</row>
<row>
<entry>	del	</entry>
<entry>	deleted text	</entry>
</row>
<row>
<entry>	div	</entry>
<entry>	generic language/style container	</entry>
</row>
<row>
<entry>	dl	</entry>
<entry>	definition list	</entry>
</row>
<row>
<entry>	dt	</entry>
<entry>	definition term	</entry>
</row>
<row>
<entry>	em	</entry>
<entry>	emphasis	</entry>
</row>

<row>
<entry>	h1	</entry>
<entry>	heading	</entry>
</row>
<row>
<entry>	h2	</entry>
<entry>	heading	</entry>
</row>
<row>
<entry>	h3	</entry>
<entry>	heading	</entry>
</row>
<row>
<entry>	h4	</entry>
<entry>	heading	</entry>
</row>
<row>
<entry>	h5	</entry>
<entry>	heading	</entry>
</row>
<row>
<entry>	h6	</entry>
<entry>	heading	</entry>
</row>
<row>
<entry>	head	</entry>
<entry>	document head	</entry>
</row>
<row>
<entry>	hr	</entry>
<entry>	horizontal rule	</entry>
</row>
<row>
<entry>	html	</entry>
<entry>	document root element	</entry>
</row>
<row>
<entry>	i	</entry>
<entry>	italic text style	</entry>
</row>

<row><entry>img</entry><entry>image</entry></row><row>
<entry>	label	</entry>
<entry>	form field label text	</entry>
</row>
<row>
<entry>	legend	</entry>
<entry>	fieldset legend	</entry>
</row>
<row>
<entry>	li</entry>
<entry>	list item	</entry>
</row>
<row>
<entry>	ol	</entry>
<entry>	ordered list	</entry>
</row>
<row>
<entry>	p	</entry>
<entry>	paragraph	</entry>
</row>
<row>
<entry>	pre	</entry>
<entry>	preformatted text	</entry>
</row>
<row>
<entry>	q	</entry>
<entry>	short inline quotation	</entry>
</row>
<row>
<entry>	s	</entry>
<entry>	strike-through text style	</entry>
</row>
<row>
<entry>	samp	</entry>
<entry>	sample program output, scripts, etc.	</entry>
</row>
<row>
<entry>	select	</entry>
<entry>	option selector	</entry>
</row>
<row>
<entry>	small	</entry>
<entry>	small text style	</entry>
</row>
<row>
<entry>	span	</entry>
<entry>	generic language/style container	</entry>
</row>
<row>
<entry>	strike	</entry>
<entry>	strike-through text	</entry>
</row>
<row>
<entry>	strong	</entry>
<entry>	strong emphasis	</entry>
</row>

<row>
<entry>	sub	</entry>
<entry>	subscript	</entry>
</row>
<row>
<entry>	sup	</entry>
<entry>	superscript	</entry>
</row>
<row>
<entry>	table	</entry>
<entry>		</entry>
</row>
<row>
<entry>	tbody	</entry>
<entry>	table body	</entry>
</row>
<row>
<entry>	td	</entry>
<entry>	table data cell	</entry>
</row>

<row>
<entry>	tfoot	</entry>
<entry>	table footer	</entry>
</row>
<row>
<entry>	th	</entry>
<entry>	table header cell	</entry>
</row>
<row>
<entry>	thead	</entry>
<entry>	table header	</entry>
</row>
<row>
<entry>	title	</entry>
<entry>	document title	</entry>
</row>
<row>
<entry>	tr	</entry>
<entry>	table row	</entry>
</row>
<row>
<entry>	tt	</entry>
<entry>	teletype or monospaced text style	</entry>
</row>
<row>
<entry>	u	</entry>
<entry>	underlined text style	</entry>
</row>
<row>
<entry>	ul	</entry>
<entry>	unordered list	</entry>
</row>
</tbody>
</tgroup>
</table>
 </para>
<para><emphasis>Default value:</emphasis> undefined.</para>
<para><emphasis>Used in:</emphasis>
<link linkend="file"><code>&lt;file&gt;</code></link>,
<link linkend="unit"><code>&lt;unit&gt;</code></link>,


<!--  modules not allowed in segment

<olink targetdoc="../elements/structural/segment.xml"
targetptr="segment"><code>&lt;segment&gt;</code></olink>,
 -->


 <link linkend="note"><code>&lt;note&gt;</code></link>,



<!--  modules not allowed in segment
<olink
targetdoc="../elements/structural/source.xml" targetptr="source"
><code>&lt;source&gt;</code></olink>, <olink targetdoc="../elements/structural/target.xml"
targetptr="target"><code>&lt;target&gt;</code></olink>,

 -->

<link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>, <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and  <link linkend="sm"><code>&lt;sm&gt;</code></link>. </para>

<warning><para>The <link linkend="fs"><code>fs</code></link> attribute is not intended to facilitate <firstterm>Merging</firstterm> back into the original format. </para></warning>

<itemizedlist>
<title>Constraints</title>
<listitem><para>The <link linkend="fs"><code>fs</code></link> <glossterm>must</glossterm> only be used with <link linkend="ec"><code>&lt;ec&gt;</code></link> in cases where the <code>isolated</code> attribute is set to 'yes'.</para>
</listitem>

</itemizedlist>


<itemizedlist>
<title>Processing Requirements</title>
<listitem>
<para><firstterm>Writers</firstterm> updating the attribute <link linkend="fs"><code>fs</code></link> <glossterm>must</glossterm> also update or delete <link linkend="subFs"><code>subFs</code></link>.</para>
</listitem>
</itemizedlist>

<para><emphasis>Example: </emphasis>To facilitate HTML preview, <link linkend="fs">fs</link> can be applied to XLIFF like this like:</para>
<!--  seems like a stray
<programlisting>&lt;ph id="ph1" fs:fs="img" fs:subFs="src,smileface.png" /></programlisting>
 -->

<programlisting format="linespecific">
&lt;xliff xmlns:fs="urn:oasis:names:tc:xliff:fs:2.0"&gt;
  &lt;file fs:fs="html"&gt;
    &lt;unit id="1" fs:fs="p"&gt;
      &lt;segment&gt;
        &lt;source&gt;Mick Jones renewed his interest in the Vintage &lt;pc id="1"
            fs:fs="strong"&gt;'72 Telecaster Thinline &lt;/pc&gt; guitar.
            &lt;ph id="ph2" fs:fs="br" /&gt;He says &lt;pc fs:fs="q"&gt;I love 'em
            &lt;/pc&gt;&lt;ph id="ph1" fs:fs="img"
            fs:subFs="src,smileface.png" /&gt;&lt;/source&gt;
      &lt;/segment&gt;
    &lt;/unit&gt;
  &lt;/file&gt;
&lt;/xliff&gt;
</programlisting>


<para>With an XSL stylesheet like this: </para>

<programlisting format="linespecific">
&lt;xsl:template match="*" priority="2"
    xmlns:fs="urn:oasis:names:tc:xliff:fs:2.0"&gt;
  &lt;xsl:choose&gt;
    &lt;xsl:when test="@fs:fs"&gt;
      &lt;xsl:element name="{@fs:fs}"&gt;
        &lt;xsl:if test="@fs:subFs"&gt;
          &lt;xsl:variable name="att_name"
              select="substring-before(@fs:subFs,',')" /&gt;
          &lt;xsl:variable name="att_val"
              select="substring-after(@fs:subFs,',')" /&gt;
          &lt;xsl:attribute name="{$att_name}"&gt;
            &lt;xsl:value-of select="$att_val" /&gt;
          &lt;/xsl:attribute&gt;
        &lt;/xsl:if&gt;
        &lt;xsl:apply-templates /&gt;
      &lt;/xsl:element&gt;
    &lt;/xsl:when&gt;
    &lt;xsl:otherwise&gt;
      &lt;xsl:apply-templates /&gt;
    &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;
</programlisting>

<para>You can generate a an HTML page like this: </para>

<programlisting format="linespecific">
&lt;html&gt;
  &lt;p&gt;Mick Jones renewed his interest in the Vintage &lt;strong&gt;'72
      Telecaster Thinline &lt;/strong&gt; guitar. &lt;br/&gt;He says &lt;q&gt;I love 'em
      &lt;/q&gt;&lt;img src="smileface.png"/&gt;&lt;/p&gt;
&lt;/html&gt;
</programlisting>

<!--  move to subFS
<para>For complex HTML previews that require more than one attribute on an HTML preview element, attribute pairs are separated by backslashes (\). Any literal comma or backslash in an attribute value <glossterm>must</glossterm> be escaped with a backslash.</para>

<para>For example, we would use this convention:</para>

<programlisting>&lt;ph id=”p1” fs=”img” subFs=”src,c:\\docs\\images\\smile.png\alt,My Happy Smile\title,Smiling faces\, are nice” /></programlisting>

<para>To produce this HTML preview:</para>

<programlisting>&lt;img src=”c:\docs\images\smile.png” alt=”My Happy Smile” title=”Smiling faces, are nice” /></programlisting>
 -->
</section>
<section id="subFs">
<title>subFs</title>
<para>Sub-format style, subFs - allows extra metadata, like URL for example, to be added in concert
with the <link linkend="fs"><code>fs</code></link> attribute. </para>

<para><emphasis>Value description:</emphasis> The subFs attribute is used to specify the HTML
        attributes to use along with the HTML element declared in the <link linkend="fs"><code>fs</code></link> attribute. It is
        a list of name/value pairs. Each pair is separated from the next with a backslash (\). The
        name and the value of a pair are separated with a comma (,). Both literal backslash and
        comma characters are escaped with a backslash prefix.
        <!--  was
 The subFs <glossterm>must</glossterm> only be used to carry attribute name/value
comma-delimited pairs for attributes that are valid for the HTML element identified by the
accompanied <olink targetdoc="../attributes/fs.xml" targetptr="fs"><code>fs</code></olink> attribute.
 -->
    </para>
<!--  this is now redundant
<para>Example:<code> fs:fs="img" fs:subFs="src,smileface.png"</code>. </para> -->
<para><emphasis>Default value:</emphasis> undefined.</para>
<para><emphasis>Used in:</emphasis>
<link linkend="file"><code>&lt;file&gt;</code></link>, <!-- <olink targetdoc="../elements/structural/skeleton.xml"
targetptr="skeleton"><code>&lt;skeleton&gt;</code></olink>, [does not make sense for skeleton IMHO] -->
<link linkend="unit"><code>&lt;unit&gt;</code></link>,





 <link linkend="note"><code>&lt;note&gt;</code></link>, <!-- -
<olink targetdoc="../elements/candidates/match.xml"
targetptr="match"><code>&lt;match&gt;</code></olink>, [I'd consider having it on this module as well] -->





<link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>,






<link linkend="sc"><code>&lt;sc&gt;</code></link>, <link linkend="ec"><code>&lt;ec&gt;</code></link>, <link linkend="ph"><code>&lt;ph&gt;</code></link>, <link linkend="pc"><code>&lt;pc&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and <link linkend="sm"><code>&lt;sm&gt;</code></link>. </para>
<warning><para>The <link linkend="subFs"><code>subFs</code></link> attribute is not intended to facilitate <firstterm>Merging</firstterm> back into the original format. </para></warning>

<itemizedlist>
<title>Constraints</title>
<listitem><para>Commas (<code>,</code>) and backslashes (<code>\</code>) in the value parts of the <link linkend="subFs"><code>subFs</code></link> <glossterm>must</glossterm> be escaped with a
backslash (<code>\</code>).</para>
</listitem>
<listitem>
<para>If the attribute <link linkend="subFs"><code>subFs</code></link> is used, the attribute <link linkend="fs"><code>fs</code></link>
<glossterm>must</glossterm> be specified as well.</para>
</listitem>
<listitem><para>The <link linkend="subFs"><code>subFs</code></link> <glossterm>must</glossterm> only be used with <link linkend="ec"><code>&lt;ec&gt;</code></link> in cases where the <code>isolated</code> attribute is set to 'yes'.</para>
</listitem>
</itemizedlist>
<itemizedlist>
<title>Processing Requirements</title>
<listitem>
<para><firstterm>Writers</firstterm> updating the attribute <link linkend="fs"><code>fs</code></link> <glossterm>must</glossterm> also update or delete <link linkend="subFs"><code>subFs</code></link>.</para>
</listitem>


</itemizedlist>
<!--  moved from fs section  -->



<para><emphasis>Example: </emphasis>For complex HTML previews that require more than one attribute on an HTML preview element, attribute pairs are separated by backslashes (\). Any literal comma or backslash in an attribute value <glossterm>must</glossterm> be escaped with a backslash.</para>

<para>For example, we would use this convention:</para>

<programlisting format="linespecific">
&lt;ph id="p1" fs="img" subFs="src,c:\\docs\\images\\smile.png\alt,
    My Happy Smile\title,Smiling faces\, are nice" /&gt;</programlisting>

<para>To produce this HTML preview:</para>

<programlisting format="linespecific">
&lt;img src="c:\docs\images\smile.png" alt="My Happy Smile" title="Smiling
    faces, are nice" /&gt;</programlisting>

</section>

</section>

 
</section>
      <section id="metadata_module">
    <title>Metadata Module</title>
    <section>
        <title>Introduction</title>
        <para>The Metadata module provides a mechanism for storing custom metadata using elements that are part of the official XLIFF specification.</para>
    </section>

    <section>
        <title>Module Namespace and Validation Artifacts</title>
        <para>The namespace for the Metadata module is: <code>urn:oasis:names:tc:xliff:metadata:2.0</code></para>
        <para>Schema and Schematron for this module are available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/metadata.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/metadata.xsd</ulink> and <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/metadata.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/metadata.sch</ulink>.</para>
    </section>
    <section>
        <title>Module Fragment Identification Prefix</title>
        <para>The fragment identification prefix for the Metadata module is: <code>mda</code></para>
    </section>

    <section>
        <title>Module Elements</title>
        <para>The elements defined in the Metadata module are: <link linkend="metadata"><code>&lt;metadata&gt;</code></link>, <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link>, and <link linkend="meta"><code>&lt;meta&gt;</code></link>. </para>
<section><!--  gen. 20140318  -->
  <title>Tree Structure</title>
  <para>Legend:</para>
  <simplelist type="vert">
    <member>+ = one or more</member>
  </simplelist>
  <programlisting format="linespecific">
<link linkend="metadata"><code>&lt;metadata&gt;</code></link>
|
+---<link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link> +
  |
  +---At least one of (<link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link> OR <link linkend="meta"><code>&lt;meta&gt;</code></link>)
      |
      +---<link linkend="meta"><code>&lt;meta&gt;</code></link>


  </programlisting>
</section>
        <section id="metadata">
    <title>metadata</title>
    <para>Container for metadata associated with the enclosing element.</para>
   <para><emphasis>Contains:</emphasis></para>
   <simplelist type="vert">
      <member>- One or more <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link> elements</member>
   </simplelist>
 <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
	     <member>- <link linkend="meta_id"><code>id</code></link>,
                <glossterm>optional</glossterm></member>

  </simplelist>
    <para><emphasis>Example:</emphasis> Metadata can be used to store XML attribute names and values
      for <firstterm>XLIFF Documents</firstterm> that do not use a skeleton. The following XML
      sample contains attributes on the<code> &lt;document&gt;</code> and <code>&lt;row&gt;</code>
      elements.</para>
    <programlisting format="linespecific">
&lt;document version="3" phase="draft"&gt;
  &lt;table&gt;
    &lt;row style="head"&gt;
      &lt;cell&gt;Name&lt;/cell&gt;
      &lt;cell&gt;Position&lt;/cell&gt;
    &lt;/row&gt;
    &lt;row&gt;
      &lt;cell&gt;Patrick K.&lt;/cell&gt;
      &lt;cell&gt;Right Wing&lt;/cell&gt;
    &lt;/row&gt;
    &lt;row&gt;
      &lt;cell&gt;Bryan B.&lt;/cell&gt;
      &lt;cell&gt;Left Wing&lt;/cell&gt;
    &lt;/row&gt;
  &lt;/table&gt;
&lt;/document&gt;
</programlisting>
    <para>The Metadata module can be used to preserve these attributes for a round trip without
      using a skeleton:</para>
    <programlisting format="linespecific">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;xliff xmlns="urn:oasis:names:tc:xliff:document:2.0"
    xmlns:fs="urn:oasis:names:tc:xliff:fs:2.0"
    xmlns:mda="urn:oasis:names:tc:xliff:metadata:2.0" version="2.0"
    srcLang="en"&gt;
  &lt;file id="f1"&gt;
    &lt;group id="g1" name="document"&gt;
      &lt;mda:metadata&gt;
        &lt;mda:metaGroup category="document_xml_attribute"&gt;
          &lt;mda:meta type="version"&gt;3&lt;/mda:meta&gt;
          &lt;mda:meta type="phase"&gt;draft&lt;/mda:meta&gt;
        &lt;/mda:metaGroup&gt;
      &lt;/mda:metadata&gt;
      &lt;group id="g2" name="table"&gt;
        &lt;group id="g3" name="row"&gt;
          &lt;mda:metadata&gt;
            &lt;mda:metaGroup category="row_xml_attribute"&gt;
              &lt;mda:meta type="style"&gt;head&lt;/mda:meta&gt;
            &lt;/mda:metaGroup&gt;
          &lt;/mda:metadata&gt;
          &lt;unit id="u1" name="cell"&gt;
            &lt;segment&gt;
              &lt;source&gt;Name&lt;/source&gt;
            &lt;/segment&gt;
          &lt;/unit&gt;
          &lt;unit id="u2" name="cell"&gt;
            &lt;segment&gt;
              &lt;source&gt;Position&lt;/source&gt;
            &lt;/segment&gt;
          &lt;/unit&gt;
        &lt;/group&gt;
        &lt;group id="g4" name="row"&gt;
          &lt;unit id="u3" name="cell"&gt;
            &lt;segment&gt;
              &lt;source&gt;Patrick K.&lt;/source&gt;
            &lt;/segment&gt;
          &lt;/unit&gt;
          &lt;unit id="u4" name="cell"&gt;
            &lt;segment&gt;
              &lt;source&gt;Right Wing&lt;/source&gt;
            &lt;/segment&gt;
          &lt;/unit&gt;
        &lt;/group&gt;
        &lt;group id="g5" name="row"&gt;
          &lt;unit id="u5" name="cell"&gt;
            &lt;segment&gt;
              &lt;source&gt;Bryan B.&lt;/source&gt;
            &lt;/segment&gt;
          &lt;/unit&gt;
          &lt;unit id="u6" name="cell"&gt;
            &lt;segment&gt;
              &lt;source&gt;Left Wing&lt;/source&gt;
            &lt;/segment&gt;
          &lt;/unit&gt;
        &lt;/group&gt;
      &lt;/group&gt;
    &lt;/group&gt;
  &lt;/file&gt;
&lt;/xliff&gt;
</programlisting>

</section>
        <section id="metagroup">
    <title>metaGroup</title>
    <para>Provides a way to organize metadata into a structured hierarchy.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link> or <link linkend="meta"><code>&lt;meta&gt;</code></link> elements in any order.</member>
    </simplelist>
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
	     <member>- <link linkend="meta_id"><code>id</code></link>,
                <glossterm>optional</glossterm></member>
        <member>- <link linkend="meta_category"><code>category</code></link>, <glossterm>optional</glossterm>
    </member>
	<member>- <link linkend="meta_appliesto"><code>appliesTo</code></link>, <glossterm>optional</glossterm>
    </member>
  </simplelist>
</section>
        <section id="meta">
    <title>meta</title>
    <para>Container for a single metadata component.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Non-translatable text</member>
    </simplelist>
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="meta_type"><code>type</code></link>, <glossterm>required</glossterm></member>
    </simplelist>
</section>
    </section>

    <section>
        <title>Module Attributes</title>
        <para>The attributes defined in the Metadata module are:
            <link linkend="meta_appliesto"><code>appliesTo</code></link>,
            <link linkend="meta_category"><code>category</code></link>,
            <link linkend="meta_id"><code>id</code></link>, and
            <link linkend="meta_type"><code>type</code></link>.
         </para>
        <section id="meta_appliesto">
    <title>appliesTo</title>

    <para>Indicates the element to which the content of the metagroup applies.</para>

    <para><emphasis>Value description:</emphasis> <code>source</code>, <code>target</code>, or <code>ignorable</code>.</para>

    <para><emphasis>Default value:</emphasis> undefined.</para>

    <para><emphasis>Used in:</emphasis>
        <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link>.</para>

</section>
        <section id="meta_category">
  <title>category</title>

  <para>category - indicates a category for metadata contained in the enclosing <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link> element.</para>
  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> undefined.</para>


  <para><emphasis>Used in:</emphasis>
    <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link>.</para>
</section>
        <section id="meta_id">
  <title>id</title>

  <para>Identifier - a character string used to identify a <link linkend="metadata"><code>&lt;metadata&gt;</code></link> or <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="metadata"><code>&lt;metadata&gt;</code></link> and <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link></para>
<itemizedlist>
  <title>Constraints</title>
  <listitem>
    <para>The values of <link linkend="meta_id"><code>id</code></link> attributes <glossterm>must</glossterm> be unique among all <link linkend="metagroup"><code>&lt;metaGroup&gt;</code></link> 
      and <link linkend="metadata"><code>&lt;metadata&gt;</code></link> elements within the given enclosing 
      <link linkend="metadata"><code>&lt;metadata&gt;</code></link> element.
    </para>
  </listitem>
</itemizedlist>  


</section>
        <section id="meta_type">
  <title>type</title>

  <para>type - indicates the type of metadata contained by the enclosing element.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> undefined.</para>


  <para><emphasis>Used in:</emphasis> <link linkend="meta"><code>&lt;meta&gt;</code></link>.</para>
</section>

    </section>



</section>
      <section id="resourceData_module">
  <title>Resource Data Module</title>
    <section>
      <title>Introduction</title>
      <para>The Resource Data module provides a mechanism for referencing external resource data that <glossterm>may</glossterm> need
        to be modified or used as contextual reference during translation.</para>
    </section>
  <section>
        <title>Module Namespace and Validation Artifacts</title>
        <para>The namespace for the Resource Data module is: <code>urn:oasis:names:tc:xliff:resourcedata:2.0</code></para>
    <para>Schema and Schematron for this module are available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/resource_data.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/resource_data.xsd</ulink> and <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/resource_data.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/resource_data.sch</ulink>.</para>
    </section>

  <section>
    <title>Module Fragment Identification Prefix</title>
    <para>The fragment identification prefix for the Resource Data module is: <code>res</code></para>
  </section>

    <section>
    <title>Module Elements</title>
    <para>The elements defined in the Resource Data module are: <link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link>, <link linkend="res_resourceItemRef"><code>&lt;resourceItemRef&gt;</code></link>, <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link>, <link linkend="res_source"><code>&lt;source&gt;</code></link>, <link linkend="res_target"><code>&lt;target&gt;</code></link>, and <link linkend="res_reference"><code>&lt;reference&gt;</code></link>. </para>
<section><!--  gen. 20140318  -->
  <title>Tree Structure</title>
  <para>Legend:</para>
  <simplelist type="vert">
    <member>? = zero or one</member>
    <member>* = zero, one or more</member>
  </simplelist>
  <programlisting format="linespecific">
<link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link>
|
+---<link linkend="res_resourceItemRef"><code>&lt;resourceItemRef&gt;</code></link> *
|
+---<link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> *
  |
  +---<link linkend="res_source"><code>&lt;source&gt;</code></link> ?
  | |
  | +---&lt;other&gt; *
  |
  +---<link linkend="res_target"><code>&lt;target&gt;</code></link> ?
  | |
  | +---&lt;other&gt; *
  |
  +---<link linkend="res_reference"><code>&lt;reference&gt;</code></link> *


  </programlisting>
</section>
    <section id="res_resourceData">
    <title>resourceData</title>
    <para>Parent container for resource data associated with the enclosing element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <para>At least one of the following</para>
    <simplelist type="vert">
        <member>- Zero, one or more <link linkend="res_resourceItemRef"><code>&lt;resourceItemRef&gt;</code></link> elements.</member>
        <member>- Zero, one or more <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> elements.</member>
    </simplelist>  
</section>
          <section id="res_resourceItemRef">
    <title>resourceItemRef</title>
    <para>Specifies a reference to an associated <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> element located at the <link linkend="file"><code>&lt;file&gt;</code></link> level.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>This element is always empty.</member>
    </simplelist>
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="res_id"><code>id</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="res_ref"><code>ref</code></link>, <glossterm>required</glossterm></member>
      <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>The value of the <glossterm>optional</glossterm> <link linkend="res_id">id</link> attribute
        <glossterm>must</glossterm> be unique among all <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link>
        and <link linkend="res_resourceItemRef"><code>&lt;resourceItemRef&gt;</code></link>
        elements of the enclosing <link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link> element.</para>
    </listitem>
    
  </itemizedlist>
    <itemizedlist>
      <title>Processing Requirements</title>
      
    <listitem>
      <para><firstterm>Modifiers</firstterm>
        <glossterm>must</glossterm> remove <link linkend="res_resourceItemRef"><code>&lt;resourceItemRef&gt;</code></link> when removing
        the referenced <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link>.</para>
    </listitem>
    
  </itemizedlist>
</section>
    <section id="res_resourceItem">
    <title>resourceItem</title>
    <para>Container for specific resource data that is either intended for
      <firstterm>Modification</firstterm>, or to be used as contextual reference during
      <firstterm>Translation</firstterm>.</para>
    <para><emphasis>Contains:</emphasis></para>
    <para>At least one of the following</para>
    <simplelist type="vert">
        <member>- Zero or one <link linkend="res_source"><code>&lt;source&gt;</code></link> element followed by</member>
        <member>- Zero or one <link linkend="res_target"><code>&lt;target&gt;</code></link> element followed by</member>
        <member>- Zero, one or more <link linkend="res_reference"><code>&lt;reference&gt;</code></link> elements</member>
    </simplelist>
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="res_mimeType"><code>mimeType</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="res_id"><code>id</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="res_context"><code>context</code></link>, <glossterm>optional</glossterm></member>
       <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>

    </simplelist>
  <itemizedlist>
    <title>Constraints</title>
    <listitem><para>The <link linkend="res_mimeType"><code>mimeType</code></link> attribute is <glossterm>required</glossterm> if <link linkend="res_target"><code>&lt;target&gt;</code></link> and <link linkend="res_source"><code>&lt;source&gt;</code></link> child elements are empty, otherwise it is
          <glossterm>optional</glossterm>.</para></listitem>
    <listitem>
      <para>The value of the <glossterm>optional</glossterm> <link linkend="res_id">id</link> attribute
        <glossterm>must</glossterm> be unique among all <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link>
        and <link linkend="res_resourceItemRef"><code>&lt;resourceItemRef&gt;</code></link>
        elements of the enclosing <link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link> element.</para>
    </listitem>
  </itemizedlist>

  <itemizedlist>
    <title>Processing Requirements</title>

    <listitem>
      <para>If a <firstterm>Modifier</firstterm> does not understand how to process the <link linkend="res_mimeType"><code>mimeType</code></link> attribute, or the file it references, the <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> element <glossterm>may</glossterm>
        be ignored, but still <glossterm>must</glossterm> be preserved.</para>
    </listitem>

    <listitem>
      <para>The <link linkend="res_mimeType"><code>mimeType</code></link> attribute <glossterm>should</glossterm> only be modified or removed if the referenced files are modified or removed.</para>
    </listitem>

    <listitem>
      <para>For each instance of <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> containing only <link linkend="res_source"><code>&lt;source&gt;</code></link>:</para>

        <itemizedlist>
          <listitem>
            <para><firstterm>Modifiers</firstterm>
            <glossterm>may</glossterm> leave <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> unchanged, i.e. they are not <glossterm>required</glossterm> to
            create <link linkend="res_target"><code>&lt;target&gt;</code></link> or <link linkend="res_reference"><code>&lt;reference&gt;</code></link>.</para>
          </listitem>
          <listitem>
            <para><firstterm>Modifiers</firstterm>
            <glossterm>may</glossterm> create <link linkend="res_target"><code>&lt;target&gt;</code></link> or <link linkend="res_reference"><code>&lt;reference&gt;</code></link> as a siblings of <link linkend="res_source"><code>&lt;source&gt;</code></link>.</para>
          </listitem>
        </itemizedlist>

    </listitem>

  </itemizedlist>
</section>
    <section id="res_source">
    <title>source</title>
  <para>References the actual resource data that is either intended for
    <firstterm>Modification</firstterm>, or to be used as contextual reference during
    <firstterm>Translation</firstterm>.</para>
    <para><emphasis>Contains:</emphasis></para>
    <para>Either</para>
    <simplelist type="vert">
        <member>- elements from other namespaces</member>
    </simplelist>
    <para>or</para>
    <simplelist type="vert">
        <member>- is empty.</member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="res_href"><code>href</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="res_xml_lang"><code>xml:lang</code></link>, <glossterm>optional</glossterm></member>
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

  <itemizedlist>
    <title>Constraints</title>

    <listitem>

      <para>The attribute <link linkend="res_href"><code>href</code></link> is <glossterm>required</glossterm> if and
        only if <link linkend="res_source"><code>&lt;source&gt;</code></link> is empty.</para>
    </listitem>

    <listitem>
      <para>When the <glossterm>optional</glossterm> <link linkend="res_xml_lang"><code>xml:lang</code></link>
        attribute is present, its value <glossterm>must</glossterm> be equal to the value of the <link linkend="srcLang"><code>srcLang</code></link> attribute
        of the enclosing <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para>
    </listitem>
  </itemizedlist>


  <itemizedlist>
    <title>Processing Requirements</title>


    <listitem>
      <para>When the <link linkend="res_context"><code>context</code></link>
        attribute of <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> is set to <code>yes</code>:</para>
      <itemizedlist>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> create
            <link linkend="res_source"><code>&lt;source&gt;</code></link>
            if not already present.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>should not</glossterm> change
            <link linkend="res_source"><code>&lt;source&gt;</code></link>.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> remove
            <link linkend="res_source"><code>&lt;source&gt;</code></link>.</para>
        </listitem>
      </itemizedlist>
    </listitem>

    <listitem>
      <para>When the <link linkend="res_context"><code>context</code></link>
        attribute of <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link>
        is set to <code>no</code>:</para>
      <itemizedlist>
        <listitem>
          <para><link linkend="res_source"><code>&lt;source&gt;</code></link>
            <glossterm>must</glossterm> be present.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>must not</glossterm> change
            <link linkend="res_source"><code>&lt;source&gt;</code></link>.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>must not</glossterm> remove
            <link linkend="res_source"><code>&lt;source&gt;</code></link>.</para>
        </listitem>
      </itemizedlist>
    </listitem>
  </itemizedlist>
</section>
    <section id="res_target">
    <title>target</title>
    <para>References the localized counterpart of the sibling <link linkend="res_source"><code>&lt;source&gt;</code></link> element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <para>Either</para>
    <simplelist type="vert">
        <member>- elements from other namespaces</member>
    </simplelist>
    <para>or</para>
    <simplelist type="vert">
        <member>- is empty.</member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="res_href"><code>href</code></link>, <glossterm>optional</glossterm></member>
      <member>- <link linkend="res_xml_lang"><code>xml:lang</code></link>, <glossterm>optional</glossterm></member>
       <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>


  <itemizedlist>
    <title>Constraints</title>

    <listitem>

      <para>The attribute <link linkend="res_href"><code>href</code></link>
        is <glossterm>required</glossterm> if and only if
    <link linkend="res_target"><code>&lt;target&gt;</code></link> is empty.</para>
    </listitem>

    <listitem>
      <para>When the <glossterm>optional</glossterm> <link linkend="res_xml_lang"><code>xml:lang</code></link>
        attribute is present, its value <glossterm>must</glossterm> be equal to the value of the
        <link linkend="trgLang"><code>trgLang</code></link> attribute of the enclosing <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para>
    </listitem>

  </itemizedlist>
  <itemizedlist>
    <title>Processing Requirements</title>


    <listitem>
      <para>When the <link linkend="res_context"><code>context</code></link>
        attribute of <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link>
        is set to <code>yes</code>:</para>
      <itemizedlist>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> create <link linkend="res_target"><code>&lt;target&gt;</code></link> if not already present.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>should not</glossterm> change <link linkend="res_target"><code>&lt;target&gt;</code></link>.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> remove <link linkend="res_target"><code>&lt;target&gt;</code></link>.</para>
        </listitem>
      </itemizedlist>
    </listitem>

    <listitem>
      <para>When the <link linkend="res_context"><code>context</code></link>
        attribute of <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link>
        is set to <code>no</code>:</para>
      <itemizedlist>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> create
            <link linkend="res_target"><code>&lt;target&gt;</code></link>
            if not already present.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> leave
            <link linkend="res_target"><code>&lt;target&gt;</code></link> unchanged.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> change
            <link linkend="res_target"><code>&lt;target&gt;</code></link>.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm>
            <glossterm>may</glossterm> replace an existing <link linkend="res_target"><code>&lt;target&gt;</code></link>, i.e. the previously populated <link linkend="res_target"><code>&lt;target&gt;</code></link>
            <glossterm>must not</glossterm> be left blank.</para>
        </listitem>
      </itemizedlist>
    </listitem>

  </itemizedlist>
</section>
    <section id="res_reference">
    <title>reference</title>
    <para>References contextual data relating to the sibling <link linkend="res_source"><code>&lt;source&gt;</code></link> and <link linkend="res_target"><code>&lt;target&gt;</code></link> elements, such as a German screenshot for a Luxembourgish translator.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- This element is always empty.</member>
    </simplelist>
    
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="res_href"><code>href</code></link>, <glossterm>required</glossterm></member>
        <member>- <link linkend="res_xml_lang"><code>xml:lang</code></link>, <glossterm>optional</glossterm></member>
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

  <itemizedlist>
    <title>Constraints</title>

    <listitem>
      <para>When the <glossterm>optional</glossterm> <link linkend="res_xml_lang"><code>xml:lang</code></link> attribute is present, its value does not need to be equal to the value of the <link linkend="srcLang"><code>srcLang</code></link> or <link linkend="trgLang"><code>trgLang</code></link> attribute of the enclosing <link linkend="xliff"><code>&lt;xliff&gt;</code></link> element.</para>
    </listitem>
  </itemizedlist>
    <itemizedlist>
      <title>Processing Requirements</title>
      
    <listitem>
      <para><firstterm>Writers</firstterm> <glossterm>may</glossterm> create <link linkend="res_reference"><code>&lt;reference&gt;</code></link> if not already present.</para>
    </listitem>

    <listitem>
      <para><firstterm>Modifiers</firstterm> <glossterm>should not</glossterm> change <link linkend="res_reference"><code>&lt;reference&gt;</code></link>.</para>
    </listitem>
  
    <listitem>
      <para><firstterm>Modifiers</firstterm> <glossterm>may</glossterm> remove <link linkend="res_reference"><code>&lt;reference&gt;</code></link>.</para>
    </listitem>
     
  </itemizedlist>
</section>
  </section>

    <section>
    <title>Module Attributes</title>
    <para>The attributes defined in the Resource Data module are: <link linkend="res_id"><code>id</code></link>, <link linkend="res_xml_lang"><code>xml:lang</code></link>, <link linkend="res_mimeType"><code>mimeType</code></link>, <link linkend="res_context"><code>context</code></link>, <link linkend="res_href"><code>href</code></link>, and <link linkend="res_ref"><code>ref</code></link>. </para>
    <section id="res_id">
  <title>id</title>

  <para>Identifier - A character string used to identify a <link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> and <link linkend="res_resourceItemRef"><code>&lt;resourceItemRef&gt;</code></link></para>
  
</section>
    <section id="res_xml_lang">
    <title>xml:lang</title>
    
    <para>Language - The xml:lang attribute specifies the language variant of the text of a given element. 
        For example: <code>xml:lang="fr-FR"</code> indicates the French language as spoken in France.</para>
    
    <para><emphasis>Value description:</emphasis> A language code as described in <link linkend="bcp47">[BCP 47]</link>.</para>
    
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <para><emphasis>Used in:</emphasis> <link linkend="res_source"><code>&lt;source&gt;</code></link>, 
        <link linkend="res_target"><code>&lt;target&gt;</code></link>, and 
        <link linkend="res_reference"><code>&lt;reference&gt;</code></link>.</para>
</section>
    <section id="res_mimeType">
  <title>mimeType</title>

  <para>MIME type, mimeType - indicates the type of a resource object. This generally corresponds to
    the content type of <ulink url="http://tools.ietf.org/rfc/rfc2045.txt">[RFC 2045]</ulink>, the
    MIME specification; e.g. mimeType="text/xml" indicates the resource data is a text file of XML
    format.</para>

  <para><emphasis>Value description:</emphasis> A MIME type. An existing MIME type <glossterm>must</glossterm> be used from
    a <ulink url="http://www.iana.org/assignments/media-types">list of standard values</ulink>.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link></para>
  <note><para>If you cannot use any of the standard MIME type values as specified above, a new MIME type can be registered according to <ulink url="http://tools.ietf.org/rfc/rfc2048.txt">[RFC
    2048]</ulink>.</para></note>

</section>
    <section id="res_context">
  <title>context</title>

  <para>Contextual Information - Indicates whether an external resource is to be used for context only and not modified.</para>

  <para><emphasis>Value description:</emphasis> <code>yes</code> or <code>no</code></para>

  <para><emphasis>Default value:</emphasis> <code>yes</code></para>

  <para><emphasis>Used in:</emphasis><link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link></para>

</section>
    <section id="res_href">
  <title>href</title>

  <para>Hypertext Reference, href - IRI referencing an external resource.</para>

  <para><emphasis>Value description:</emphasis> IRI.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="res_source"><code>&lt;source&gt;</code></link>, <link linkend="res_target"><code>&lt;target&gt;</code></link>, and <link linkend="res_reference"><code>&lt;reference&gt;</code></link></para>
  
</section>
    <section id="res_ref">
  <title>ref</title>

  <para>Resource Item Reference - holds a reference to an associated <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> element located at the <link linkend="file"><code>&lt;file&gt;</code></link>
    level.</para>

  <para><emphasis>Value description:</emphasis> An <link linkend="XMLSchema2">[XML Schema Datatypes]</link> NMTOKEN</para> 

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="res_resourceItemRef"><code>&lt;resourceItemRef&gt;</code></link></para>
  
<itemizedlist>
  <title>Constraints</title>
  <listitem><para>The <link linkend="res_ref"><code>ref</code></link> attribute value <glossterm>must</glossterm> be the value of the <link linkend="res_id"><code>id</code></link> attribute of the <link linkend="res_resourceItem"><code>&lt;resourceItem&gt;</code></link> element being referenced.</para></listitem>
</itemizedlist>
  
</section>
  </section>

    <section>
      <title>Examples</title>

      <para>In this example, the <link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link>
      module at <link linkend="file"><code>&lt;file&gt;</code></link> level references external XML that contains resource data
      for a user interface control. The control is the container for the text “Load Registry Config” and needs to be resized to accommodate the increased length of
      the string due to translation. The <link linkend="res_resourceData"><code>&lt;resourceItemRef&gt;</code></link>
      element contained in the <link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link>
      module at <link linkend="unit"><code>&lt;unit&gt;</code></link> level provides the reference between them.
      The name attribute of the <link linkend="unit"><code>&lt;unit&gt;</code></link> element could serve as the key for
      an editor to associate <link linkend="res_source"><code>&lt;source&gt;</code></link> and
      <link linkend="res_target"><code>&lt;target&gt;</code></link> text with the resource data contained in the referenced
      XML and display it for modification.</para>

<programlisting format="linespecific">
<!--  &lt;file&gt;&lt;res:resourceData&gt;&lt;res:resourceItem id="r1" mimeType="text/xml" context="no"&gt;&lt;res:source href="resources\en\registryconfig.resources.xml" /&gt;&lt;res:target href="resources\de\registryconfig.resources.xml" /&gt;&lt;/res:resourceItem&gt;&lt;/res:resourceData&gt;&lt;unit id="1" name="130;WIN_DLG_CTRL_"&gt;&lt;segment id="1" state="translated"&gt;&lt;source&gt;Load Registry Config&lt;/source&gt;&lt;target&gt;Registrierungskonfiguration laden&lt;/target&gt;&lt;/segment&gt;&lt;res:resourceData&gt;&lt;res:resourceItemRef ref="r1" /&gt;&lt;/res:resourceData&gt;&lt;/unit&gt;&lt;/file&gt;  -->
&lt;file id="f1"&gt;
  &lt;res:resourceData&gt;
    &lt;res:resourceItem id="r1" mimeType="text/xml" context="no"&gt;
      &lt;res:source href="resources\en\registryconfig.resources.xml" /&gt;
      &lt;res:target href="resources\de\registryconfig.resources.xml" /&gt;
    &lt;/res:resourceItem&gt;
  &lt;/res:resourceData&gt;
  &lt;unit id="1" name="130;WIN_DLG_CTRL_"&gt;
    &lt;res:resourceData&gt;
      &lt;res:resourceItemRef ref="r1" /&gt;
    &lt;/res:resourceData&gt;
    &lt;segment id="1" state="translated"&gt;
      &lt;source&gt;Load Registry Config&lt;/source&gt;
      &lt;target&gt;Registrierungskonfiguration laden&lt;/target&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
&lt;/file&gt;
 </programlisting>

      <para>In this example, the <link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link>
      module at the <link linkend="unit"><code>&lt;unit&gt;</code></link> level contains elements from another
      namespace (abc), which could be displayed for modification in an editor that understands how to process the namespace.</para>

<programlisting format="linespecific">
<!--  &lt;file&gt;&lt;unit id="1"&gt;&lt;segment id="1" state="translated"&gt;&lt;source&gt;Load Registry Config&lt;/source&gt;&lt;target&gt;Registrierungskonfiguration laden&lt;/target&gt;&lt;/segment&gt;&lt;res:resourceData&gt;&lt;res:resourceItem id="r1" context="no"&gt;&lt;res:source&gt;&lt;abc:resourceType&gt;button&lt;/abc:resourceType&gt;&lt;abc:resourceHeight&gt;40&lt;/abc:resourceHeight&gt;&lt;abc:resourceWidth&gt;75&lt;/abc:resourceWidth&gt;&lt;/res:source&gt;&lt;res:target&gt;&lt;abc:resourceType&gt;button&lt;/abc:resourceType&gt;&lt;abc:resourceHeight&gt;40&lt;/abc:resourceHeight&gt;&lt;abc:resourceWidth&gt;150&lt;/abc:resourceWidth&gt;&lt;/res:target&gt;&lt;/res:resourceItem&gt;&lt;/res:resourceData&gt;&lt;/unit&gt;&lt;/file&gt;  -->
&lt;file id="f2" xmlns:abc="urn:abc"&gt;
  &lt;unit id="1"&gt;
    &lt;res:resourceData&gt;
      &lt;res:resourceItem id="r1" context="no"&gt;
        &lt;res:source&gt;
          &lt;abc:resourceType&gt;button&lt;/abc:resourceType&gt;
          &lt;abc:resourceHeight&gt;40&lt;/abc:resourceHeight&gt;
          &lt;abc:resourceWidth&gt;75&lt;/abc:resourceWidth&gt;
        &lt;/res:source&gt;
        &lt;res:target&gt;
          &lt;abc:resourceType&gt;button&lt;/abc:resourceType&gt;
          &lt;abc:resourceHeight&gt;40&lt;/abc:resourceHeight&gt;
          &lt;abc:resourceWidth&gt;150&lt;/abc:resourceWidth&gt;
        &lt;/res:target&gt;
      &lt;/res:resourceItem&gt;
    &lt;/res:resourceData&gt;
    &lt;segment id="1" state="translated"&gt;
      &lt;source&gt;Load Registry Config&lt;/source&gt;
      &lt;target&gt;Registrierungskonfiguration laden&lt;/target&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
&lt;/file&gt;
 </programlisting>

      <para>In this example, the <link linkend="res_resourceData"><code>&lt;resourceData&gt;</code></link>
      module references multiple static images that an editor can make use of as context while translating or reviewing.</para>

<programlisting format="linespecific">
<!--  &lt;file&gt;&lt;res:resourceData&gt;&lt;res:resourceItem id="r1" mimeType="image/jpeg" context="yes"&gt;&lt;res:source xml:lang="en-us" href="resources\en\registryconfig1.resources.jpg" /&gt;&lt;res:target xml:lang="lb-lu" href="resources\lb\registryconfig1.resources.jpg" /&gt;&lt;res:reference xml:lang="de-de" href="resources\de\registryconfig1.resources.jpg" /&gt;&lt;/res:resourceItem&gt;&lt;res:resourceItem id="r2" mimeType="image/jpeg" context="yes"&gt;&lt;res:source xml:lang="en-us" href="resources\en\registryconfig2.resources.jpg" /&gt;&lt;res:target xml:lang="lb-lu" href="resources\lb\registryconfig2.resources.jpg" /&gt;&lt;/res:resourceItem&gt;&lt;/res:resourceData&gt;&lt;unit id="1"&gt;&lt;segment id="1" state="translated"&gt;&lt;source&gt;Remove Registry Config&lt;/source&gt;&lt;target&gt;Registrierungskonfiguration entfernen&lt;/target&gt;&lt;/segment&gt;&lt;res:resourceData&gt;&lt;res:resourceItemRef ref="r1" /&gt;&lt;res:resourceItemRef ref="r2" /&gt;&lt;/res:resourceData&gt;&lt;/unit&gt;&lt;/file&gt;  -->
&lt;file id="f3"&gt;
  &lt;res:resourceData&gt;
    &lt;res:resourceItem id="r1" mimeType="image/jpeg" context="yes"&gt;
      &lt;res:source xml:lang="en-us"
          href="resources\en\registryconfig1.resources.jpg" /&gt;
      &lt;res:target xml:lang="lb-lu"
          href="resources\lb\registryconfig1.resources.jpg" /&gt;
      &lt;res:reference xml:lang="de-de"
          href="resources\de\registryconfig1.resources.jpg" /&gt;
    &lt;/res:resourceItem&gt;
    &lt;res:resourceItem id="r2" mimeType="image/jpeg" context="yes"&gt;
      &lt;res:source xml:lang="en-us"
          href="resources\en\registryconfig2.resources.jpg" /&gt;
      &lt;res:target xml:lang="lb-lu"
          href="resources\lb\registryconfig2.resources.jpg" /&gt;
    &lt;/res:resourceItem&gt;
  &lt;/res:resourceData&gt;
  &lt;unit id="1"&gt;
    &lt;res:resourceData&gt;
      &lt;res:resourceItemRef ref="r1" /&gt;
      &lt;res:resourceItemRef ref="r2" /&gt;
    &lt;/res:resourceData&gt;
    &lt;segment id="1" state="translated"&gt;
      &lt;source&gt;Remove Registry Config&lt;/source&gt;
      &lt;target&gt;Registrierungskonfiguration entfernen&lt;/target&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
&lt;/file&gt;
 </programlisting>

    </section>


</section>
    <!--  CTR deprecated in XLIFF 2.1 but still listed as an Extension until it can be replaced with CTR 2.2 --> 
    <section id="changeTracking_module" role="Informative">
  <title>Change Tracking Extension (Informative)</title>
    <section>
      <title>Introduction</title>
      <para>The Change Tracking extension is used to store revision information for XLIFF elements
      and attributes. The Change Tracking extension is in place as informative material until the TC
      will be able to replace it with a revised Change Tracking Module hopefully for XLIFF Version
      2.2.</para>
    </section>
  <section>
    <title>Module Namespace and Validation Artifacts</title> 
        <para>The namespace for the Change Tracking extension is:
        <code>urn:oasis:names:tc:xliff:changetracking:2.0</code></para>
        <para>Schema for this extension is available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/informativeCopiesOf3rdPartySchemas/extensions/change_tracking.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/informativeCopiesOf3rdPartySchemas/extensions/change_tracking.xsd</ulink> 
          <!-- Schematron schema won't be provide for the extension, but for the 2.2 module if and when available
          and <ulink
        url="&this-loc;/schemas/modules/change_tracking.sch"
        >&this-loc;/schemas/modules/change_tracking.sch</ulink>  -->.</para>
    </section>

  <section>
    <title>Module Fragment Identification Prefix</title>
    <para>The fragment identification prefix for the Change Tracking module or extension is:
        <code>ctr</code></para>
  </section>

    <section>
    <title>Module Elements</title>
    <para>The elements defined in the Change Tracking extension are: <link linkend="changeTrack"><code>&lt;changeTrack&gt;</code></link>, <link linkend="revisions"><code>&lt;revisions&gt;</code></link>, <link linkend="revision"><code>&lt;revision&gt;</code></link>, and <link linkend="item"><code>&lt;item&gt;</code></link>.</para>
<section><!--  gen. 20140318  -->
  <title>Tree Structure</title>
  <para>Legend:</para>
  <simplelist type="vert">
    <member>+ = one or more</member>
  </simplelist>
  <programlisting format="linespecific">
<link linkend="changeTrack"><code>&lt;changeTrack&gt;</code></link>
|
+---<link linkend="revisions"><code>&lt;revisions&gt;</code></link> +
  |
  +---<link linkend="revision"><code>&lt;revision&gt;</code></link> +
    |
    +---<link linkend="item"><code>&lt;item&gt;</code></link> +


  </programlisting>
</section>
    <section id="changeTrack">
    <title>changeTrack</title>
    <para>Parent container for change tracking information associated with a sibling element, or a
        child of a sibling element, to the change track extension within the scope of the enclosing
        element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="revisions"><code>&lt;revisions&gt;</code></link> elements.</member>
    </simplelist>
    
    <para><emphasis>Parents:</emphasis></para>
    
    <simplelist type="vert">
        <member>- <link linkend="file"><code>&lt;file&gt;</code></link></member>
        <member>- <link linkend="group"><code>&lt;group&gt;</code></link></member>
        <member>- <link linkend="unit"><code>&lt;unit&gt;</code></link></member>
        
    </simplelist>
</section>
    <section id="revisions">
    <title>revisions</title>
    <para>Container for logical groups of revisions associated with a sibling element, or a child of
    a sibling element, to the change track extension within the scope of the enclosing
    element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="revision"><code>&lt;revision&gt;</code></link> elements.</member>
    </simplelist>
    
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="ctr_appliesTo"><code>appliesTo</code></link>, <glossterm>required</glossterm></member>
        <member>- <link linkend="ctr_ref"><code>ref</code></link>, <glossterm>optional</glossterm></member> 
        <member>- <link linkend="ctr_currentVersion"><code>currentVersion</code></link>, <glossterm>optional</glossterm></member> 
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

  <!--  <itemizedlist>
    <title>Constraints</title>
    
    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly allowed by
        the wildcard <code>other</code>:</para>
      <simplelist>
        <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:itsm:2.1</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in the <olink
            targetdoc="../../modules/itsm/specification.xml" targetptr="ITS-module">ITS Module</olink> are
          met.</member>
      </simplelist>
    </listitem>
    
  </itemizedlist> -->

  <itemizedlist>
    <title>Processing Requirements</title>

    <listitem>
      <para>Modifying agents <glossterm>may</glossterm> create <link linkend="revisions"><code>&lt;revisions&gt;</code></link> elements with attributes.</para>
    </listitem>

    <listitem>
      <para>Modifying agents <glossterm>should not</glossterm> modify <link linkend="revisions"><code>&lt;revisions&gt;</code></link> and its attributes defined in this extension,
        except in the case where the <link linkend="ctr_currentVersion"><code>currentVersion</code></link> attribute is used. This
        attribute <glossterm>should</glossterm> be updated when a new revision becomes the most
        current.</para>
     </listitem>
    
     <listitem>
       <para>Modifying agents <glossterm>should not</glossterm> remove <link linkend="revisions"><code>&lt;revisions&gt;</code></link> and its attributes defined in this
        extension.</para>
     </listitem>

    <listitem>
      <para>When the <link linkend="ctr_appliesTo"><code>appliesTo</code></link> attribute refers to an element that is a multiple instance within
        the enclosing element, the <link linkend="ctr_ref"><code>ref</code></link> attribute <glossterm>must</glossterm> be used to reference an individual
        instance if and only if the referenced instance has an id. Using <link linkend="notes"><code>&lt;notes&gt;</code></link> as an example:</para>
      <programlisting format="linespecific">
      &lt;notes&gt;
        &lt;note id="n1"&gt;new note&lt;/note&gt;
        &lt;note id="n2"&gt;another note&lt;/note&gt;  
      &lt;/notes&gt;
      &lt;ctr:changeTrack&gt;
        &lt;ctr:revisions appliesTo="note" ref="n1"&gt;
          &lt;ctr:revision&gt;
            &lt;ctr:item property="content"&gt;old note&lt;/ctr:item&gt;
          &lt;/ctr:revision&gt;
        &lt;/ctr:revisions&gt;
      &lt;/ctr:changeTrack&gt;
      </programlisting>
     </listitem>  
    
  </itemizedlist>
</section>
    <section id="revision">
    <title>revision</title>
    <para>Container for specific revisions associated with a sibling element, or a child of a sibling element, to the change track extension within the scope of the enclosing element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="item"><code>&lt;item&gt;</code></link> elements.</member>
    </simplelist>
    
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="ctr_author"><code>author</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="ctr_datetime"><code>datetime</code></link>, <glossterm>optional</glossterm></member> 
        <member>- <link linkend="ctr_version"><code>version</code></link>, <glossterm>optional</glossterm></member> 
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

  <!-- <itemizedlist>
    <title>Constraints</title>
    
    <listitem>
      <para>The following <firstterm>XLIFF Module</firstterm> attributes are explicitly allowed by
        the wildcard <code>other</code>:</para>
      <simplelist>
        <member>- attributes from the namespace <code>urn:oasis:names:tc:xliff:itsm:2.1</code>,
          <glossterm>optional</glossterm>, provided that the Constraints specified in the <olink
            targetdoc="../../modules/itsm/specification.xml" targetptr="ITS-module">ITS Module</olink> are
          met.</member>
      </simplelist>
    </listitem>
    
  </itemizedlist> -->
  
  <itemizedlist>
    <title>Processing Requirements</title>

    <listitem>
      <para>Modifying agents <glossterm>may</glossterm> create <link linkend="revision"><code>&lt;revision&gt;</code></link> elements with attributes.</para>
    </listitem>
    
    <listitem>
      <para>Modifying agents <glossterm>should not</glossterm> modify <link linkend="revision"><code>&lt;revision&gt;</code></link> and its attributes defined in this extension.</para>
    </listitem>

    <listitem>
      <para>Modifying agents <glossterm>may</glossterm> remove <link linkend="revision"><code>&lt;revision&gt;</code></link> and its attributes defined in this extension 
        if and only if there is more than one instance of <link linkend="revision"><code>&lt;revision&gt;</code></link> present. For example, a user agent can decide
        to preserve only the most current revision.</para>
    </listitem>

  </itemizedlist>
</section>
    <section id="item">
    <title>item</title>
    <para>Container for a specific revision associated with a sibling element, or a child of a
    sibling element, to the change track extension within the scope of the enclosing element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Text</member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="ctr_property"><code>property</code></link>, <glossterm>required</glossterm></member>
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

  <itemizedlist>
    <title>Processing Requirements</title>

    <listitem>
      <para>Modifying agents <glossterm>may</glossterm> create <link linkend="item"><code>&lt;item&gt;</code></link> elements with attributes.</para>
    </listitem>

    <listitem>
      <para>Modifying agents <glossterm>should not</glossterm> modify <link linkend="item"><code>&lt;item&gt;</code></link> and its attribute defined in this extension.</para>
    </listitem>

    <listitem>
      <para>Modifying agents <glossterm>should not</glossterm> remove <link linkend="item"><code>&lt;item&gt;</code></link> and its attribute defined in this extension, unless they
        are removed as part of a <link linkend="revision"><code>&lt;revision&gt;</code></link> element removed according to its
        own processing requirements.</para>
     </listitem>

  </itemizedlist>
</section>
  </section>

    <section>
    <title>Module Attributes</title>
    <para>The attributes defined in the Change Tracking extension are: <link linkend="ctr_appliesTo"><code>appliesTo</code></link>, <link linkend="ctr_author"><code>author</code></link>, <link linkend="ctr_currentVersion"><code>currentVersion</code></link>, <link linkend="ctr_datetime"><code>datetime</code></link>, <link linkend="ctr_ref"><code>ref</code></link>, <link linkend="ctr_property"><code>property</code></link>, and <link linkend="ctr_version"><code>version</code></link>. </para>
    <section id="ctr_appliesTo">
  <title>appliesTo</title>

  <para>appliesTo – Indicates a specific XLIFF element which is a sibling, or a child of a sibling
    element, to the change track extension within the scope of the enclosing element.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN name of any valid XLIFF element which is a
    sibling, or a child of a sibling element, to the change track extension within the scope of the
    enclosing element. </para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="revisions"><code>&lt;revisions&gt;</code></link></para>
  
</section>
    <section id="ctr_author">
  <title>author</title>

  <para>author - Indicates the user or agent that created or modified the referenced element or its
    attributes.</para>

  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="revision"><code>&lt;revision&gt;</code></link>.</para>
  
</section>
    <section id="ctr_currentVersion">
  <title>currentVersion</title>

  <para>currentVersion - holds a reference to the most current version of a revision.</para>

  <para><emphasis>Value description:</emphasis> An <link linkend="XMLSchema2">[XML Schema Datatypes]</link> NMTOKEN</para> 

  <para><emphasis>Default value:</emphasis> none</para>

  <para><emphasis>Used in:</emphasis><link linkend="revisions"><code>&lt;revisions&gt;</code></link>.</para>

<itemizedlist>
  <title>Constraints</title>
  <listitem><para>The value of the <link linkend="ctr_currentVersion"><code>currentVersion</code></link> attribute <glossterm>must</glossterm> be 
    the value of the <link linkend="ctr_version"><code>version</code></link> attribute of one 
    of the <link linkend="revision"><code>&lt;revision&gt;</code></link> elements 
    listed in the same <link linkend="revisions"><code>&lt;revisions&gt;</code></link> element.</para></listitem>
</itemizedlist>
  
</section>
    <section id="ctr_datetime">
  <title>datetime</title>

  <para>Date and Time, datetime - Indicates the date and time the referenced element or its
    attributes were created or modified.</para>

  <para><emphasis>Value description:</emphasis> Date in one of the formats defined in <link linkend="bib_datetime">[NOTE-datetime]</link>.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="revision"><code>&lt;revision&gt;</code></link>.</para>
  
</section>
    <section id="ctr_ref">
  <title>ref</title>

  <para>Reference - Holds a reference to a single instance of an element that has
    multiple instances within the enclosing element.</para>

  <para><emphasis>Value description:</emphasis> An <link linkend="XMLSchema2">[XML Schema Datatypes]</link> NMTOKEN</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="revisions"><code>&lt;revisions&gt;</code></link></para>
  
<itemizedlist>
  <title>Constraints</title>
  <listitem><para> The value of the <link linkend="ctr_ref"><code>ref</code></link> attribute <glossterm>must</glossterm> be the value of the <link linkend="id"><code>id</code></link> attribute of a single instance of an element that is a multiple instance within the enclosing element.</para></listitem>
</itemizedlist>
  
</section>
    <section id="ctr_property">
  <title>property</title>

  <para>property – Indicates the type of revision data.</para>

  <para><emphasis>Value description:</emphasis> The value <glossterm>must</glossterm> be either <code>content</code> to signify the content of an element, or the name of the attribute relating to the revision data.</para>

  <para><emphasis>Default value:</emphasis> none</para>

  <para><emphasis>Used in:</emphasis><link linkend="item"><code>&lt;item&gt;</code></link>.</para>
  
</section>
    <section id="ctr_version">
  <title>version</title>

  <para>version - Indicates the version of the referenced element or its attributes that were
    created or modified.</para>

  <para><emphasis>Value description:</emphasis> NMTOKEN.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="revision"><code>&lt;revision&gt;</code></link>.</para>
  
</section>
  </section>

  <section>
      <title>Example</title>

<para>The following example shows change tracking for <link linkend="source"><code>&lt;source&gt;</code></link>, <link linkend="target"><code>&lt;target&gt;</code></link>, and <link linkend="notes"><code>&lt;notes&gt;</code></link>. Current and previous versions are both stored in the
      Change Tracking extension.</para>

<programlisting format="linespecific">
  <!-- 
&lt;unit id="1"&gt;
    &lt;segment&gt;
      &lt;source&gt;Hello World&lt;/source&gt;
      &lt;target&gt;Guten Tag Welt&lt;/target&gt;
    &lt;/segment&gt;
    &lt;notes&gt;
      &lt;note category="instruction" id="n1"&gt;The translation should be formal&lt;/note&gt;
      &lt;note category="comment" id="n2"&gt;Please Review my translation&lt;/note&gt;
    &lt;/notes&gt;
    &lt;changeTrack&gt;
      &lt;revisions appliesTo="source" currentVersion="r1"&gt;
        &lt;revision author="system" datetime="2013-07-15T10:00:00+8:00" version="r1"&gt;
          &lt;item property="content"&gt;Hello World&lt;/item&gt;&gt;
        &lt;/revision&gt;
        &lt;revision author="system" datetime="2013-06-15T10:00:00+8:00" version="r2"&gt;
          &lt;item property="content"&gt;Hello&lt;/item&gt;&gt;
        &lt;/revision&gt;
        &lt;revision author="system" datetime="2013-05-15T10:00:00+8:00" version="r3"&gt;
          &lt;item property="content"&gt;Hi&lt;/item&gt;
        &lt;/revision&gt;
      &lt;/revisions&gt;
      &lt;revisions appliesTo="target" currentVersion="r1"&gt;
       &lt;revision author="Frank" datetime="2013-07-17T11:00:00+8:00" version="r1"&gt;
          &lt;item property="content"&gt;Guten Tag Welt&lt;/item&gt;
        &lt;/revision&gt;
        &lt;revision author="Frank" datetime="2013-06-17T11:00:00+8:00" version="r2"&gt;
          &lt;item property="content"&gt;Hallo&lt;/item&gt;
        &lt;/revision&gt;
        &lt;revision author="Frank" datetime="2013-05-17T11:00:00+8:00" version="r3"&gt;
          &lt;item property="content"&gt;Grüsse&lt;/item&gt;
        &lt;/revision&gt;
      &lt;/revisions&gt;
      &lt;revisions appliesTo="note" nid="n1" currentVersion="r1"&gt;
        &lt;revision author="Bob" datetime="2013-07-16T10:30:00+8:00" version="r1"&gt;
          &lt;item property="content"&gt;The translation should be formal&lt;/item&gt;
          &lt;item property="category"&gt;instruction&lt;/item&gt;
        &lt;/revision&gt;
        &lt;revision author="Bob" datetime="2013-05-16T10:30:00+8:00" version="r2"&gt;
          &lt;item property="content"&gt;The translation should be informal&lt;/item&gt;
          &lt;item property="category"&gt;comment&lt;/item&gt;
        &lt;/revision&gt;
      &lt;/revisions&gt;
      &lt;revisions appliesTo="note" nid="n2" currentVersion="r1"&gt;
        &lt;revision author="Bob" datetime="2013-07-18T10:30:00+8:00" version="r1"&gt;
          &lt;item property="content"&gt;Please Review my translation&lt;/item&gt;
        &lt;/revision&gt;
      &lt;/revisions&gt;
    &lt;/changeTrack&gt;
 &lt;/unit&gt;
  -->
     &lt;unit id="1"&gt;
     &lt;ctr:changeTrack&gt;
       &lt;ctr:revisions appliesTo="source" currentVersion="r1"&gt;
         &lt;ctr:revision author="system" datetime="2013-07-15T10:00:00+8:00"
             version="r1"&gt;
           &lt;ctr:item property="content"&gt;Hello World&lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
         &lt;ctr:revision author="system" datetime="2013-06-15T10:00:00+8:00"
             version="r2"&gt;
           &lt;ctr:item property="content"&gt;Hello&lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
         &lt;ctr:revision author="system" datetime="2013-05-15T10:00:00+8:00"
             version="r3"&gt;
           &lt;ctr:item property="content"&gt;Hi&lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
       &lt;/ctr:revisions&gt;
       &lt;ctr:revisions appliesTo="target" currentVersion="r1"&gt;
         &lt;ctr:revision author="Frank" datetime="2013-07-17T11:00:00+8:00"
             version="r1"&gt;
           &lt;ctr:item property="content"&gt;Guten Tag Welt&lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
         &lt;ctr:revision author="Frank" datetime="2013-06-17T11:00:00+8:00"
             version="r2"&gt;
           &lt;ctr:item property="content"&gt;Hallo&lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
         &lt;ctr:revision author="Frank" datetime="2013-05-17T11:00:00+8:00"
             version="r3"&gt;
           &lt;ctr:item property="content"&gt;Grüsse&lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
       &lt;/ctr:revisions&gt;
       &lt;ctr:revisions appliesTo="note" ref="n1" currentVersion="r1"&gt;
         &lt;ctr:revision author="Bob" datetime="2013-07-16T10:30:00+8:00"
             version="r1"&gt;
           &lt;ctr:item property="content"&gt;The translation should be formal
           &lt;/ctr:item&gt;
           &lt;ctr:item property="category"&gt;instruction&lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
         &lt;ctr:revision author="Bob" datetime="2013-05-16T10:30:00+8:00"
             version="r2"&gt;
           &lt;ctr:item property="content"&gt;The translation should be informal
           &lt;/ctr:item&gt;
           &lt;ctr:item property="category"&gt;comment&lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
       &lt;/ctr:revisions&gt;
       &lt;ctr:revisions appliesTo="note" ref="n2" currentVersion="r1"&gt;
         &lt;ctr:revision author="Bob" datetime="2013-07-18T10:30:00+8:00"
             version="r1"&gt;
           &lt;ctr:item property="content"&gt;Please Review my translation
           &lt;/ctr:item&gt;
         &lt;/ctr:revision&gt;
       &lt;/ctr:revisions&gt;
     &lt;/ctr:changeTrack&gt;
     &lt;notes&gt;
       &lt;note category="instruction" id="n1"&gt;The translation should be
       formal&lt;/note&gt;
       &lt;note category="comment" id="n2"&gt;Please Review my translation&lt;/note&gt;
     &lt;/notes&gt;
     &lt;segment&gt;
       &lt;source&gt;Hello World&lt;/source&gt;
       &lt;target&gt;Guten Tag Welt&lt;/target&gt;
     &lt;/segment&gt;
   &lt;/unit&gt;
</programlisting>

</section>
  

</section>
      <section id="size_restriction_module">
    <title>Size and Length Restriction Module</title>

        <section>
        <title>Introduction</title>
            <para>The Size and Length Restriction module provides a mechanism to annotate the XLIFF content with information on storage and general
                size restrictions.</para>
            <para>The restriction framework has support for two distinct types of restrictions; storage
            size restrictions and general size restriction. The reason for this is that it is often
            common to have separate restrictions between storage and display / physical
            representation of data. Since it would be impossible to define all restrictions here a
            concept of restriction profile is introduced. The profiles for storage size and general
            size are independent. The information related to restriction profiles are stored in the
            processing invariant part of the XLIFF file like the <link linkend="file"><code>&lt;xlf:file&gt;</code></link>, <link linkend="group"><code>&lt;xlf:group&gt;</code></link> and <link linkend="unit"><code>&lt;xlf:unit&gt;</code></link> elements and contained within elements
            defined in this module. The information regarding the specific restrictions are stored
            on the processing invariant parts and on the inline elements as attributes or attributes
            referencing data in the elements defined in this module. To avoid issues with
            segmentation no information regarding size restrictions is present on <link linkend="segment"><code>&lt;xlf:segment&gt;</code></link>, <link linkend="source"><code>&lt;xlf:source&gt;</code></link> and <link linkend="target"><code>&lt;xlf:target&gt;</code></link> elements. The module defines a namespace
            for all the elements and attributes it introduces, in the rest of the module
            specification elements and attributes are in this namespace unless stated otherwise. In
            other parts of the XLIFF specification the prefix "slr" is used to refer to this module's
            namespace. For clarity the prefix "xlf" will be used for <firstterm>XLIFF Core</firstterm> elements and
            attributes. Profile names use the same namespace-like naming convention as user defined values in the
            <firstterm>XLIFF Core</firstterm> specification. The names <glossterm>should</glossterm> be composed of two components separated by a
            colon. &lt;authority&gt;:&lt;name&gt;. The authority "xliff" is reserved for profiles defined
            by the OASIS XLIFF Technical Committee.</para>
    </section>
    <section>
        <title>Module Namespace and Validation Artifacts</title>
        <para>The namespace for the Size and Length restriction module is:
                <code>urn:oasis:names:tc:xliff:sizerestriction:2.0</code></para>
        <para>Schema and Schematron for this module are available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/size_restriction.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/size_restriction.xsd</ulink> and <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/size_restriction.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/size_restriction.sch</ulink>.</para>
    </section>

    <section>
        <title>Module Fragment Identification Prefix</title>
        <para>The fragment identification prefix for the Size and Length restriction module is: <code>slr</code></para>
    </section>

    <section>
        <title>Module Elements</title>
        <para>The elements defined in the Size and Length restriction module are: <link linkend="slr_profiles"><code>&lt;profiles&gt;</code></link>, <link linkend="slr_normalization"><code>&lt;normalization&gt;</code></link> and <link linkend="slr_data"><code>&lt;data&gt;</code></link>. </para>
<section><!--  gen. 20140318  -->
  <title>Tree Structure</title>
  <para>Legend:</para>
  <simplelist type="vert">
    <member>? = zero or one</member>
  </simplelist>
  <programlisting format="linespecific">
<link linkend="slr_profiles"><code>&lt;profiles&gt;</code></link>
|
+---<link linkend="slr_normalization"><code>&lt;normalization&gt;</code></link> ?
|
+---&lt;other&gt; *


  </programlisting>
</section>
        <section id="slr_profiles">
    <title>profiles</title>
    <para>This element selects the restriction profiles to use in the document. If no storage or general profile is specified the default values (empty) of those elements will disable restriction checking in the file.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- Zero or one <link linkend="slr_normalization"><code>&lt;normalization&gt;</code></link> element
            followed by</member>
        <member>- elements from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="slr_general_profile"><code>generalProfile</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="slr_storage_profile"><code>storageProfile</code></link>, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para>Any overall configuration or settings related to the selected profile <glossterm>must</glossterm> be placed in child elements of this element.</para>
    </listitem>
        <listitem>
      <para>Data not related to the configuration of the selected profiles <glossterm>must not</glossterm> be placed in this element.</para>
    </listitem>
  </itemizedlist>

</section>
        <section id="slr_normalization">
    <title>normalization</title>
    <para>This element is used to hold the attributes specifying the normalization form to apply to
    storage and size restrictions defined in the standard profiles.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>This element is always empty.</member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="slr_general"><code>general</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="slr_storage"><code>storage</code></link>, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para>If this element is not present no normalization <glossterm>should</glossterm> be performed for the standard profiles.</para>
    </listitem>
    <listitem>
      <para>Other profiles <glossterm>may</glossterm> use this element in its specified form but <glossterm>must not</glossterm> add new extensions to it.</para>
    </listitem>
  </itemizedlist>

</section>
        <section id="slr_data">
    <title>data</title>
    <para>This elements act as a container for data needed by the specified profile to check the part of the XLIFF document that is a sibling or descendant of a sibling of this element. It is not used by the default profiles.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- elements from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="slr_profile"><code>profile</code></link>, <glossterm>required</glossterm></member>
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>

    <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para>Third party profiles <glossterm>must</glossterm> place all  data in this element instead of using other extension points if the data serves no other purpose in the processing of the document.</para>
    </listitem>
    <listitem>
      <para>Data not used by the specified profile <glossterm>must not</glossterm> be placed in this element.</para>
    </listitem>
  </itemizedlist>

</section>
    </section>
    <section>
        <title>Module Attributes</title>
        <para>The attributes defined in the Size and Length restriction module are: <link linkend="slr_storage_profile"><code>storageProfile</code></link>, <link linkend="slr_general_profile"><code>generalProfile</code></link>, <link linkend="slr_storage"><code>storage</code></link>, <link linkend="slr_general"><code>general</code></link>, <link linkend="slr_profile"><code>profile</code></link>, <link linkend="slr_storage_restriction"><code>storageRestriction</code></link>, <link linkend="slr_size_restriction"><code>sizeRestriction</code></link>, <link linkend="slr_equiv_storage"><code>equivStorage</code></link> , <link linkend="slr_size_info"><code>sizeInfo</code></link> and <link linkend="slr_size_info_ref"><code>sizeInfoRef</code></link>. </para>
        <section id="slr_storage_profile">
  <title>storageProfile</title>

  <para>This attribute specifies, which profile to use while checking storage size restrictions.
    Empty string means that no restrictions are applied.</para>

  <para><emphasis>Value description:</emphasis> Name of restriction profile to use for storage size restrictions.</para>

  <para><emphasis>Default value:</emphasis> empty string</para>

  <para><emphasis>Used in:</emphasis><link linkend="slr_profiles"><code>&lt;profiles&gt;</code></link>.</para>
</section>
        <section id="slr_general_profile">
  <title>generalProfile</title>

  <para>This attribute specifies, which profile to use while checking the general size restrictions.
    Empty string means that no restrictions apply.</para>

  <para><emphasis>Value description:</emphasis> Name of restriction profile to use for general size restrictions.</para>

  <para><emphasis>Default value:</emphasis> empty string</para>

  <para><emphasis>Used in:</emphasis><link linkend="slr_profiles"><code>&lt;profiles&gt;</code></link>.</para>
</section>
        <section id="slr_storage">
  <title>storage</title>

  <para>This attribute specifies the normalization form to apply for storage size restrictions. Only
    the normalization forms C and D as specified by the Unicode Consortium are supported, see <ulink url="http://unicode.org/reports/tr15/">Unicode Standard Annex #15</ulink>.</para>

  <para><emphasis>Value description:</emphasis> normalization to apply.</para>
  <table>
    <title>Values</title>
    <tgroup cols="2">
      <thead>
        <row>
          <entry>Value</entry>
          <entry>Description</entry>
        </row>
      </thead>
      <tbody>
        <row>
          <entry>none</entry>
          <entry>No additional normalization <glossterm>should</glossterm> be done, content
              <glossterm>should</glossterm> be used as represented in the document. It is possible
            that other <firstterm>Agents</firstterm> have already done some type of normalization when <firstterm>Modifying</firstterm> content.
            This means that this setting could give different results depending on what <firstterm>Agents</firstterm> are
            used to perform a specific action on the <firstterm>XLIFF Document</firstterm>.</entry>
        </row>
        <row>
          <entry>nfc</entry>
          <entry>Normalization Form C <glossterm>must</glossterm> be used</entry>
        </row>
        <row>
          <entry>nfd</entry>
          <entry>Normalization Form D <glossterm>must</glossterm> be used</entry>
        </row>
      </tbody>
    </tgroup>
  </table>


  <para><emphasis>Default value:</emphasis> <code>none</code></para>

  <para><emphasis>Used in:</emphasis> <link linkend="slr_normalization"><code>&lt;normalization&gt;</code></link>.</para>
</section>
        <section id="slr_general">
  <title>general</title>

  <para>This attribute specifies the normalization to apply for general size restrictions. Only the
    normalization forms C and D as specified by the Unicode Consortium are supported, see <ulink url="http://unicode.org/reports/tr15/">Unicode Standard Annex #15</ulink>.</para>

  <para><emphasis>Value description:</emphasis> normalization to apply.</para>
  <table>
    <title>Values</title>
    <tgroup cols="2">
      <thead>
        <row>
          <entry>Value</entry>
          <entry>Description</entry>
        </row>
      </thead>
      <tbody>
        <row>
          <entry>none</entry>
          <entry>No additional normalization <glossterm>should</glossterm> be done, content
              <glossterm>should</glossterm> be used as represented in the document. It is possible
            that other <firstterm>Agents</firstterm> have already done some type of normalization
            when <firstterm>Modifying</firstterm> content. This means that this setting could give
            different results depending on what <firstterm>Agents</firstterm> are used to perform a
            specific action on the <firstterm>XLIFF Document</firstterm>.</entry>
        </row>
        <row>
          <entry>nfc</entry>
          <entry>Normalization Form C <glossterm>must</glossterm> be used</entry>
        </row>
        <row>
          <entry>nfd</entry>
          <entry>Normalization Form D <glossterm>must</glossterm> be used</entry>
        </row>
     </tbody>
    </tgroup>
  </table>

  <para><emphasis>Default value:</emphasis> <code>none</code></para>

  <para><emphasis>Used in:</emphasis><link linkend="slr_normalization"><code>&lt;normalization&gt;</code></link>.</para>
</section>
        <section id="slr_profile">
  <title>profile</title>

  <para>This attribute is used on the <code>&lt;data&gt;</code> element to indicate what profile the contents of that element apply to.</para>

  <para><emphasis>Value description:</emphasis> Name of a restriction profile</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="slr_data"><code>&lt;data&gt;</code></link>.</para>
</section>
        <section id="slr_storage_restriction">
  <title>storageRestriction</title>

  <para>This attribute specifies the storage restriction to apply to the collection descendants of the element it is defined on.</para>

  <para><emphasis>Value description:</emphasis> Interpretation of the value is dependent on selected <link linkend="slr_storage_profile"><code>storageProfile</code></link>. It <glossterm>must</glossterm> represent the restriction to apply to the indicated sub part of the document.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis>
    <link linkend="file"><code>&lt;file&gt;</code></link>,
    <link linkend="group"><code>&lt;group&gt;</code></link>,
    <link linkend="unit"><code>&lt;unit&gt;</code></link>,
    <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
    <link linkend="sm"><code>&lt;sm&gt;</code></link>,
    <link linkend="pc"><code>&lt;pc&gt;</code></link> and
    <link linkend="sc"><code>&lt;sc&gt;</code></link>.
  </para>
</section>
        <section id="slr_size_restriction">
  <title>sizeRestriction</title>

  <para>This attribute specifies the size restriction to apply to the collection descendants of the element it is defined on.</para>

  <para><emphasis>Value description:</emphasis> Interpretation of the value is dependent on selected <link linkend="slr_general_profile"><code>generalProfile</code></link>. It <glossterm>must</glossterm> represent the restriction to apply to the indicated sub part of the document.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis>
    <link linkend="file"><code>&lt;file&gt;</code></link>,
    <link linkend="group"><code>&lt;group&gt;</code></link>,
    <link linkend="unit"><code>&lt;unit&gt;</code></link>,
    <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
    <link linkend="sm"><code>&lt;sm&gt;</code></link>,
    <link linkend="pc"><code>&lt;pc&gt;</code></link> and
    <link linkend="sc"><code>&lt;sc&gt;</code></link>.
  </para>
</section>
        <section id="slr_equiv_storage">
  <title>equivStorage</title>

  <para>This attribute provides a means to specify how much storage space an inline element will use in the native format. This size contribution is then added to the size contributed by the textual parts.
    This attribute is only allowed on the <link linkend="ec"><code>&lt;ec&gt;</code></link> element if that element has the <link linkend="isolated"><code>isolated</code></link> attribute set to <code>yes</code>. Otherwise the attribute on the paired <link linkend="sc"><code>&lt;sc&gt;</code></link>
    element also cover its partner <link linkend="ec"><code>&lt;ec&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> Interpretation of the value is dependent on selected <link linkend="slr_storage_profile"><code>storageProfile</code></link>. It <glossterm>must</glossterm> represent the equivalent storage size represented by the inline element.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis>
    <link linkend="pc"><code>&lt;pc&gt;</code></link>,
    <link linkend="sc"><code>&lt;sc&gt;</code></link>,
    <link linkend="ec"><code>&lt;ec&gt;</code></link>,
    <link linkend="ph"><code>&lt;ph&gt;</code></link> and
  </para>
</section>
        <section id="slr_size_info">
  <title>sizeInfo</title>

  <para>This attribute is used to associate profile specific information to inline elements so that size information can be decoupled from the native format or represented when the native data is not available in the XLIFF document. 
  It can be used on both inline elements and structural elements to provide information on things like GUI dialog or control sizes, expected padding or margins to consider for size, what font is used for contained text and so on.
  This attribute is only allowed on the <link linkend="ec"><code>&lt;ec&gt;</code></link> element if that element has the <link linkend="isolated"><code>isolated</code></link> attribute set to <code>yes</code>. Otherwise the attribute on the paired <link linkend="sc"><code>&lt;sc&gt;</code></link>
    element also cover its partner <link linkend="ec"><code>&lt;ec&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> Interpretation of the value is dependent on selected
    <link linkend="slr_general_profile"><code>generalProfile</code></link>. It
      <glossterm>must</glossterm> represent information related to how the element it is attached to
    contributes to the size of the text or entity in which it occurs or represents.</para>

  <para><emphasis>Default value:</emphasis> undefined</para>
  
  
  <para><emphasis>Used in:</emphasis>
    <link linkend="file"><code>&lt;file&gt;</code></link>,
    <link linkend="group"><code>&lt;group&gt;</code></link>,
    <link linkend="unit"><code>&lt;unit&gt;</code></link>,
    <link linkend="pc"><code>&lt;pc&gt;</code></link>,
    <link linkend="sc"><code>&lt;sc&gt;</code></link>, 
    <link linkend="ec"><code>&lt;ec&gt;</code></link>, and
    <link linkend="ph"><code>&lt;ph&gt;</code></link>.
  </para>

<itemizedlist>
  <title>Constraints</title>
  <listitem>
  <para>This attribute <glossterm>must not</glossterm> be specified
    if and only if <link linkend="slr_size_info_ref"><code>sizeInfoRef</code></link> is used. They <glossterm>must not</glossterm> be specified at the same time.</para>
</listitem></itemizedlist>
</section>
        <section id="slr_size_info_ref">
  <title>sizeInfoRef</title>

  <para>This attribute is used to point to data that provide the same function as the <link linkend="slr_size_info"><code>sizeInfo</code></link>
    attribute does, but with the data stored outside the inline content of the XLIFF segment.
    This attribute is only allowed on the <link linkend="ec"><code>&lt;ec&gt;</code></link> element if that element has the
    <link linkend="isolated"><code>isolated</code></link> attribute set to <code>yes</code>.
    Otherwise the attribute on the paired <link linkend="sc"><code>&lt;sc&gt;</code></link>
    element also cover its partner <link linkend="ec"><code>&lt;ec&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> a reference to data that provide the same information that could be otherwise put in a
    <link linkend="slr_size_info"><code>sizeInfo</code></link> attribute. 
  The reference <glossterm>must</glossterm> point to an element in a
    <link linkend="slr_data"><code>&lt;data&gt;</code></link> element
    that is a sibling to the element this attribute is attached to or a sibling to one of its ancestors. </para>

  <para><emphasis>Default value:</emphasis> undefined</para>

 
  <para><emphasis>Used in:</emphasis>
    <link linkend="file"><code>&lt;file&gt;</code></link>,
    <link linkend="group"><code>&lt;group&gt;</code></link>,
    <link linkend="unit"><code>&lt;unit&gt;</code></link>,
    <link linkend="pc"><code>&lt;pc&gt;</code></link>,
    <link linkend="sc"><code>&lt;sc&gt;</code></link>,
    <link linkend="ec"><code>&lt;ec&gt;</code></link>, and
    <link linkend="ph"><code>&lt;ph&gt;</code></link>,
  </para>
 
  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>This attribute <glossterm>must not</glossterm> be specified
        if and only if <link linkend="slr_size_info"><code>sizeInfo</code></link> is used. They <glossterm>must not</glossterm> be specified at the same time.</para>
    </listitem></itemizedlist> 
  
  
</section>
    </section>
    <section>
        <title>Standard profiles</title>
        <section>
            <title>General restriction profile ”xliff:codepoints”</title>
            <para>This profile implements a simple string length restriction based on the number of
                Unicode code points. It is <glossterm>optional</glossterm> to specify if normalization is to be applied
                using the <link linkend="slr_normalization"><code>&lt;normalization&gt;</code></link> element
                and the <link linkend="slr_general"><code>general</code></link> attribute. This profile
                makes use of the following attributes from this module:</para>
            <section>
                <title>sizeRestriction</title>
                <para>The value of this attribute holds the ”maximum” or ”minimum and maximum” size
                    of the string. Either size <glossterm>must</glossterm> be an integer. The maximum size <glossterm>may</glossterm> also be ’*’ to
                    denote that there is no maximum restriction. If only a maximum is specified it
                    is implied that the minimum is 0 (empty string). The format of the value is the
                    <glossterm>optional</glossterm> minimum size and a coma followed by a maximum size
                    (”[minsize,]maxsize”). The default value is ’*’ which evaluates to a string with
                    unbounded size.</para>
            </section>
            <section>
                <title>sizeInfo</title>
                <para>The value of this attribute is an integer representing how many code points
                    the element it is set on is considered to contribute to the total size. If
                    empty, the default for all elements is 0.</para>
            </section>
        </section>
        <section>
            <title>Storage restriction profiles ”xliff:utf8”, ”xliff:utf16” and
                ”xliff:utf32”</title>
            <para>These three profiles define the standard size restriction profiles for the common
                Unicode character encoding schemes. It is <glossterm>optional</glossterm> to specify if normalization is to be
                applied using the <link linkend="slr_normalization"><code>&lt;normalization&gt;</code></link>element and
                the <link linkend="slr_storage"><code>storage</code></link>. All sizes are represented
                in 8bit bytes. The size of text for these profiles is the size of the text converted
                to the selected encoding without any byte order marks attached. The encodings are
                specified by the Unicode Consortium in <ulink url="http://www.unicode.org/versions/Unicode6.2.0/ch02.pdf">chapter 2.5 of the
                    Unicode Standard</ulink> <link linkend="Unicode">[Unicode]</link>.</para>
            <table>
                <title>Profiles</title>
                <tgroup cols="2">
                    <thead>
                        <row>
                            <entry>Name</entry>
                            <entry>Description</entry>
                        </row>
                    </thead>
                    <tbody>
                        <row>
                            <entry>xliff:utf8</entry>
                            <entry>The number of 8bit bytes needed to represent the string encoded
                                as UTF-8 as specified by the Unicode consortium.</entry>
                        </row>
                        <row>
                            <entry>xliff:utf16</entry>
                            <entry>The number of 8bit bytes needed to represent the string encoded
                                as UTF-16 as specified by the Unicode consortium.</entry>
                        </row>
                        <row>
                            <entry>xliff:utf32</entry>
                            <entry>The number of 8bit bytes needed to represent the string encoded
                                as UTF-32 as specified by the Unicode consortium.</entry>
                        </row>
                    </tbody>
                </tgroup>
            </table>
            <para>These profiles make use of the following attributes from this module:</para>
            <section>
                <title>storageRestriction</title>
                <para>The value of this attribute holds the ”maximum” or ”minimum and maximum” size
                    of the string. Either size <glossterm>must</glossterm> be an integer. The maximum size <glossterm>may</glossterm> also be ’*’
                    to denote that there is no maximum restriction. If only a maximum is specified
                    it is implied that the minimum is 0 (empty string). The format of the value is
                    the <glossterm>optional</glossterm> minimum size and a coma followed by a maximum size
                    (”[minsize,]maxsize”). The default value is ’*’ which evaluates to a string with
                    unbounded size.</para>
            </section>
            <section>
                <title>equivStorage</title>
                <para>The value of this attribute is an integer representing how many bytes the
                    element it is set on is considered to contribute to the total size. If
                    empty the default is 0. The <link linkend="cp"><code>&lt;cp&gt;</code></link> is always converted to its representation in
                    the profiles encoding and the size of that representation is used as the size
                    contributed by the <link linkend="cp"><code>&lt;cp&gt;</code></link>. </para>
            </section>
        </section>
    </section>
    <section>
        <title>Third party profiles</title>
        <para>The general structure of this module together with the extensibility mechanisms
            provided has been designed with the goal to cater for all practically thinkable size
            restriction schemes. For example, to represent two dimensional data, a profile can adopt
            a coordinate style for the values of the general restriction attributes. For instance
                <code>{x,y}</code> to represent width and height, or <code>{{x1,y1},{x2,y2}}</code>
            to represent a bounding box. It is also possible to embed information necessary to drive
            for instance a display simulator and attach that data to text in order to be able to
            perform device specific checking. Providing font information and checking glyph based
            general size are other feasible options.</para>
    </section>
    <section>
        <title>Conformance</title>
        <para>To claim conformance to the XLIFF size and length restriction module an
                <firstterm>Agent</firstterm>
            <glossterm>must</glossterm> meet the following criteria:</para>
        <itemizedlist spacing="compact">
            <listitem>
                <para><glossterm>must</glossterm> be compliant with the schema of the
                        <firstterm>XLIFF Core</firstterm> specification and its extensions provided
                    in this module.</para>
            </listitem>
            <listitem>
                <para><glossterm>must</glossterm> follow all processing requirements set forth in
                    this module specification regarding the general use of elements and
                    attributes.</para>
            </listitem>
            <listitem>
                <para><glossterm>must</glossterm> support all standard profiles with normalization
                    set to <code>none</code>.</para>
            </listitem>
            <listitem>
                <para><glossterm>should</glossterm> support all standard profiles with all modes of
                    normalization.</para>
            </listitem>
            <listitem>
                <para><glossterm>may</glossterm> support additional third party profiles for storage
                    or general restrictions.</para>
            </listitem>
            <listitem>
                <para><glossterm>must</glossterm> provide at least one of the following:</para>
                <itemizedlist spacing="compact">
                    <listitem>
                        <para>add size and length restriction information to an <firstterm>XLIFF
                                Document</firstterm></para>
                    </listitem>
                    <listitem>
                        <para>if it supports the profile(s) specified in the <firstterm>XLIFF
                                Document</firstterm> it <glossterm>must</glossterm> provide a way to
                            check if the size and length restrictions in the document are met
                            according to the profile(s) requirements.</para>
                    </listitem>
                </itemizedlist>
            </listitem>
        </itemizedlist>
    </section>
    <section>
        <title>Example</title>
        <para>A short example on how this module can be used is provided here with inline XML comments explaining the usage of the module features.
	<programlisting format="linespecific">
&lt;xliff version="2.0" srcLang="en-us"
    xmlns="urn:oasis:names:tc:xliff:document:2.0"
    xmlns:slr="urn:oasis:names:tc:xliff:sizerestriction:2.0"&gt;
  &lt;file id="f1"&gt;
    &lt;slr:profiles generalProfile="xliff:codepoints"
        storageProfile="xliff:utf8"&gt;
      &lt;!-- Select standard UTF-8 storage encoding and standard codepoint
          size restriction both with NFC normalization--&gt;
      &lt;slr:normalization general="nfc" storage="nfc" /&gt;
    &lt;/slr:profiles&gt;
    &lt;!-- The group should not require more than 255 bytes of storage And
        have at most 90 codepoints. Note that the sum of the unit sizes
        are larger than this the total content of the group must still
        be at most 90 codepoints. --&gt;
    &lt;group id="g1" slr:storageRestriction="255" slr:sizeRestriction="90"&gt;
      &lt;!-- This unit must not contain more than 60 code points --&gt;
      &lt;unit id="u1" slr:sizeRestriction="60"&gt;
        &lt;segment&gt;
          &lt;!-- The spanning &lt;pc&gt; element require 7 bytes of storage in the
              native format. Its content must not have more than 25
              codepoints --&gt;
          &lt;source&gt;This is a small &lt;pc equivStorage="7"
              slr:sizeRestriction="25"&gt;size restriction&lt;/pc&gt;
              example. &lt;/source&gt;
        &lt;/segment&gt;
      &lt;/unit&gt;
      &lt;!-- This unit must not have more than 35 codepoints --&gt;
      &lt;unit id="u2" slr:sizeRestriction="35"&gt;
        &lt;segment&gt;
          &lt;source&gt;With a group structure.&lt;/source&gt;
        &lt;/segment&gt;
      &lt;/unit&gt;
    &lt;/group&gt;
  &lt;/file&gt;
&lt;/xliff&gt;
 </programlisting>
	</para>
     </section>

</section>
      <section id="validation_module">
  <title>Validation Module</title>
  <section>
    <title>Introduction</title>
    <para>This module defines a specific set of validation rules that can be applied to target text both globally and locally. Further constraints can be defined that allow rules to be applied to target text based on conditions in the source text or disabled to override a global scope.</para>
  </section>
    <section>
        <title>Module Namespace and Validation Artifacts</title>
        <para>The namespace for the Validation module is:
        <code>urn:oasis:names:tc:xliff:validation:2.0</code></para>
      <para>Schema and Schematron for this module are available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/validation.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/validation.xsd</ulink> and <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/validation.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/validation.sch</ulink>.</para>
    </section>

    <section>
      <title>Module Fragment Identification Prefix</title>
      <para>The fragment identification prefix for the Validation module is: <code>val</code></para>
    </section>

    <section>
    <title>Module Elements</title>
    <para>The elements defined in the Validation module are:
        <link linkend="validation"><code>&lt;validation&gt;</code></link> and
        <link linkend="rule"><code>&lt;rule&gt;</code></link>.</para>
<section><!--  gen. 20140318  -->
  <title>Tree Structure</title>
  <para>Legend:</para>
  <simplelist type="vert">
    <member>+ = one or more</member>
  </simplelist>
  <programlisting format="linespecific">
<link linkend="validation"><code>&lt;validation&gt;</code></link>
|
+---<link linkend="rule"><code>&lt;rule&gt;</code></link> +


  </programlisting>
</section>
    <section id="validation">
    <title>validation</title>
    <para>Parent container for a list of rules and constraints to apply to the target text of the enclosing element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="rule"><code>&lt;rule&gt;</code></link> elements.</member>
    </simplelist>
  
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>
    
  <itemizedlist>
    <title>Processing Requirements</title>

     <listitem>
      <para>When the <link linkend="validation"><code>&lt;validation&gt;</code></link> element occurs at the 
        <link linkend="file"><code>&lt;file&gt;</code></link> level, rules <glossterm>must</glossterm> be applied to all 
      <link linkend="target"><code>&lt;target&gt;</code></link> elements within the scope of that  
      <link linkend="file"><code>&lt;file&gt;</code></link> element, except where overrides are specified at the 
      <link linkend="group"><code>&lt;group&gt;</code></link> or 
      <link linkend="unit"><code>&lt;unit&gt;</code></link> level.</para>
    </listitem>
    
    <listitem>
      <para>When <link linkend="validation"><code>&lt;validation&gt;</code></link> occurs at the 
        <link linkend="group"><code>&lt;group&gt;</code></link> level, rules <glossterm>must</glossterm> be applied to all 
      <link linkend="target"><code>&lt;target&gt;</code></link> elements within the scope of that 
      <link linkend="group"><code>&lt;group&gt;</code></link>, except where overrides are specified in a nested 
      <link linkend="group"><code>&lt;group&gt;</code></link> element, or at the 
      <link linkend="unit"><code>&lt;unit&gt;</code></link> level.</para>
    </listitem>
    
    <listitem>
      <para>When <link linkend="validation"><code>&lt;validation&gt;</code></link> occurs at the 
        <link linkend="unit"><code>&lt;unit&gt;</code></link> level, rules <glossterm>must</glossterm> be applied to all 
      <link linkend="target"><code>&lt;target&gt;</code></link> elements within the scope of that 
      <link linkend="unit"><code>&lt;unit&gt;</code></link>.</para>
    </listitem>
   
  </itemizedlist>
</section>
    <section id="rule">
    <title>rule</title>
    <para>A specific rule and constraint to apply to the target text of the enclosing element.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- This element is always empty.</member>
    </simplelist>
  
    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>- <link linkend="val_isPresent"><code>isPresent</code></link>, <glossterm>optional</glossterm></member> 
        <member>- <link linkend="val_occurs"><code>occurs</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="val_isNotPresent"><code>isNotPresent</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="val_startsWith"><code>startsWith</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="val_endsWith"><code>endsWith</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="val_existsInSource"><code>existsInSource</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="val_caseSensitive"><code>caseSensitive</code></link>,  <glossterm>optional</glossterm></member>
        <member>- <link linkend="val_normalization"><code>normalization</code></link>,  <glossterm>optional</glossterm></member>
        <member>- <link linkend="val_disabled"><code>disabled</code></link>, <glossterm>optional</glossterm></member>
        <member>- attributes from other namespaces, <glossterm>optional</glossterm></member>
    </simplelist>
    
    <itemizedlist>
        <title>Constraints</title>
        <listitem><para>Exactly one of the following attributes: <itemizedlist>
                    <listitem>
                        <para><link linkend="val_isPresent"><code>isPresent</code></link></para>
                    </listitem>
                    <listitem>
                        <para><link linkend="val_isNotPresent"><code>isNotPresent</code></link></para>
                    </listitem>
                    <listitem>
                        <para><link linkend="val_startsWith"><code>startsWith</code></link></para>
                    </listitem>
                    <listitem>
                        <para><link linkend="val_endsWith"><code>endsWith</code></link></para>
                    </listitem>
                    <listitem>
                        <para>a custom rule defined by attributes from any namespace</para>
                    </listitem>
                </itemizedlist>is <glossterm>required</glossterm> in any one <link linkend="rule"><code>&lt;rule&gt;</code></link> element.</para></listitem>
    </itemizedlist>
        <itemizedlist>
    <title>Processing Requirements</title>
      
            <listitem><para><firstterm>Writers</firstterm>
                <glossterm>may</glossterm> create and add new <link linkend="rule"><code>&lt;rule&gt;</code></link> elements, provided that the new rules do not
                contradict rules already present.</para></listitem>
            <listitem><para><firstterm>Modifiers</firstterm>
                <glossterm>must not</glossterm> change attributes defined in this module that are
                already present in any <link linkend="rule"><code>&lt;rule&gt;</code></link> element.</para></listitem>
            <listitem><para><firstterm>Modifiers</firstterm> <glossterm>must not</glossterm> remove either <link linkend="rule"><code>&lt;rule&gt;</code></link> elements or their attributes defined in this
                module.</para></listitem>
       </itemizedlist>
</section>
    </section>

    <section>
    <title>Module Attributes</title>
    <para>The attributes defined in the Validation module are:
         <link linkend="val_isPresent"><code>isPresent</code></link>,
         <link linkend="val_occurs"><code>occurs</code></link>,
         <link linkend="val_isNotPresent"><code>isNotPresent</code></link>,
         <link linkend="val_startsWith"><code>startsWith</code></link>,
         <link linkend="val_endsWith"><code>endsWith</code></link>,
         <link linkend="val_existsInSource"><code>existsInSource</code></link>,
         <link linkend="val_caseSensitive"><code>caseSensitive</code></link>,
         <link linkend="val_normalization"><code>normalization</code></link>, and
         <link linkend="val_disabled"><code>disabled</code></link>.
      </para>

    <section id="val_isPresent">
  <title>isPresent</title>

  <para>This rule attribute specifies that a string <glossterm>must</glossterm> be present in the target text <emphasis>at least once</emphasis>.</para>
  <para>For example, the following is valid:</para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule isPresent="online" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na loja online.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para>Whereas the following is invalid:</para>
    <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule isPresent="loja" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na online store.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para>Other rule attributes can be combined with <link linkend="val_isPresent"><code>isPresent</code></link> to produce the following results:</para>
  <simplelist type="vert">
<member>isPresent=”loja” - loja is found in the target text at least once.</member>
<member>isPresent=”loja” occurs=”1” - loja is found in the target text exactly once.</member>
<member>isPresent=”loja” existsInSource=”yes” - loja is found in both source and target text the same number of times.</member>
<member>isPresent=”loja” existsInSource=”yes” occurs=”1” - loja is found in both source and target text and occurs in target text exactly once.</member>
</simplelist>

    <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> none</para>

  <para><emphasis>Used in:</emphasis> <link linkend="rule"><code>&lt;rule&gt;</code></link></para>

</section>
    <section id="val_occurs">
  <title>occurs</title>

  <para>This rule attribute is used with the <link linkend="val_isPresent"><code>isPresent</code></link> rule attribute to specify the exact
    number of times a string <glossterm>must</glossterm> be present in the target text. When this
    rule attribute is not used, then the string <glossterm>must</glossterm> be present in the target
    text <emphasis>at least once</emphasis>.</para>

   <para>For example, the following is valid:</para>

<programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule isPresent="loja" occurs="2" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose a store option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção de loja na loja online.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para>Whereas the following is invalid:</para>
<programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule isPresent="loja" occurs="2" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose a store option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção de loja na online store.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>

  <para><emphasis>Value description:</emphasis> A number of 1 or greater.</para>
  <para><emphasis>Default value:</emphasis> none</para>
  <para><emphasis>Used in:</emphasis> <link linkend="rule"><code>&lt;rule&gt;</code></link></para>

</section>
    <section id="val_isNotPresent">
  <title>isNotPresent</title>

  <para>This rule attribute specifies that a string <glossterm>must not</glossterm> be present in the target text.</para>
  <para>For example, the following is valid:</para>
<programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule isNotPresent="store" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na loja online.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
 <para>Whereas the following is invalid:</para>
<programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule isNotPresent="store" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na online store.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para><emphasis>Value description:</emphasis> Text.</para>
  <para><emphasis>Default value:</emphasis> none</para>
  <para><emphasis>Used in:</emphasis> <link linkend="rule"><code>&lt;rule&gt;</code></link></para>

</section>
    <section id="val_startsWith">
  <title>startsWith</title>

  <para>This rule attribute specifies that a string <glossterm>must</glossterm> start with a specific value.</para>

  <para>For example, the following is valid:</para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule startsWith="*" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;*Choose an option in the online store.&lt;/source&gt;
    &lt;target&gt;*Escolha uma opção na loja online.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para>Whereas the following is invalid:</para>
  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule startsWith="*" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;*Choose an option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na loja online.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para>
    <emphasis>Value description:</emphasis> Text.
  </para>

  <para>
    <emphasis>Default value:</emphasis> none
  </para>

  <para>
    <emphasis>Used in:</emphasis>
    <link linkend="rule"><code>&lt;rule&gt;</code></link>
  </para>

</section>
    <section id="val_endsWith">
  <title>endsWith</title>

  <para>This rule attribute specifies that a string <glossterm>must</glossterm> end with a specific value.</para>

  <para>For example, the following is valid:</para>

  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule endsWith=":" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store:&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na loja online:&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para>Whereas the following is invalid:</para>
  <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule endsWith=":" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store:&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na online store.&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para><emphasis>Value description:</emphasis> Text.</para>

  <para><emphasis>Default value:</emphasis> none</para>

  <para><emphasis>Used in:</emphasis> <link linkend="rule"><code>&lt;rule&gt;</code></link></para>

</section>
    <section id="val_existsInSource">
  <title>existsInSource</title>

  <para>When this rule attribute is used with another rule attribute and is set to <code>yes</code>, it specifies that for the rule to succeed, the condition
  <glossterm>must</glossterm> be satisfied in both source and target text. This rule attribute is valid only when used with one of the following rule attributes:
      <link linkend="val_isPresent"><code>isPresent</code></link>,
      <link linkend="val_startsWith"><code>startsWith</code></link>, or
      <link linkend="val_endsWith"><code>endsWith</code></link>.</para>

<para>When <link linkend="val_existsInSource"><code>existsInSource</code></link> is set to
    <code>no</code>, it will have no impact on execution of rules, except for overriding rules where
    <link linkend="val_existsInSource"><code>existsInSource</code></link> is set to <code>yes</code> on a higher level.</para>
    <para>For example, the following are valid:</para>
 <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule endsWith=":" existsInSource="yes" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store:&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na loja online:&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
&lt;unit id="2"&gt;
  &lt;val:validation&gt;
    &lt;val:rule endsWith=":" existsInSource="no" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na loja online:&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
<para>Whereas the following is invalid:</para>
<programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule endsWith=":" existsInSource="yes" /&gt;
  &lt;/val:validation&gt;
  &lt;segment id="1"&gt;
    &lt;source&gt;Choose an option in the online store.&lt;/source&gt;
    &lt;target&gt;Escolha uma opção na loja online:&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
  <para><emphasis>Value description:</emphasis> <code>yes</code> or <code>no</code></para>
  <para><emphasis>Default value:</emphasis> <code>no</code></para>
  <para><emphasis>Used in:</emphasis> <link linkend="rule"><code>&lt;rule&gt;</code></link></para>

  <itemizedlist>
    <title>Constraints</title>

    <listitem><para>
      When <link linkend="val_existsInSource"><code>existsInSource</code></link> is specified, exactly one of
      <itemizedlist>
        <listitem><para><link linkend="val_isPresent"><code>isPresent</code></link></para></listitem>
        <listitem><para><link linkend="val_startsWith"><code>startsWith</code></link></para></listitem>
        <listitem><para><link linkend="val_endsWith"><code>endsWith</code></link></para></listitem>
      </itemizedlist>
      is <glossterm>required</glossterm> in the same <link linkend="rule"><code>&lt;val:rule&gt;</code></link> element.
    </para></listitem>
    <!-- 
    <listitem><para>When one of the following:
      <itemizedlist>
        <listitem><para><olink targetdoc="../../attributes/validation/val_mustLoc.xml" targetptr="val_mustLoc"><code>mustLoc</code></olink></para></listitem>
        <listitem><para><olink targetdoc="../../attributes/validation/val_noLoc.xml" targetptr="val_noLoc"><code>noLoc</code></olink></para></listitem>
      </itemizedlist>
      is specified, the attribute <link linkend="val_existsInSource"><code>existsInSource</code></link> <glossterm>must not</glossterm>
      occur in the same <olink targetdoc="../../elements/validation/rule.xml" targetptr="rule"><code>&lt;val:rule></code></olink> element.
      </para></listitem>
       -->
  </itemizedlist>

</section>

    <!-- <xi:include href="../../attributes/validation/val_mustLoc.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> -->
    <!-- <xi:include href="../../attributes/validation/val_noLoc.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> -->
    <section id="val_caseSensitive">
  <title>caseSensitive</title>

  <para>This rule attribute specifies whether the test defined within that rule is case sensitive or not.</para>

  <para><emphasis>Value description:</emphasis> <code>yes</code> if the test is case sensitive, <code>no</code> if the test is case insensitive.</para>

  <para><emphasis>Default value:</emphasis> <code>yes</code>.</para>

  <para><emphasis>Used in:</emphasis> <link linkend="rule"><code>&lt;rule&gt;</code></link></para>


</section>
    <section id="val_normalization">
  <title>normalization</title>

  <para>This rule attribute specifies the normalization type to apply when validating a rule. Only the
    normalization forms C and D as specified in  <link linkend="uax15">[UAX #15]</link>.</para>

  <para><emphasis>Value description:</emphasis> The allowed values are listed in the table below
    along with their corresponding types of normalization to be applied.</para>
  <table>
    <title>Values</title>
    <tgroup cols="2">
      <thead>
        <row>
          <entry>Value</entry>
          <entry>Description</entry>
        </row>
      </thead>
      <tbody>
        <row>
          <entry>none</entry>
          <entry>No normalization <glossterm>should</glossterm> be done.</entry>
        </row>
        <row>
          <entry>nfc</entry>
          <entry>Normalization Form C <glossterm>must</glossterm> be used.</entry>
        </row>
        <row>
          <entry>nfd</entry>
          <entry>Normalization Form D <glossterm>must</glossterm> be used.</entry>
        </row>
     </tbody>
    </tgroup>
  </table>

  <para><emphasis>Default value:</emphasis> <code>nfc</code></para>

  <para><emphasis>Used in:</emphasis> <link linkend="rule"><code>&lt;rule&gt;</code></link></para>


</section>
    <section id="val_disabled">
  <title>disabled</title>

  <para>This rule attribute determines whether a rule <glossterm>must</glossterm> or <glossterm>must
      not</glossterm> be applied within the scope of its enclosing element. For example, a rule
    defined at the <link linkend="file"><code>&lt;file&gt;</code></link> level can be disabled at the <link linkend="unit"><code>&lt;unit&gt;</code></link>
    level.</para>
  <para>This attribute is provided to allow for overriding execution of rules set at higher levels,
    see <link linkend="validation"><code>&lt;val:validation&gt;</code></link>.</para>

  <para>In the following example, the isNotPresent rule is applied in its entirety to the first unit, but not to the second.</para>

<programlisting format="linespecific">
&lt;file id="f1"&gt;
  &lt;val:validation&gt;
    &lt;val:rule isPresent="store" /&gt;
  &lt;/val:validation&gt;
  &lt;unit id="1"&gt;
    &lt;segment id="1"&gt;
      &lt;source&gt;Choose an option in the online store:&lt;/source&gt;
      &lt;target&gt;Escolha uma opção na loja online:&lt;/target&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
  &lt;unit id="2"&gt;
    &lt;val:validation&gt;
      &lt;val:rule isPresent="store" disabled="yes" /&gt;
    &lt;/val:validation&gt;
    &lt;segment id="1"&gt;
      &lt;source&gt;Choose an option in the application store:&lt;/source&gt;
      &lt;target&gt;Escolha uma opção na application store:&lt;/target&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
&lt;/file&gt;
 </programlisting>

  <para><emphasis>Value description:</emphasis> <code>yes</code> or <code>no</code></para>

  <para><emphasis>Default value:</emphasis> <code>no</code></para>

  <para><emphasis>Used in:</emphasis> <link linkend="rule"><code>&lt;rule&gt;</code></link></para>

</section>
  </section>



</section>
    <!--  2.1 modules  -->
      <section id="ITS-module">
  <title>ITS Module</title>
  
  <section>
    <title>Introduction</title>
    <para>This module defines <link linkend="itsmAnnotations">Inline Annotations</link> (normative usage descriptions for attributes on inline
      annotation markers), attributes and elements that are needed to map <link linkend="ITS20">[ITS]</link> data categories using only
        <firstterm>XLIFF-defined</firstterm> elements and attributes. The module also defines an
      external rules file to be used by generic ITS processors working with <firstterm>XLIFF
        Documents</firstterm>. This module only defines attributes and annotations that are not
      available through <firstterm>XLIFF Core</firstterm> or other <firstterm>Modules</firstterm>.
      This module specification also contains normative provisions for mapping of <link linkend="ITS20">[ITS]</link> data categories and features that
      are available via XLIFF <firstterm>Core</firstterm> and other modules (<link linkend="ITSInCore">ITS data categories available through XLIFF Core
        and other Modules</link> and <link linkend="ITSPartialOverlap">ITS data categories that have a partial overlap with XLIFF
        features</link>) or other <firstterm>Modules</firstterm> outside of the ITS Module (<link linkend="ITSPartialOverlap">ITS data categories that have a
        partial overlap with XLIFF features</link>). Finally an overview of data categories is
      provided where the information is or can be fully expressed by
        <firstterm>Extraction</firstterm> behavior and therefore those categories or their parts
      (sub-categories) cannot be represented as metadata within <firstterm>XLIFF
        Documents</firstterm> (<link linkend="ITSnonMetadata">ITS data categories that do not represent metadata after Extraction of content into
      XLIFF</link>).</para>
    <!--  Yves thought this reading note wasn't needed <note><para>Since the ITS Module unlike other XLIFF Modules, defines many Inline Annotations, those
        Annotations are specified where they're technically needed throughout the Module
        specification and not broken out into a separate top level section as in other Modules that
        typically introduce up to one custom annotation. </para>
    </note> -->
    <note><para>This module specification chiefly describes how the <link linkend="ITS20">[ITS]</link> data categories need to be expressed within
          <firstterm>XLIFF Documents</firstterm>. Some data categories are typically
          <firstterm>Extracted</firstterm> from native source formats, others would be first
        injected into <firstterm>XLIFF Documents</firstterm> by <firstterm>Enriching
          Agents</firstterm> and might be useful or not in the target content after
          <firstterm>Merging</firstterm> back to the native format in the target natural language.
        For all ITS data categories that can be encoded within <firstterm>XLIFF
          Documents</firstterm>, there is an important XLIFF specific distinction between structural
        and inline elements in XLIFF. Some categories can only be expressed inline in
          <firstterm>XLIFF Documents</firstterm>. Others can be also expressed on structural markup
        levels; in such a case, inheritance (or not) from the XLIFF structural levels is important.
        Nevertheless, even the inline only ITS data categories can be in scope of <link linkend="itsToolsReferencing">ITS Tools Referencing</link> that can be set on structural
        levels and possible inheritance of relevant <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> values needs to be always checked by
        implementers.</para></note>
    <warning id="pseudo-spanWarning">
      <para>There is an important scope difference between attributes from the namespace
          <code>http://www.w3.org/2005/11/its</code> as implemented in <firstterm>XLIFF
          Documents</firstterm> and as defined in the <link linkend="ITS20">[ITS]</link> specification itself. This affects all ITS attributes that
        can be used on inline spans. In XLIFF, spans delimited by the well-formed <code><link linkend="mrk">&lt;mrk&gt;</link></code> are
        always equivalent and interchangeable with pseudo-spans delimited by <code><link linkend="sm">&lt;sm/&gt;</link></code> /
            <code><link linkend="em">&lt;em/&gt;</link></code> pairs. In many cases delimiting the needed spans by <code><link linkend="mrk">&lt;mrk&gt;</link></code> is
        impossible due to overlap with other well-formed spans, while delimiting of inline spans
        with <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pairs is always possible and often preferable as
        it allows the spans to persist even through a change of segmentation.</para>
      <para>However, <link linkend="ITS20">[ITS]</link> doesn't
        define a pseudo-span mechanism and thus generic ITS Processors cannot parse pseudo-spans.
        ITS processors will generally identify ITS attributes or their mappings from XLIFF specific
        namespaces on the <code><link linkend="sm">&lt;sm/&gt;</link></code> markers, but they will consider their scope to be the empty
        marker itself, whereas the true scope of all attributes on such markers within
          <firstterm>XLIFF Documents</firstterm> is between the start marker <code>&lt;sm
          id="1"/&gt;</code> and it's corresponding end marker <code>&lt;em startRef="1"/&gt;</code>. </para>
      <para>Implementers who wish to better access <link linkend="ITS20">[ITS]</link> data categories information within <firstterm>XLIFF
          Documents</firstterm> can implement an additional capability in their ITS Processors to
        detect spans like this one <code>&lt;sm id="1"/&gt;span of text&lt;em startRef="1"/&gt;</code>
        without going into any more XLIFF specific features and becoming full fledged XLIFF
          <firstterm>Agents</firstterm>.</para>
    </warning>
  </section>
  <section>
    <title>Module Namespace and Validation Artifacts</title>
    <para>The namespaces for the ITS module are: <code>http://www.w3.org/2005/11/its</code> and
      <code>urn:oasis:names:tc:xliff:itsm:2.1</code>.</para>
    <para>Schemas and Schematron for this module are available at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.xsd</ulink>, <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/itsm.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/itsm.xsd</ulink>, and <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.sch</ulink>. </para>
      <note>
        <para>Although setting and usage of prefixes for namespaces in XML is arbitrary, we are using
          <code>its:</code> for the <code>http://www.w3.org/2005/11/its</code> namespace and <code>itsm:</code> for the <code>urn:oasis:names:tc:xliff:itsm:2.1</code> namespace throughout this specification.</para>
      </note>
  </section>
  <section>
    <title>Module Fragment Identification Prefix</title>
    <para>The fragment identification prefix for the ITS module is: <code>its</code>.</para>
    <note>
      <para>Although this module has to use two different XML namespace prefixes it uses only one
        fragment identification and authority prefix which is <code>its</code>.</para>
    </note>
  </section>
  <section id="ITSM_Conformance">
    <title>Conformance to the ITS Module Specification</title>
    <note><para>Some ITS data categories like <ulink url="https://www.w3.org/TR/its20/#trans-datacat">Translate</ulink> are supported natively by XLIFF. Other data categories are not supported
        by XLIFF because they are focusing on source content and not XLIFF content. The below
        conformance statement is only relevant for data categories for which the usage in XLIFF 2.1
        is normatively defined in this XLIFF 2.1 <link linkend="ITS-module">ITS Module</link>. Like
      in the <link linkend="ITS20">[ITS]</link> 2.0 specification, there is no interrelation between data categories.</para></note>
    
    <!--  The contents of this paragrap should now be covered in the above Note and the below PRs <para>An implementation of the ITS Module needs to implement at least one of the ITS 2.0 data categories for which the usage in XLIFF 2.1 is normatively defined in the ITS Module. Like in the ITS 2.0 specification, there is no interrelation between data categories. The implementation MUST take into account the processing expectations for ITS markup, as defined in the ITS 2.0 specification (link to https://www.w3.org/TR/its20/#conformance-product-processing-expectations) , that is, the conformance clauses 2-1, 2-2, 2-3 and 2-4 in the ITS 2.0 specifications.</para> -->
    <itemizedlist>
      <title>Processing Requirements</title>
      <listitem>
        <para>Conformant ITS Processors <glossterm>must</glossterm> be able to use the external
          global rules included in the module's Schematron file <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.sch</ulink>
          and compute ITS data categories encoded in <firstterm>XLIFF Documents</firstterm> as per
            <link linkend="ITS20">[ITS]</link>
          <ulink url="https://www.w3.org/TR/its20/#conformance-product-processing-expectations">Conformance clauses</ulink> 2-1, 2-2, 2-3, and 2-4.</para>
        <itemizedlist>
          <listitem>
            <para>In cases where any of the above specified global rules identifies an empty <link linkend="sm"><code>&lt;sm&gt;</code></link>
              element, conformant ITS Processors <glossterm>should</glossterm> be able identify the
              closing <link linkend="em"><code>&lt;em&gt;</code></link> marker and process the relevant ITS data category as
              applied on the span delimited by those corresponding empty markers.</para>
          </listitem>
        </itemizedlist>
        
      </listitem>
      
      <listitem>
        <para>Conformant <firstterm>Agents</firstterm>
          <glossterm>must</glossterm> be XLIFF Conformant in the sense of XLIFF <link linkend="ApplicationConformance">Application Conformance</link> and also implement at least one <link linkend="ITS20">[ITS]</link> data category defined in the
          section <link linkend="itsm_defined_categories">ITS data categories defined in the ITS
            Module</link> of this <link linkend="ITS-module">ITS Module</link> or provide full
          support for at least one of the <link linkend="ITS20">[ITS]</link> custom annotations (<link linkend="itsmAnnotations">ITS Mapping Annotations</link>) specified in the Section
            <link linkend="ITSPartialOverlap">ITS data categories
            that have a partial overlap with XLIFF features</link>.</para>
        <para>In particular:</para>
        <itemizedlist>
          <listitem>
            <para>Conformant <firstterm>Extractors</firstterm>
              <glossterm>must</glossterm> be capable of <firstterm>Extracting</firstterm> at least
              one of the above specified ITS data categories from a source format and encode it in a
              resulting conformant <firstterm>XLIFF Document</firstterm> with ITS Module based
              metadata. </para>
          </listitem>
          <listitem>
            <para> Conformant <firstterm>Enrichers</firstterm>
              <glossterm>must</glossterm> be capable of <firstterm>Enriching</firstterm>
              <firstterm>XLIFF Documents</firstterm> with at least one of the above specified ITS
              data categories.</para>
          </listitem>
          <listitem>
            <para>Conformant <firstterm>Modifiers</firstterm>
              <glossterm>must</glossterm> be capable of updating at least one of the above specified
              ITS data categories according to its own Constraints and Processing Requirements as
              specified in the ITS Module.</para>
          </listitem>
          <listitem>
            <para>Conformant <firstterm>Mergers</firstterm>
              <glossterm>must</glossterm> be capable of <firstterm>Merging</firstterm> metadata of
              at least one of the above specified ITS data categories back to the respective native
              format (with full knowledge of the <firstterm>Extraction</firstterm> mechanism) in the target natural
              language.</para>
          </listitem>
        </itemizedlist>
        
      </listitem>
      
      
    </itemizedlist>
  </section>
  <section id="itsToolsReferencing">
    <title>ITS Tools Referencing</title>
    <para>
    <!--   This is now addressed in the Note below COMMENT: MAKE CLEAR IF EACH ITS DATA CATEGORY NEEDS TO IMPLEMENT ANNOTATORS REF SUPPORT.
      FELIX TO CHECK IN ITS SPEC - A.REF MAY BE ONLY MANADATORY FOR THREE DATA CATEGORIES. dF:
      Although mandatory for only MT Confidence and conditionally mandatroy for a few more, it can
      be provided by any other data category, so the mechanism is needed..</para>
    <para> --> <link linkend="ITS20">[ITS]</link> <ulink url="http://www.w3.org/TR/2013/REC-its20-20131029/#its-tool-annotation         ">Tools Annotation</ulink> mechanism provides a way to record tools that produced <link linkend="ITS20">[ITS]</link> metadata.</para>
    <warning><para>This mechanism is reserved for recording producers of ITS metadata. General provenance
        information can be recorded using the <link linkend="Provenance">Provenance</link> data category mapping defined in this Module. <!--   CTR demoted: If
      an <firstterm>Agent</firstterm> records the revision history of previous versions, they need do this using the
          <olink targetptr="changeTracking_module" targetdoc="../change-tracking/specification.xml"
          >Change Tracking Module</olink>, possibly extended with ITS Module.  --><link linkend="Provenance">Provenance</link> metadata. </para></warning>
    <note><para>The <link linkend="itsToolsReferencing">ITS Tools Referencing</link> mechanism has to be
        always used with the <link linkend="MT_Confidence">MT
          Confidence</link> data category. The <link linkend="Terminology_datacat">Terminology</link> and <link linkend="Text_Analysis">Text Analysis</link> data
        categories have to use <link linkend="itsToolsReferencing">ITS Tools Referencing</link>
        conditionally, i.e. whenever they specify <link linkend="itsm_termConfidence"><code>its:termConfidence</code></link> or <link linkend="itsm_taConfidence"><code>its:taConfidence</code></link> respectively.</para>
      <para>With all other <link linkend="ITS20">[ITS]</link> data
        categories, there is no express need to use the <link linkend="itsToolsReferencing">ITS
          Tools Referencing</link> mechanism. It is nevertheless advised that the relevant ITS
        Tooling metadata is <firstterm>Extracted</firstterm> where available and
          <firstterm>Modified</firstterm> when the relevant ITS data category information changes
        during the <firstterm>XLIFF Document</firstterm> processing. Finally, all conformant
          <firstterm>Agents</firstterm> and ITS Processors need to be able to compute the <link linkend="itsToolsReferencing">ITS Tools Referencing</link> information in case this has
        been provided by other conformant <firstterm>Agents</firstterm> earlier in the workflow as
        per the <link linkend="ITS-module">ITS Module</link>
        <link linkend="ITSM_Conformance">Conformance</link> section.</para></note>
    <itemizedlist>
      <title>Processing Requirements</title>
      <listitem><para><firstterm>Writers</firstterm>
          <glossterm>must</glossterm> use the attribute <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> to express the information provided through
          the <link linkend="ITS20">[ITS]</link>
          <ulink url="http://www.w3.org/TR/2013/REC-its20-20131029/#its-tool-annotation">Tools
            Annotation</ulink> mechanism in <firstterm>XLIFF Documents</firstterm>.</para></listitem>
    </itemizedlist>
    <section id="toolsAnnotation">
      <title>ITS Tools Annotation</title>
      <para>This is used to express the <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/2013/REC-its20-20131029/#its-tool-annotation           ">Tools Annotation</ulink> mechanism on inline markers.</para>
      <para>Usage:</para>
      <itemizedlist spacing="compact">
        <listitem>
          <para>The <link linkend="id"><code>id</code></link> attribute is <glossterm>required</glossterm>.</para>
        </listitem>
        <listitem>
          <para>The <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute is <glossterm>required</glossterm>.</para>
        </listitem>
        
        <listitem>
          <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
            <code>its:generic</code>.</para>
          
        </listitem>
        
        
        <listitem>
          <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
        </listitem>
      </itemizedlist>
      
    </section>
  </section>
  
  <section id="itsm_defined_categories">
  <!--  sections reordered as per resolution for JIRA issue XLIFF-2  -->
    <title>ITS data categories defined in the ITS Module</title>
    <para>The following <link linkend="ITS20">[ITS]</link> data categories are fully specified within this module:</para>
    <itemizedlist>
      <!--  moved to non-metadata section
      <listitem><para><olink targetdoc="Elements_Within_Text.xml" targetptr="Elements_Within_Text">Elements Within Text</olink></para></listitem> -->    
      <listitem><para><link linkend="Allowed_Characters">Allowed Characters</link></para></listitem>
      <listitem><para><link linkend="Domain">Domain</link></para></listitem>
      <listitem><para><link linkend="Locale_Filter">Locale Filter</link></para></listitem>
      
      <listitem><para><link linkend="Localization_Quality_Issue">Localization Quality Issue</link></para></listitem>
      <listitem><para><link linkend="Localization_Quality_Rating">Localization Quality Rating</link></para></listitem>
      <listitem>
        <para><link linkend="Provenance">Provenance</link>,</para>
      </listitem>
      
      <listitem><para><link linkend="Text_Analysis">Text Analysis</link></para></listitem>
      <!-- more olinks to itsm supported categories ?? check if the list is complete.. -->
    </itemizedlist>
    <!--  moved to non-metadata section<xi:include href="Elements_Within_Text.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> -->
    <section id="Allowed_Characters">
  <title>Allowed Characters</title>

  <para>Used to specify the characters that are permitted in a given piece of content. See <link linkend="ITS20">[ITS]</link>
    <ulink url="https://www.w3.org/TR/its20/#allowedchars">Allowed Characters</ulink> for further
    details.</para>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem><para><firstterm>Writers</firstterm>
        <glossterm>must</glossterm> use the <link linkend="allowedCharactersAnnotation">ITS Allowed Characters Annotation</link> to express the
          <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/its20/#allowedchars">Allowed Characters</ulink> data category in
          <firstterm>XLIFF Documents</firstterm>.</para>
      <para>For both structural and inline elements, use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an
            <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with the following attribute: <link linkend="itsm_allowedCharacters"><code>its:allowedCharacters</code></link>.</para>
      <para>See the <link linkend="allowedCharactersAnnotation">ITS Allowed Characters Annotation</link> for
        the normative usage description of this attribute and the following sections for further
        details on structural and inline elements.</para></listitem>

  </itemizedlist>


  <section id="Allowed_Characters_Structural">
    <title>Structural Elements</title>
    <para>If a structural element of the original document has a Allowed Characters annotation, it
      is recommended to represent that annotation using a <code>&lt;mrk&gt;</code> element that
      encloses the whole content of the <code>&lt;source&gt;</code> element. </para>


    <example>
      <title>Extraction of Allowed Characters at structural levels</title>

      <para>Original: </para>

      <programlisting format="linespecific">
...
&lt;p its-allowed-characters="[a-ZA-Z]"&gt;Text&lt;/p&gt;
...
</programlisting>

      <para>Extraction:</para>


      <programlisting format="linespecific">
...
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;mrk id="m1" type="its:generic"
        its:allowedCharacters="[a-ZA-Z]"&gt;Text&lt;/mrk&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
    </example>



  </section>
  <section id="Allowed_Characters_Inline">
    <title>Inline Elements</title>
    <para>Use the ITS attribute on the <code>&lt;mrk&gt;</code> element:</para>

    <para>Original:</para>
    <programlisting format="linespecific">
...
&lt;p&gt;user name: &lt;span its-allowed-characters='[a-ZA-Z]'&gt;johnDoe&lt;/span&gt;&lt;/p&gt;
...
</programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
...
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;user name: &lt;mrk id="m1" type="its:generic"
        its:allowedCharacters="[a-ZA-Z]"&gt;johnDoe&lt;/mrk&gt;.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
  </section>
  <section id="allowedCharactersAnnotation">
    <title>ITS Allowed Characters Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="https://www.w3.org/TR/its20/#allowedchars">Alllowed Characters</ulink> data
      category.</para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="ITS20">[ITS]</link> defined <link linkend="itsm_allowedCharacters"><code>its:allowedCharacters</code></link> attribute
          is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
          <code>its:generic</code>.</para>

      </listitem>
      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
    </itemizedlist>

  </section>

</section>
    <section id="Domain">
  <title>Domain</title>

  <para>Identifies the topic, theme, or subject of the content in scope. See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#domain">Domain</ulink> for
    details.</para>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem><para><firstterm>Writers</firstterm>
        <glossterm>must</glossterm> use the attribute <link linkend="itsm_domains"><code>itsm:domains</code></link> to express the <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/its20/#domain">Domain</ulink> data category in
          <firstterm>XLIFF Documents</firstterm>.</para></listitem>

  </itemizedlist>
  <warning>
    <para>Please note that the <link linkend="Domain">Domain data category</link> uses the <link linkend="itsm_domains"><code>itsm:domains</code></link> attribute that belongs to the
        <code>urn:oasis:names:tc:xliff:itsm:2.1</code> namespace (prefixed with <code>itsm:</code>)
      and not to the <code>http://www.w3.org/2005/11/its</code> (prefixed with <code>its</code>)
      as most of the other attributes described in this module.</para>
  </warning>


  <section id="Domain_Structural">
    <title>Structural Elements</title>


    <example>
      <title>Extraction of Domain at structural levels</title>

    <para>Original:</para>

      <programlisting format="linespecific">
&lt;!doctype html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;Data Category: Domain&lt;/title&gt;
    &lt;script type="application/its+xml"&gt;
      &lt;its:rules xmlns:its="<ulink url="http://www.w3.org/2005/11/its">http://www.w3.org/2005/11/its</ulink>" version="2.0"
          xmlns:h="<ulink url="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</ulink>"&gt;
        &lt;its:domainRule selector="//h:*[@class='dom1']"
            domainPointer="./@class" domainMapping="dom1 domain1" /&gt;
      &lt;/its:rules&gt;
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p class="dom1"&gt;Text in the domain domain1&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
 </programlisting>


    <para>Extraction:</para>


      <programlisting format="linespecific">
...
&lt;unit id='2' itsm:domains="domain1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Text in the domain domain1&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
   </example>



  </section>
  <section id="Domain_Inline">
    <title>Inline Elements</title>
    <para> Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with the
        <link linkend="itsm_domains"><code>itsm:domains</code></link> attribute set.</para>
    <para>See the <link linkend="domainsAnnotation">ITS Domain Annotation</link> for the normative
      usage description on inline markers.</para>

  </section>

  <section id="domainsAnnotation">
    <title>ITS Domain Annotation</title>
    <para>This is used to express inline the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#domain">Domain</ulink> data category. </para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="id"><code>id</code></link> attribute is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="itsm_domains"><code>itsm:domains</code></link> attribute is
          <glossterm>required</glossterm>.</para>
      </listitem>

      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
          <code>its:generic</code>.</para>

      </listitem>


      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
    </itemizedlist>
    <example>
      <title>Extraction of Domain metadata on inline elements</title>

      <para>Original:</para>
      <programlisting format="linespecific">
&lt;!doctype html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;Data Category: Domain&lt;/title&gt;
    &lt;script type="application/its+xml"&gt;
      &lt;its:rules xmlns:its="<ulink url="http://www.w3.org/2005/11/its">http://www.w3.org/2005/11/its</ulink>" version="2.0"
          xmlns:h="<ulink url="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</ulink>"&gt;
        &lt;its:domainRule selector="//h:*[@class='dom1']"
            domainPointer="./@class" domainMapping="dom1 domain1" /&gt;
      &lt;/its:rules&gt;
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;Span of text &lt;span class="dom1"&gt;in the domain domain1&lt;/span&gt;&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
 </programlisting>
      <para>Extraction:</para>
      <programlisting format="linespecific">
...
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Span of text &lt;pc id="1"&gt;&lt;mrk id="m1" type="its:generic"
        itsm:domains="domain1" &gt;in the domain domain1&lt;/mrk&gt;&lt;/pc&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
    </example>
  </section>

</section>
    <!--  Moved partial overlap section for csprd02
    <xi:include href="External_Resource.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> -->
    
    <section id="Locale_Filter">
  <title>Locale Filter</title>

  <para>Expresses that a node is only applicable to certain locales. See <link linkend="ITS20">[ITS]</link>
    <ulink url="https://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> for further
    details. </para>
  <para>This section describes how the <ulink url="https://www.w3.org/TR/its20/#LocaleFilter">Locale
      Filter</ulink> information can be represented inline in <firstterm>XLIFF Documents</firstterm>
    if necessary. However, it is preferable that this data category is fully consumed by
      <firstterm>Extraction</firstterm>/<firstterm>Merge</firstterm> behavior as
      <glossterm>recommended</glossterm> in the section on <link linkend="its-locale-filter">ITS data categories that are not explicitly
      represented</link> in <firstterm>XLIFF Documents</firstterm>.</para>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para><firstterm>Writers</firstterm>
        <glossterm>must</glossterm> use the <link linkend="localeFilterAnnotation">ITS Locale Filter Annotation</link> to express the
          <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> data category in
          <firstterm>XLIFF Documents</firstterm> that don't have set the target locale.</para>
    </listitem>
    <listitem>
      <para><firstterm>Writers</firstterm>
        <glossterm>must</glossterm> use the <firstterm>XLIFF Core</firstterm>
        <link linkend="translateAnnotation">Translate
          Annotation</link> to express the <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> data category in
          <firstterm>XLIFF Documents</firstterm> with the target locale set.
        <!--  Explained in the next sentence.. COMMENT: re-word this so that structural elements
        are also covered. --></para>
    </listitem>
    <listitem>
      <para><firstterm>Modifiers</firstterm>
        <glossterm>must</glossterm> remove the <link linkend="localeFilterAnnotation">ITS Locale Filter Annotation</link> and replace it
        with the <firstterm>XLIFF Core</firstterm>
        <link linkend="translateAnnotation">Translate
          Annotation</link>  when setting the <link linkend="trgLang"><code>trgLang</code></link> or when receiving an <firstterm>XLIFF Documents</firstterm> with <link linkend="trgLang"><code>trgLang</code></link> set.</para>
    </listitem>
  </itemizedlist>
      <para><warning>
      <para>Core only <firstterm>Modifiers</firstterm> might have invalidated the <link linkend="localeFilterAnnotation">ITS Locale Filter
          Annotation</link> by setting the <link linkend="trgLang"><code>trgLang</code></link>. Although, this is addressed by the above
        PR, <link linkend="ITS20">[ITS]</link>
        <ulink url="https://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> capable
          <firstterm>Modifiers</firstterm> are strongly advised  to better set the <link linkend="trgLang"><code>trgLang</code></link>
        as soon as known and perform the above specified annotations' transformation rather than to
        assume that other tools downstream will be capable of interpreting the <link linkend="ITS20">[ITS]</link>
        <ulink url="https://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> metadata when
        setting the target locale.</para>
    </warning>For both structural and inline elements, use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an
        <code><link linkend="sm">&lt;sm/&gt;</link></code>
    / <code><link linkend="em">&lt;em/&gt;</link></code>
    pair with the following attributes: <link linkend="itsm_localeFilterList"><code>its:localeFilterList</code></link> and <link linkend="itsm_localeFilterType"><code>its:localeFilterType</code></link>.</para>
      <para>See the <link linkend="localeFilterAnnotation">ITS Locale Filter Annotation</link> for
        the normative usage description of those attributes and the following sections for further
        details on structural and inline elements.</para>






  <section id="Locale_Filter_Structural">
    <title>Structural Elements</title>
    <para>When the target locale in XLIFF is undefined, the locale filter data  category
        <glossterm>may</glossterm> be <firstterm>Extracted</firstterm> using the <link linkend="localeFilterAnnotation">ITS Locale Filter Annotation</link>.</para>


    <example>
      <title>Extraction of Locale Filter at structural levels</title>

      <para>Original: </para>

      <programlisting format="linespecific">
&lt;p its-locale-filter-list='fr'&gt;Text A&lt;/p&gt;
&lt;p its-locale-filter-list='ja'&gt;Text B&lt;/p&gt;
 </programlisting>

      <para>Extraction:</para>


      <programlisting format="linespecific">
&lt;xliff srcLang="en" version="2.1"&gt;
  ...
  &lt;unit id="1"&gt;
    &lt;segment&gt;
      &lt;source&gt;&lt;sm id=1 its:localeFilterList="fr"/&gt;Text A&lt;em
          startRef="1"/&gt;&lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
  &lt;unit id="2"&gt;
    &lt;segment&gt;
      &lt;source&gt;&lt;sm id="1" its:localeFilterList="ja"/&gt;Text B&lt;em
          startRef="1"/&gt;&lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
  ...
</programlisting>
      <para>When the target locale in XLIFF is defined, use the <link linkend="translate"><code>translate</code></link> attribute. (<code>yes</code> if the target locale applies,
          <code>no</code> if it does not).
        <!--  It is preferable not to keep this category data in XLIFF Documents, as per reoslution to https://issues.oasis-open.org/browse/XLIFF-42 :: It is also recommended to keep the original ITS
        attributes, so the file could potentially be re-purposed (even if it has a current target). -->
      </para>
    </example>
    <para>Original:</para>
    <programlisting format="linespecific">
&lt;p its-locale-filter-list='fr'&gt;Text A&lt;/p&gt;
&lt;p its-locale-filter-list='ja'&gt;Text B&lt;/p&gt;
 </programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
&lt;xliff srcLang="en" trgLang="fr" version="2.1"&gt;
  ...
  &lt;unit id="1" translate="yes"&gt;
    &lt;segment&gt;
      &lt;source&gt;Text A&lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
  &lt;unit id='2' translate="no"&gt;
    &lt;segment&gt;
      &lt;source&gt;Text B&lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
 </programlisting>



  </section>
  <section id="Locale_Filter_Inline">
    <title>Inline Elements</title>
    <para>When the target locale in XLIFF is undefined, use the <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an
          <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with the original ITS attributes.</para>

    <para>Original:</para>
    <programlisting format="linespecific">
&lt;p&gt;Text &lt;span its-locale-filter-list='fr'
    its-locale-filter-type='exclude'&gt;text&lt;/span&gt;&lt;/p&gt;
 </programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
&lt;xliff srcLang="en" version="2.1"&gt;
  ...
  &lt;unit id="1"&gt;
    &lt;segment&gt;
      &lt;source&gt;Text &lt;pc id="1"&gt;&lt;mrk id="m1" type="its:generic"
          its:localeFilterList="fr" its:localeFilterType="exclude"&gt;text
          &lt;/mrk&gt;&lt;/pc&gt;&lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
 </programlisting>
    <para>When the target locale in XLIFF is defined, use the <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an
          <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with <code>translate="yes"</code> if the
      target locale does apply, or <code>translate="no"</code> if it does not. </para>
    <para>Original:</para>
    <programlisting format="linespecific">
&lt;p&gt;Text &lt;span its-locale-filter-list='fr' its-locale-filter-type='exclude'&gt;
    text&lt;/span&gt;&lt;/p&gt;
 </programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
&lt;xliff srcLang="en" trgLang="fr" version="2.1"...&gt;
  ...
  &lt;unit id="1"&gt;
    &lt;segment&gt;
      &lt;source&gt;Text &lt;pc id="1"&gt;&lt;mrk id="m1" type="generic" translate="no"&gt;
          text&lt;/mrk&gt;&lt;/pc&gt;&lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
 </programlisting>
  </section>
  <section id="localeFilterAnnotation">
    <title>ITS Locale Filter Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> data
      category.</para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="itsm_localeFilterList"><code>localeFilterList</code></link> attribute is
            <glossterm>required</glossterm> and used to map to and from the <link linkend="ITS20">[ITS]</link> defined
            <code>localeFilterList</code> attribute.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
          <code>its:generic</code>.</para>

      </listitem>
      <listitem>
        <para>The <link linkend="itsm_localeFilterType"><code>its:localeFilterType</code></link> attribute
          is <glossterm>optional</glossterm> and used to map to and from the <link linkend="ITS20">[ITS]</link> defined
            <code>localeFilterList</code> attribute.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
    </itemizedlist>

  </section>

</section>
    <section id="Localization_Quality_Issue">
  <title>Localization Quality Issue</title>
<!-- Example added at the end of this section for csprd03
annotatorsRef had been addressed already for csprd01
  <para>COMMENT: ADD AN EXAMPLE OF TOOLS ANNOTATION THAT PROCESSES STANDOFF MARKUP, SO THAT THE
    INHERITANCE OF TOOLS ANNOTATION (= RELATED TO THE ACTUAL CONTENT; NOT THE STANDOFF INFORMATION)
    BECOMES CLEAR. SHOW WHAT HAPPENS IF THERE ARE TWO VALUES TO STANDOFF WITH ANNOTATORSREF IN
    PARALLEL, E.G. THE FOLLOWING IN THE SAME &lt;target> ELEMENT: </para>
  <para>&lt;mrk id="m1" type="its:generic"
    its:annotatorsRef="localization-quality-issue|toolXYZ1"</para>
  <para> its:locQualityIssuesRef="#itsm=lqi1">c'es le conteneur&lt;/mrk> </para>
  <para>&lt;mrk id="m1" type="its:generic"
    its:annotatorsRef="localization-quality-issue|toolXYZ2"</para>
  <para> its:locQualityIssuesRef="#itsm=lqi1">c'es le conteneur&lt;/mrk> ALSO NEED TO MAKE SURE
    THAT ANNOTATORSREF CANNOT APPEAR IN STANDOFF ELEMENT(S); THE ITS SCHEMA FOR THE STANDOFF
    ELEMENTS SHOULD HELP WITH THAT.</para>
   -->
  <para>Expresses information related to localization quality assessment tasks in the form of
    highlighted issues. See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#lqissue">Localization Quality Issue</ulink> for more
    details.
 <!--  Addressed already in csprd01
    COMMENT: MOST OF THE SECTIONS ARE WRITTEN LIKE EXTRACTION, BUT MOST OF THE CASES ONE
    WORKS WITH THE ITS INFORMATION IN AN XLIFF DOCUMENT! ACTION: CREATE SENTENCE IN INTRO PARAGRAPH
    THAT ITS INFO IS MOSTLY USED IN XLIFF ITSELF. ACTION: CLARIFY IN THE MODULE INTRODUCTION THAT
    THE TERMS "STRUCTURAL" AND "INLINE" REFER TO REPRESENTING ITS IN XLIFF DOCUMENTS. ACTION: FELIX
    TO CHECK ITS SCHEMA FOR THAT CONSTRAINT.
   -->
  </para>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem><para><firstterm>Writers</firstterm> <glossterm>must</glossterm> use the
      <link linkend="lqiAnnotation">ITS Localization Quality Issue Annotation</link> to express the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#lqissue">Localization Quality Issue</ulink> data category in <firstterm>XLIFF Documents</firstterm>.</para></listitem>

  </itemizedlist>


  <section id="Localization_Quality_Issue_Structural">
    <title>Structural Elements</title>
    <para>Localization Quality Issue is not to be used at structural levels. If a structural element
      of the original document has <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#lqissue">Localization Quality Issue</ulink>
      information associated, it <glossterm>must</glossterm> be anyway
        <firstterm>Extracted</firstterm> using the <link linkend="lqiAnnotation">ITS Localization Quality Issue Annotation</link>.
      <!--  This has been addressed by using xml:id becuase of the switch to the W3C its: for csprd02
      ACTION: HAVE
      FOR THE STANDOFF DATA CATEGORIES (E.G. LQI, LQR, ...) THE GUIDANCE THAT FOR EXTRACTING FROM
      E.G. HTML TO XLIFF ONE NEEDS TO CONVERT XML:ID INTO ID, CONVERSION IS NEEDED TO AVOID CLASHES
      IF THERE IS THE SAME ID IN MULTIPLE (HTML) FILES.
     -->
    </para>
    <note><para> If human reviewers or other QA agents (<firstterm>Enriching Agents</firstterm> from the XLIFF specification point of view), need to insert general comments pertaining to whole structural elements such as paragraphs, sections, or files rather than to specific inline
        portions of source or target content, the <link linkend="Localization_Note">Localization Note</link> data category is more
        suitable.</para></note>




  </section>
  <section id="Localization_Quality_Issue_Inline">
    <title>Inline Elements</title>

    <para> Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with
      the attributes: <link linkend="itsm_locQualityIssueComment">
        <code>its:locQualityIssueComment</code></link>, <link linkend="itsm_locQualityIssueEnabled">
        <code>its:locQualityIssueEnabled</code></link>, <link linkend="itsm_locQualityIssueProfileRef">
        <code>its:locQualityIssueProfileRef</code></link>, <link linkend="itsm_locQualityIssuesRef">
        <code>its:locQualityIssuesRef</code></link>, <link linkend="itsm_locQualityIssueSeverity">
        <code>its:locQualityIssueSeverity</code></link>, and <link linkend="itsm_locQualityIssueType">
        <code>its:locQualityIssueType</code></link>. </para>
    <para>See the <link linkend="lqiAnnotation">ITS Localization
        Quality Issue Annotation</link> for the normative usage description of those attributes.
      </para>
    <para>Because the same or overlapping spans of source or target text can be associated with more
      than one quality issue, this category provides its own elements that are to be used at the
      unit level as an alternative to the inline only annotations, especially in cases the inline
      only annotations would not be expressive enough to capture the issues to be reported. If more than one quality issue applies to the same content the particulars of those issues need to be stored in standoff annotations.</para>
    <para> For specifics of the standoff annotation, see the <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link> and <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link> elements and the attributes <link linkend="itsm_locQualityIssuesRef">
        <code>its:locQualityIssuesRef</code></link> and <link linkend="itsm_id"><code>id</code></link>.</para>
  </section>
  <section id="lqiAnnotation">
    <title>ITS Localization Quality Issue Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#lqissue">Localization Quality Issue</ulink> data
      category.
      <!--  DONE for csprd01
      ACTION: SOROUSH OR OTHERS TO COMPARE THIS TO CONSTRAINTS FOR LQI IN ITS SPEC, SEE
      https://www.w3.org/TR/its20/#lqissueDefs, AND ALIGN AS MUCH AS POSSIBLE.  --></para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="id"><code>id</code></link> attribute is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
          <code>its:generic</code>.</para>

      </listitem>
      <listitem>
        <para>Exactly one of the following <glossterm>must</glossterm> be set:</para>

        <itemizedlist>
          <listitem>

            <para><link linkend="itsm_locQualityIssuesRef">
              <code>its:locQualityIssuesRef</code></link>.</para>
          </listitem>

          <listitem>

            <itemizedlist>

              <para>At least one of the following <glossterm>must</glossterm> be set:</para>
              <listitem>

                <para><link linkend="itsm_locQualityIssueType">
                  <code>its:locQualityIssueType</code></link>,</para>
              </listitem>
              <listitem>

                <para><link linkend="itsm_locQualityIssueComment">
                  <code>its:locQualityIssueComment</code></link>.</para></listitem>
            </itemizedlist>

          </listitem>


        </itemizedlist>
      </listitem>
      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
      <listitem><para>The following attributes <glossterm>must not</glossterm> be set if and only if <link linkend="itsm_locQualityIssuesRef">
        <code>its:locQualityIssuesRef</code></link> is declared, otherwise all of the following
        are <glossterm>optional</glossterm>:</para>
        <itemizedlist>
          <listitem>
            <para><link linkend="itsm_locQualityIssueSeverity">
              <code>its:locQualityIssueSeverity</code></link>,</para>
          </listitem>
          <listitem>
            <para><link linkend="itsm_locQualityIssueProfileRef">
              <code>its:locQualityIssueProfileRef</code></link>, and</para>
          </listitem>
          <listitem>
            <para><link linkend="itsm_locQualityIssueEnabled">
              <code>its:locQualityIssueEnabled</code></link>.</para>
          </listitem>
        </itemizedlist>
      </listitem>

    </itemizedlist>



    <warning><para>Usage of the <link linkend="itsm_locQualityIssuesRef">
          <code>its:locQualityIssuesRef</code></link> attribute implies usage of Localization
        Quality Issue standoff elements. See <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link> and <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link> for related Constraints and Processing
        Requirements.</para></warning>
    <example>
      <title>Enriching XLIFF Documents with Localization Quality Issue Annotations</title>
      <para><emphasis role="bold">Simple</emphasis> (i.e. without stand off):</para>
      <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;This is the content&lt;/source&gt;
    &lt;target&gt;&lt;mrk id="m1" type="its:generic"
        its:locQualityIssueType="misspelling"
        its:locQualityIssueComment="'c'es' is unknown. Could be 'c'est'"
        its:locQualityIssueSeverity="50"&gt;c'es&lt;/mrk&gt; le contenu&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
      <para><emphasis role="bold">Stand off:</emphasis></para>
      <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;its:locQualityIssues xml:id="lqi1"&gt;
    &lt;its:locQualityIssue locQualityIssueType="misspelling"
        locQualityIssueComment="'c'es' is unknown. Could be 'c'est'"
        locQualityIssueSeverity="50" /&gt;
    &lt;its:locQualityIssue locQualityIssueType="grammar"
        locQualityIssueComment="Sentence is not capitalized"
        locQualityIssueSeverity="30" /&gt;
  &lt;/its:locQualityIssues&gt;
  &lt;segment&gt;
    &lt;source&gt;This is the content&lt;/source&gt;
    &lt;target&gt;&lt;mrk id="m1" type="its:generic"
        its:locQualityIssuesRef="lqi1"&gt;c'es le contenu&lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
      <para>The <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link> attribute inherits information in the document tree.
        The attribute <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link> does not relate to standoff information. This is exemplified
        below. The <code>&lt;mrk id="m1"&gt;</code> element has the <code>annotatorsRef</code> information
        - via <code>tool2</code> - expressed at the <link linkend="target"><code>target</code></link>  element. The <code>tool1</code>
        <code>annotatorsRef</code> expressed at the <link linkend="unit"><code>unit</code></link> element does not influence
        that interpretation and the standoff information in
        <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link>.</para>
      <programlisting format="linespecific">
&lt;unit id="1" its:annotatorsRef="localization-quality-issue|tool1"&gt;
  &lt;its:locQualityIssues xml:id="lqi1"&gt;
    &lt;its:locQualityIssue locQualityIssueType="misspelling"
        locQualityIssueComment="'c'es' is unknown. Could be 'c'est'"
        locQualityIssueSeverity="50" /&gt;
    &lt;its:locQualityIssue locQualityIssueType="grammar"
        locQualityIssueComment="Sentence is not capitalized"
        locQualityIssueSeverity="30" /&gt;
  &lt;/its:locQualityIssues&gt;
  &lt;segment &gt;
    &lt;source&gt;This is the content&lt;/source&gt;
    &lt;target its:annotatorsRef="localization-quality-issue|tool2"&gt;&lt;mrk id="m1" type="its:generic" its:locQualityIssuesRef="lqi1"&gt;c'es le contenu&lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
    </example>
  </section>

</section>
    <section id="Localization_Quality_Rating">
  <title>Localization Quality Rating</title>

  <para>Expresses results of localization quality assessment in the form of aggreagated
    ratings, either as scores or as voting results. See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#lqrating">Localization Quality Rating</ulink> for more
    details.</para>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem><para><firstterm>Writers</firstterm> <glossterm>must</glossterm> use the
      <link linkend="lqrAnnotation">ITS Localization Quality Rating Annotation</link> to express the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#lqrating">Localization Quality Rating</ulink> data category on inline spans within <firstterm>XLIFF Documents</firstterm>.</para></listitem>

  </itemizedlist>


  <section id="Localization_Quality_Rating_Structural">
    <title>Structural Elements</title>
    <para>Localization Quality Rating is usually expressed at structural levels as it normally
      expresses summary rating (scoring or voting) information for larger chunks of text. Rating
      information inherits to lower level elements but can be overridden at lower levels.</para>
    <para>Attributes <glossterm>may</glossterm> be set on <firstterm>XLIFF Core</firstterm> structural elements, so that the following advanced Constraints are met.</para>
    <itemizedlist>
      <title>Constraints</title>
      <listitem>

        <para>Exactly one of the following <glossterm>must</glossterm> be set or inherited:</para>




        <itemizedlist>


          <listitem>
            <para><link linkend="itsm_locQualityRatingScore">
              <code>its:locQualityRatingScore</code></link>:</para>
            <itemizedlist>
              <listitem><para><link linkend="itsm_locQualityRatingScoreThreshold">
                <code>its:locQualityRatingScoreThreshold</code></link> <glossterm>may</glossterm> be set or inherited if and only if <link linkend="itsm_locQualityRatingScore">
                  <code>its:locQualityRatingScore</code></link> is set.</para></listitem>
            </itemizedlist>
          </listitem>


          <listitem>
            <para><link linkend="itsm_locQualityRatingVote">
              <code>its:locQualityRatingVote</code></link>:</para>
            <itemizedlist>
              <listitem><para><link linkend="itsm_locQualityRatingVoteThreshold">
                <code>its:locQualityRatingVoteThreshold</code></link> <glossterm>may</glossterm> be set or inherited if and only if <link linkend="itsm_locQualityRatingScore">
                  <code>its:locQualityRatingVote</code></link> is set or inherited.</para></listitem>
            </itemizedlist>
          </listitem>
        </itemizedlist>


      </listitem>

      <listitem>
        <para>The <link linkend="itsm_locQualityRatingProfileRef">
          <code>its:locQualityRatingProfileRef</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
    </itemizedlist>




  </section>
  <section id="Localization_Quality_Rating_Inline">
    <title>Inline Elements</title>

    <para> Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with the following attributes:


      <link linkend="itsm_locQualityRatingProfileRef">
        <code>its:locQualityRatingProfileRef</code></link>,

      <link linkend="itsm_locQualityRatingScore">
        <code>its:locQualityRatingScore</code></link>,
      <link linkend="itsm_locQualityRatingScoreThreshold">
        <code>its:locQualityRatingScoreThreshold</code></link>,
      <link linkend="itsm_locQualityRatingVote">
        <code>its:locQualityRatingVote</code></link>,
      <link linkend="itsm_locQualityRatingVoteThreshold">
        <code>its:locQualityRatingVoteThreshold</code></link>.
   </para>
    <para>See the <link linkend="lqrAnnotation">ITS Localization Quality Rating Annotation</link>
      for the normative usage description of those attributes inline.</para>
      </section>

  <section id="lqrAnnotation">
    <title>ITS Localization Quality Rating Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#lqrating">Localization Quality Rating</ulink> data category on inline elements.</para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="id"><code>id</code></link> attribute is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
          <code>its:generic</code>.</para>

      </listitem>
      <listitem>

        <para>Exactly one of the following <glossterm>must</glossterm> be set:</para>




        <itemizedlist>


          <listitem>
            <para><link linkend="itsm_locQualityRatingScore">
              <code>its:locQualityRatingScore</code></link>:</para>
            <itemizedlist>
              <listitem><para><link linkend="itsm_locQualityRatingScoreThreshold">
                <code>its:locQualityRatingScoreThreshold</code></link> <glossterm>may</glossterm> be set or inherited if and only if <link linkend="itsm_locQualityRatingScore">
                  <code>its:locQualityRatingScore</code></link> is set.</para></listitem>
            </itemizedlist>
          </listitem>


          <listitem>
            <para><link linkend="itsm_locQualityRatingVote">
              <code>its:locQualityRatingVote</code></link>:</para>
            <itemizedlist>
              <listitem><para><link linkend="itsm_locQualityRatingVoteThreshold">
                <code>its:locQualityRatingVoteThreshold</code></link> <glossterm>may</glossterm> be set or inherited if and only if
                <link linkend="itsm_locQualityRatingScore">
                  <code>its:locQualityRatingVote</code></link> is set or inherited.</para></listitem>
            </itemizedlist>
          </listitem>
        </itemizedlist>


      </listitem>

      <listitem>
        <para>The <link linkend="itsm_locQualityRatingProfileRef">
          <code>its:locQualityRatingProfileRef</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>

      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>

    </itemizedlist>



    <note><para>This annotation can be in scope of Localization Quality Rating attributes set at structural
        levels. So for instance a portion of target text with only a score set can inherit threshold
        and/or rating profile information set at a group or file level. Also summary 0-100 ratings
        set at higher levels can be for instance overridden with voting set at unit or inline
        elements. Keep in mind that for a specific portion of text only one can exist a rating or a
        vote result and these are to be accompanied with different threshhold attributes. </para></note>
    <example>
      <title>Enriching XLIFF Documents with Localization Quality Rating Annotations</title>

      <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Some text and a term&lt;/source&gt;
    &lt;target&gt;Du texte et un &lt;mrk id="m1" type="its:generic"
        its:locQualityRatingVote="37"
        its:locQualityRatingVoteThreshold="15"
        its:locQualityRatingProfileRef="http://example.org/qaModel/v13"&gt;
        terme&lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>

    </example>
  </section>

  <section id="Localization_Quality_Rating_Matches">
    <title>Translation Candidates</title>
    <para>In the <link linkend="candidates">Translation Candidates module</link>,
      the <link linkend="Localization_Quality_Rating">Localization Quality Rating</link>
      category attributes <glossterm>may</glossterm> be used to express the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#lqrating">Localization Quality Rating</ulink> information.</para>
      
      <itemizedlist>
        <title>Constraints</title>
        <listitem>
          <para>When used on the <link linkend="match"><code>&lt;match&gt;</code></link> element, Constraints for <link linkend="Localization_Quality_Rating_Structural">Structural Elements</link> apply,
        </para>
        </listitem>
        <listitem>
          <para>When used on eligible descendants of a <link linkend="match"><code>&lt;match&gt;</code></link> element, Constraints for <link linkend="Localization_Quality_Rating_Inline">Inline Elements</link> apply.</para>
        </listitem>
      </itemizedlist>
      
      
    
    





  </section>

</section>
    <section id="Provenance">
  <title>Provenance</title>
  <para>Communicate the identity of agents that have been involved in the translation of the content
    or the revision of the translated content. This allows translation and translation revision
    consumers, such as post-editors, translation quality reviewers, or localization workflow
    managers, to assess how the performance of these agents may impact the quality of the
    translation. Translation and translation revision agents can be identified as a person, a piece
    of software or an organization that has been involved in providing a translation or revision
    that resulted in the selected content. See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#provenance">Provenance</ulink> for more details. </para>
  <warning><para>Provenance data category is used to record human, tools or organizational producers of
        <firstterm>Translations</firstterm> or revisions, in other words it records producers of the
      payload. To record <link linkend="ITS20">[ITS]</link> metadata
      producers, the <link linkend="itsToolsReferencing">ITS Tools
        Referencing</link> mechanism needs to be used.</para></warning>
  <itemizedlist id="Provenance_Attributes">
    <title>Processing Requirements</title>
    <listitem><para><firstterm>Writers</firstterm>
      <glossterm>must</glossterm> use the attributes
      <link linkend="itsm_org"><code>its:org</code></link>,
      <link linkend="itsm_orgRef"><code>its:orgRef</code></link>,
      <link linkend="itsm_person"><code>its:person</code></link>,
      <link linkend="itsm_personRef"><code>its:personRef</code></link>,
      <link linkend="itsm_provenanceRecordsRef"><code>its:provenanceRecordsRef</code></link>,
      <link linkend="itsm_revOrg"><code>its:revOrg</code></link>,
      <link linkend="itsm_revOrgRef"><code>its:revOrgRef</code></link>,
      <link linkend="itsm_revPerson"><code>its:revPerson</code></link>,
      <link linkend="itsm_revPersonRef"><code>its:revPersonRef</code></link>,
      <link linkend="itsm_revTool"><code>its:revTool</code></link>,
      <link linkend="itsm_revToolRef"><code>its:revToolRef</code></link>,
      <link linkend="itsm_tool"><code>its:tool</code></link>, and
      <link linkend="itsm_toolRef"><code>its:toolRef</code></link>
      
       to express the <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/its20/#provenance">Provenance</ulink> data category in
          <firstterm>XLIFF Documents</firstterm>.</para>
    <itemizedlist>
      <listitem>
          <para>Within the <link linkend="candidates">Translation Candidates Module</link>, <firstterm>Enrichers</firstterm>
            <glossterm>must</glossterm> map the <link linkend="itsm_tool"><code>its:tool</code></link> attribute onto the <link linkend="candidates_origin"><code>mtc:origin</code></link> attribute.</para>
        </listitem>
        <listitem>
          <para><firstterm>Modifiers</firstterm> populating <firstterm>XLIFF Core</firstterm>
            <link linkend="target"><code>&lt;target&gt;</code></link> elements 
            with unmodified content from <link linkend="target"><code>&lt;target&gt;</code></link> children of
            <link linkend="match"><code>&lt;mtc:match&gt;</code></link> elements <firstterm>may</firstterm> map the
            <link linkend="candidates_origin"><code>mtc:origin</code></link> onto the 
            <link linkend="itsm_tool"><code>its:tool</code></link> attribute.            
                     </para>
          <itemizedlist>
            <listitem><para>The <link linkend="itsm_tool"><code>its:tool</code></link> attribute value 
              <glossterm>must</glossterm> be the same as the originating <link linkend="match"><code>&lt;mtc:match&gt;</code></link> 
              <link linkend="candidates_origin"><code>mtc:origin</code></link> value if this is the case.
            </para></listitem>
          </itemizedlist>
        </listitem>
      <listitem>
        <para><firstterm>Modifiers</firstterm>
            <glossterm>may</glossterm> store previous versions of subunit content and attributes and
            notes content and attributes in the <link linkend="changeTracking_module">Change Tracking Module</link> elements according to the data model, Constraints,
            Processing Requirements, and usage descriptions of that module.</para>
        <para>If this was the case the <link linkend="revision"><code>&lt;revision&gt;</code></link> element <glossterm>must</glossterm> be extended by the Provenance attributes defined in the ITS Module as needed and the <link linkend="ctr_author"><code>ctr:author</code></link>
            <glossterm>should</glossterm> reuse information from the corresponding <link linkend="ITS20">[ITS]</link>
            <ulink url="http://www.w3.org/TR/its20/#provenance">Provenance</ulink> attributes as
            follows:</para>
        <itemizedlist>
            <listitem>
              <para>space separated list of values</para>
            </listitem>
            <listitem>
              <para>spaces " " and hyphens "-" in values are escaped using slashes "/"</para>
            </listitem>
          <listitem>
            <para>each value consists of the attribute name followed by a hyphen, followed by the
                ITS attribute value</para>
          </listitem>
            <listitem>
              <para>following attribute names to be used in that order if available:</para>
              <para><simplelist type="vert">
                <member> person</member>
                  <member> tool</member>
                  <member> revPerson</member>
                  <member> revTool</member>
              </simplelist> </para>
            </listitem>
            <listitem>
              <para>other attributes are ignored.</para>
            </listitem>
        </itemizedlist>
        
      </listitem>
    </itemizedlist>
      
    </listitem>
 
      
  </itemizedlist>
  

  <section id="Provenance_Structural">
    <title>Structural Elements</title>
    <para>Provenance metadata are more likely to appear on structural elements than on inline
      elements in source and target documents, therefore Provenance attributes listed in <link linkend="Provenance_Attributes">the above
        Processing Requirement</link> are allowed on all structural levels.</para>
    <para>It is possible that Provenance metadata will be <firstterm>Extracted</firstterm> from
      source content but more likely Provenance metadata will be first introduced into the
      translated content during the XLIFF based roundtrip.</para>
    
    <example>
      <title>Provenance metadata added by <firstterm>Modifiers</firstterm> or <firstterm>Enrichers</firstterm> on structural levels</title>
      <para>In this example a person of the name <code>Honza Novák</code> has been the translator of
        the whole unit content and <code>Franta Kocourek</code> the reviser of the whole
        translation.</para>
      <programlisting format="linespecific">
...
&lt;unit id="1" its:person="Honza Novák" its:revPerson="Franta Kocourek"&gt;
  &lt;segment&gt;
    &lt;source&gt;Economy has been growing in 2016.&lt;/source&gt;
    &lt;target&gt;Hospodářství v průběhu roku 2016 rostlo.&lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
  &lt;segment&gt;
    &lt;source&gt;Prognosis for 2017 is unclear.&lt;/source&gt;
    &lt;target&gt;Předpověď očekávaného růstu pro rok 2017 je nejasná.&lt;/target&gt;
    &lt;/unit&gt;
    ...
</programlisting>
      
       
    </example>
    
    <para>Preserving the Provenance metadata in the target content after
        <firstterm>Merging</firstterm> the <firstterm>Translations</firstterm> back to the original
      format can be useful, the metadata could be for instance used in a check in and publishing
      process within a content management system.</para>
    
    <example>
      <title>Provenance metadata preserved by <firstterm>Mergers</firstterm> in the native format.</title>
      <para>In this example the translator and reviser Provenance metadata introduced during the
        XLIFF roundtrip has been preserved after <firstterm>Merging</firstterm> of the
          <firstterm>Translations</firstterm> back to HTML.</para>
      <programlisting format="linespecific">
...
&lt;p its-person="Honza Novák" its-rev-person="Franta Kocourek"&gt; Hospodářství
    v průběhu roku 2016 rostlo. Předpověď očekávaného růstu pro rok 2017
    je nejasná. &lt;/p&gt;
...
</programlisting>
      
      
    </example>
    <para>If standoff Provenance elements are used at structural levels, these need to occur on the
      same or an ancestor element of the element where the standoff reference is used. See the <link linkend="itsm_provenanceRecordsRef">
        <code>its:provenanceRecordsRef</code></link> </para>
    
    
  </section>
  <section id="Provencance_Inline">
    <title>Inline Elements</title>
    
    <para> Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with
      the Provenance data category attributes listed in <link linkend="Provenance_Attributes">the above
        Processing Requirement</link>.</para>
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the
      normative usage description of those attributes inline. </para>
    <para>Because the same or overlapping spans of source or target text can be associated with more
      than one Provenance record, for instance over time, this category provides its own elements
      that are to be used at the unit level as a more expressive alternative to the inline only
      annotations.</para>
    <para> For specifics of the standoff annotation, see the <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> and <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> elements and the attributes <link linkend="itsm_provenanceRecordsRef">
          <code>provenanceRecordsRef</code></link> and <link linkend="itsm_id"><code>id</code></link>.</para>  
  </section>
  <section id="provenanceAnnotation">
    <title>ITS Provenance Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#provenance">Provenance</ulink> data category when used
      inline.</para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="id"><code>id</code></link> attribute is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
          <code>its:generic</code>.</para>
        
      </listitem>
      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="itsm_provenanceRecordsRef">
          <code>its:provenanceRecordsRef</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
      <listitem><para>The following attributes <glossterm>must not</glossterm> be set if and only if <link linkend="itsm_provenanceRecordsRef">
        <code>its:provenanceRecordsRef</code></link> is declared, otherwise at least one the following
         <glossterm>must</glossterm> be set:</para>
        <itemizedlist>
          <listitem><para>	<link linkend="itsm_org"><code>its:org</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_orgRef"><code>its:orgRef</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_person"><code>its:person</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_personRef"><code>its:personRef</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_revOrg"><code>its:revOrg</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_revOrgRef"><code>its:revOrgRef</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_revPerson"><code>its:revPerson</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_revPersonRef"><code>its:revPersonRef</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_revTool"><code>its:revTool</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_revToolRef"><code>its:revToolRef</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_tool"><code>its:tool</code></link>,	</para></listitem>
          <listitem><para>	        <link linkend="itsm_toolRef"><code>its:toolRef</code></link>,	</para></listitem>
          
        </itemizedlist>
      </listitem>
      
    </itemizedlist>
    
    
    
    <warning><para>Usage of the <link linkend="itsm_provenanceRecordsRef">
      <code>its:provenanceRecordsRef</code></link> attribute implies usage of Provenance standoff elements.
      See <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link>
      and <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>
      for related Constraints and Processing Requirements.</para></warning>
    <example>
      <title><firstterm>Enriching</firstterm> <firstterm>XLIFF Documents</firstterm> with Provenance Annotations</title>
      <para><emphasis role="bold">Inline only</emphasis> (i.e. without stand off):</para>
      <programlisting format="linespecific">
...
&lt;unit id='1'&gt;
  &lt;segment&gt;
    &lt;source&gt;Economy has been growing in 2016.&lt;/source&gt;
    &lt;target&gt;&lt;mrk id="m1" type="its:generic" its:tool="Microsoft Hub"
        its:person="Honza Novák" its:revPerson="Franta Kocourek"&gt;
        Hospodářství v průběhu roku 2016 rostlo. &lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
  &lt;segment&gt;
    &lt;source&gt;Prognosis for 2017 is unclear.&lt;/source&gt;
    &lt;target&gt;&lt;mrk id="m2" type="its:generic" its:tool="Microsoft Hub"
        its:person="Honza Novák"&gt; Předpověď očekávaného růstu pro rok
        2017 je nejasná. &lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
      <para>In this example, both segments were translated by <code>Microsoft Hub</code> and by
          <code>Honza Novák</code> from <code>Překlady Novák, sro</code>. The first segment was also
        revised by <code>Franta Kocourek</code> from <code>Kocourkov s.r.o.</code>, while the second
        segment hasn't been revised. Because order of attributes cannot have semantics in XML, we
        can only speculate about the order in which the people and tools had contributed to the
        workflow and also each of the attributes can have only one value applied for the given
        span.</para>
      <para><emphasis role="bold">Stand off:</emphasis></para>
      
      <programlisting format="linespecific">
...
&lt;unit id='1'&gt;
  &lt;its:provenanceRecords xml:id="prov1"&gt;
    &lt;provenanceRecord revPerson="Franta Kocourek"
        revOrg="Kocourkov s.r.o."/&gt;
    &lt;provenanceRecord person="Honza Novák" org="Překlady Novák, sro"
        tool="GreatCATTool"/&gt;
    &lt;provenanceRecord tool="Microsoft Hub"/&gt;
  &lt;/its:provenanceRecords&gt;
  &lt;its:provenanceRecords xml:id="prov2"&gt;
    &lt;provenanceRecord revPerson="Květoň Zřídkaveselý" revOrg="CoolCopy"/&gt;
    &lt;provenanceRecord revTool="ACME QA Checker" revOrg="CoolCopy"/&gt;
    &lt;provenanceRecord revPerson="Franta Kocourek"
        revOrg="Kocourkov s.r.o."/&gt;
    &lt;provenanceRecord person="Honza Novák" org="Překlady Novák, sro"
        tool="GreatCATTool"/&gt;
    &lt;provenanceRecord tool="Microsoft Hub"/&gt;
  &lt;/its:provenanceRecords&gt;
  &lt;segment&gt;
    &lt;source&gt;Economy has been growing in 2016.&lt;/source&gt;
    &lt;target&gt;&lt;mrk id="m1" type="its:generic"
        its:provenanceRecordsRef="#its=prov1"&gt; Hospodářství v průběhu
        roku 2016 rostlo. &lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
  &lt;segment&gt;
    &lt;source&gt;Prognosis for 2017 is unclear.&lt;/source&gt;
    &lt;target&gt;&lt;mrk id="m2" type="its:generic"
        its:provenanceRecordsRef="#its=prov2"&gt; Hospodářství v průběhu
        roku 2016 rostlo. &lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
    
      <para>In this example, multiple records with the same attribute for the same span are
        possible, and if most recent records are stacked on top, it can also help indicate the
        sequence of agents. So both segments were most probably first translated by <code>Microsoft
          Hub</code>, then by <code>Honza Novák</code> from <code>Překlady Novák, sro</code> using
          <code>GreatCATTool</code>. Both segments were subsequently revised by <code>Franta
          Kocourek</code> from <code>Kocourkov s.r.o.</code> (using an unknown revision tool), and
        the second segment has been also revised at <code>CoolCopy</code> by a tool <code>ACME QA
          Checker</code> and once more by a human <code>Květoň Zřídkaveselý</code> from
          <code>CoolCopy</code>. Indicating both the first and second revisers, as well as hinting
        on the sequence of different translation tools would have been impossible if the annotation
        was inline only.</para>
    </example>
  </section>
  
</section>
    <section id="Text_Analysis">
  <title>Text Analysis</title>

  <para>Annotates content with lexical or conceptual information for the purpose of contextual disambiguation
    of words and multiword phrases meanings.
     See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#textanalysis">Text Analysis</ulink> for
    details.</para>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem><para><firstterm>Writers</firstterm> <glossterm>must</glossterm> use the <link linkend="taAnnotation">ITS Text Analysis Annotation</link> to express the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#textanalysis">Text Analysis</ulink> data category in <firstterm>XLIFF Documents</firstterm>.</para></listitem>

  </itemizedlist>


  <section id="Text_Analysis_Structural">
    <title>Structural Elements</title>
    <para>Text Analysis is not to be used at structural levels. If a structural element of the original document has <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#textanalysis">Text Analysis</ulink> information associated, it <glossterm>may</glossterm> be <firstterm>Extracted</firstterm>
      using the <link linkend="taAnnotation">ITS Text Analysis Annotation</link>.</para>


    <example>
      <title>Extraction of Text Analysis at structural levels</title>

    <para>Original:</para>

      <programlisting format="linespecific">
&lt;p its-ta-class-ref="<ulink url="http://nerd.eurecom.fr/ontology#Place">http://nerd.eurecom.fr/ontology#Place</ulink>"
    its-ta-ident-ref="<ulink url="http://dbpedia.org/resource/Arizona">http://dbpedia.org/resource/Arizona</ulink>"&gt;Arizona&lt;/p&gt;
 </programlisting>


    <para>Extraction:</para>


      <programlisting format="linespecific">
...
&lt;unit id="1"&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;mrk id="m1" type="its:generic"
        its:taClassRef="<ulink url="http://nerd.eurecom.fr/ontology#Place">http://nerd.eurecom.fr/ontology#Place</ulink>"
        its:taIdentRef="<ulink url="http://dbpedia.org/resource/Arizona">http://dbpedia.org/resource/Arizona</ulink>"&gt;Arizona&lt;/mrk&gt;
    &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
   </example>



  </section>
  <section id="Text_Analysis_Inline">
    <title>Inline Elements</title>
    <para> Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with the following attributes:
       <link linkend="itsm_taClassRef"><code>its:taClassRef</code></link>,
      <link linkend="itsm_taConfidence"><code>its:taConfidence</code></link>,
      <link linkend="itsm_taSource"><code>its:taSource</code></link>, <link linkend="itsm_taIdent"><code>its:taIdent</code></link>, and <link linkend="itsm_taIdentRef"><code>its:taIdentRef</code></link>.</para>
    <para>See the <link linkend="taAnnotation">ITS Text Analysis
        Annotation</link> for the normative usage description of those attributes.</para>

  </section>
  <section id="taAnnotation">
    <title>ITS Text Analysis Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#textanalysis">Text Analysis</ulink> data
      category.</para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="id"><code>id</code></link> attribute is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
          <code>its:generic</code>.</para>

      </listitem>
      <listitem>
        <para>At least one of the following <glossterm>must</glossterm> be set:</para>

        <itemizedlist>
          <listitem>

            <para><link linkend="itsm_taClassRef"><code>its:taClassRef</code></link>,</para>
          </listitem>
          <listitem>
            <para>Exactly one of the following:</para>
            <itemizedlist>
              <listitem><para>A pair of a <link linkend="itsm_taSource"><code>its:taSource</code></link> and <link linkend="itsm_taIdent"><code>its:taIdent</code></link> both set,</para></listitem>
              <listitem><para><link linkend="itsm_taIdentRef"><code>its:taIdentRef</code></link>.</para></listitem>
            </itemizedlist>
          </listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="itsm_taConfidence"><code>its:taConfidence</code></link> attribute is <glossterm>optional</glossterm> and used to map to and
          from the <link linkend="ITS20">[ITS]</link> defined
          <code>taConfidence</code> attribute.</para>
      </listitem>
      <listitem>
        <para> The <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute is
          <glossterm>required</glossterm> if and only if the <link linkend="itsm_taConfidence"><code>its:taConfidence</code></link> attribute is present
          and not in scope of another relevant <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute, in all other cases it is
          <glossterm>optional</glossterm>. </para>
      </listitem>
    </itemizedlist>
    <!--  removed by ballot for https://issues.oasis-open.org/browse/XLIFF-57
    <warning><para>This annotation can be syntactically in scope of a relevant <olink
          targetdoc="../../attributes/itsm/itsm_annotatorsRef.xml" targetptr="itsm_annotatorsRef"
            ><code>its:annotatorsRef</code></olink> attribute, while it still fails to resolve with
        the intended value. This can happen if more than one disambiguation providers were
        used.</para></warning> -->
    <example>
      <title>Extraction of ITS Text Analytics metadata in scope of the <link linkend="toolsAnnotation">ITS tools annotation</link></title>
      <para>Original:</para>
      <programlisting format="linespecific">
&lt;div its-annotators-ref="text-analysis|<ulink url="http://enrycher.ijs.si/">http://enrycher.ijs.si</ulink>"&gt;
    ...
    &lt;p&gt;&lt;span its-ta-class-ref="<ulink url="http://nerd.eurecom.fr/ontology#Place">http://nerd.eurecom.fr/ontology#Place</ulink>"
        its-ta-confidence="0.99"
        its-ta-ident-ref="<ulink url="http://dbpedia.org/resource/Arizona">http://dbpedia.org/resource/Arizona</ulink>"&gt;Arizona
        &lt;/span&gt;&lt;/p&gt; ... &lt;/div&gt;
 </programlisting>
      <para>Extracted:</para>
      <programlisting format="linespecific">
&lt;unit id="1" its:annotatorsRef="text-analysis|<ulink url="http://enrycher.ijs.si/">http://enrycher.ijs.si</ulink>"&gt;
    &lt;segment&gt;
      &lt;source&gt;&lt;mrk id="m1" type="its:generic"
          its:taClassRef="<ulink url="http://nerd.eurecom.fr/ontology#Place">http://nerd.eurecom.fr/ontology#Place</ulink>"
          its:taIdentRef="<ulink url="http://dbpedia.org/resource/Arizona">http://dbpedia.org/resource/Arizona</ulink>"
          its:taConfidence="0.99" &gt; Arizona&lt;/mrk&gt;&lt;/source&gt;
    &lt;/segment&gt;&lt;/unit&gt;
 </programlisting>
    </example>
  </section>

</section>
    <!-- more includes of itsm supported categories  -->


  </section>
  <section id="ITSPartialOverlap">
  <title>ITS data categories that have a partial overlap with XLIFF features</title>

  <para>The following <link linkend="ITS20">[ITS]</link> data cetegories are partially covered with <firstterm>XLIFF Core</firstterm> or <firstterm>Modules</firstterm> other than
    the <link linkend="ITS-module">ITS Module</link>:</para>

  <orderedlist inheritnum="ignore" continuation="restarts">
    <!--  Localization Note moved here in response to https://issues.oasis-open.org/browse/XLIFF-5  -->
    <listitem>
      <para><link linkend="Localization_Note">Localization
          Note</link>,</para>
    </listitem>
    
    <listitem>
      <para><link linkend="Terminology_datacat">Terminology</link>,</para>
    </listitem>
    
    <listitem>
      <para><link linkend="Language_Information">Language Information</link>,</para>
    </listitem>
    
    
    
    <listitem>
      <para><link linkend="MT_Confidence">MT Confidence</link>,
        and</para>
    </listitem>
    
    
    <listitem>
      <para><link linkend="Storage_Size">Storage Size</link>.</para>
    </listitem>
    
    
    
  </orderedlist>
  
  
  <!--  moved to fully supported -pending consenus <xi:include href="Localization_Note.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
     -->
  <section id="Localization_Note">
  <title>Localization Note</title>

  <para>Provides a way to communicate notes to localizers about a particular item of content.
    See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#locNote-datacat">Localization Note</ulink> for details.</para>
  <warning><para> There is a one-to-one mapping for all parts of the <ulink url="http://www.w3.org/TR/its20/#locNote-datacat">Localization Note</ulink> information to
      and from the <firstterm>XLIFF Core</firstterm>
      <code><link linkend="note">&lt;note&gt;</link></code> and the <link linkend="commentAnnotation">Comment Annotation</link> mechanism. This means that the
      whole data category can be losslessly <firstterm>Extracted</firstterm> from the native format,
        <firstterm>Merged</firstterm> back to the native format or even round-tripped. However,
      generic ITS Processors won't be able to fully access the <ulink url="http://www.w3.org/TR/its20/#locNote-datacat">Localization Note</ulink> information
      encoded in <firstterm>XLIFF Documents</firstterm>. The <ulink url="http://www.w3.org/TR/its20/#locNote-datacat">Localization Note</ulink> rules contained
      in the ITS Module Schematron Schema (<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.sch</ulink>) won't be able to parse <firstterm>XLIFF
        Core</firstterm>
      <code><link linkend="note">&lt;note&gt;</link></code> elements placed on <link linkend="unit"><code>&lt;unit&gt;</code></link>
      unless they have set the attribute <link linkend="appliesto"><code>appliesTo</code></link>.</para></warning>


  <section id="Localization_Note_Structural">
    <title>Structural Elements</title>
    <para> Localization Notes present in source content at structural levels are <firstterm>Extracted</firstterm> using the
      <firstterm>XLIFF Core</firstterm> <code><link linkend="note">&lt;note&gt;</link></code> and the
      <code><link linkend="note">&lt;note&gt;</link></code> element. ITS attribute <code>locNoteType</code> is mapped onto the
        <firstterm>XLIFF Core</firstterm> attribute <link linkend="priority"><code>priority</code></link>. The value <code>alert</code> is mapped
      onto priority <code>1</code>. The value <code>description</code> is mapped onto any of the
      integers <code>2-10</code>.</para>

      <example>
        <title>Extraction of a Localization note at a structural level</title>
        <para>Original:</para>
        <programlisting format="linespecific">
&lt;msgList xmlns:its= "http://www.w3.org/2005/11/its" xml:space= "preserve"
    its:version= "2.0"&gt;
  &lt;data name= "LISTFILTERS_VARIANT" its:locNote= "Keep the leading space!"
      its:locNoteType= "alert"&gt;
    &lt;value&gt; Variant {0} = {1} ({2}) &lt;/value&gt;
  &lt;/data&gt;
  &lt;data its:locNote= "%1\$s is the original text's date in the format
      YYYY-MM-DD HH:MM always in GMT"&gt;
    &lt;value&gt;Translated from English content dated
        &lt;span id= "version-info"&gt;%1\$s&lt;/span&gt; GMT.&lt;/value&gt;
  &lt;/data&gt;
&lt;/msgList&gt;
 </programlisting>
        <para>Extraction:</para>
        <programlisting format="linespecific">
&lt;file id="1" xml:space="preserve"&gt;
  &lt;unit id="1" name="LISTFILTERS_VARIANT"&gt;
    &lt;notes&gt;
      &lt;note priority="1"&gt;Keep the leading space! &lt;/note&gt;
    &lt;/notes&gt;
    &lt;segment&gt;
      &lt;source&gt; Variant {0} = {1} ({2}) &lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
  &lt;unit id="2" name="LISTFILTERS_VARIANT"&gt;
    &lt;notes&gt;
      &lt;note priority="2"&gt;%1\$s is the original text's date in the format
          YYYY-MM-DD HH:MM always in GMT &lt;/note&gt;
    &lt;/notes&gt;
    &lt;segment&gt;
      &lt;source&gt;Translated from English content dated
          &lt;pc id="1"&gt;%1\$s&lt;/pc&gt; GMT.&lt;/source&gt;
    &lt;/segment&gt;
  &lt;/unit&gt;
&lt;/file&gt;
 </programlisting>
      </example>
    <para><warning><para>The values of the ITS attribute <code>locNoteRef</code> are to be dereferenced during
            <firstterm>Extraction</firstterm>, so that the Localization Note text can be included
          verbatim in the XLIFF <code><link linkend="note">&lt;note&gt;</link></code> element. A corresponding attribute is NOT
          provided through the <link linkend="ITS-module">ITS Module</link> to discourage external
          references from XLIFF Notes. The <code>locNoteRef</code> attribute and its value still can
          be preserved on <firstterm>Extraction</firstterm> via extensibility, however this
          information will not have a guaranteed roundtrip protection and the XLIFF Note itself
          still better include the dereferenced Localization Note text.</para> </warning></para>
  </section>
  <section id="Localization_Note_Inline">
    <title>Inline Elements</title>
    <para> Localization Notes present on inline spans of source content are
        <firstterm>Extracted</firstterm> using the <firstterm>XLIFF Core</firstterm>
      <link linkend="annotations">Annotations</link> mechanism.
      Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with
        <code>type="comment"</code>. See  <link linkend="commentAnnotation">Comment Annotation</link>.
    </para>
    <para>Comment Annotations can either contain the Localization Note text as the value of the
      attribute <link linkend="value"><code>value</code></link> or otherwise have to reference a <link linkend="note"><code>&lt;note&gt;</code></link>
      element within the same enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link>. In case no <link linkend="note"><code>&lt;note&gt;</code></link>
      element is referenced, it is assumed that the ITS <code>locNoteType</code> is
        <code>description</code>. In case the referenced <link linkend="note"><code>&lt;note&gt;</code></link>
      element has <link linkend="priority"><code>priority</code></link>
      <code>1</code> or does not have the <link linkend="priority"><code>priority</code></link> attribute set explicitly, the ITS
        <code>locNoteType</code> is <code>alert</code>. Explicitly set values <code>2-10</code> map
      onto the ITS <code>locNoteType</code> value <code>description</code>.</para>



   <example>
      <title>Extraction of an inline Localization Note </title>

     <para>Original:</para>
     <programlisting format="linespecific">
<emphasis role="bold">&lt;!DOCTYPE html&gt;</emphasis>
<emphasis role="bold">&lt;html</emphasis> lang=en<emphasis role="bold">&gt;</emphasis>
  <emphasis role="bold">&lt;head&gt;</emphasis>
    <emphasis role="bold">&lt;meta</emphasis> charset=utf-8<emphasis role="bold">&gt;</emphasis>
    <emphasis role="bold">&lt;title&gt;</emphasis>LocNote test: Default<emphasis role="bold">&lt;/title&gt;</emphasis>
  <emphasis role="bold">&lt;/head&gt;</emphasis>
  <emphasis role="bold">&lt;body&gt;</emphasis>
    <emphasis role="bold">&lt;p&gt;</emphasis>This is a
      <emphasis role="bold">&lt;span</emphasis> its-loc-note="Check with terminology engineer"
          its-loc-note-type="alert"<emphasis role="bold">&gt;</emphasis> motherboard<emphasis role="bold">&lt;/span&gt;</emphasis>.
    <emphasis role="bold">&lt;/p&gt;</emphasis>
  <emphasis role="bold">&lt;/body&gt;</emphasis>
<emphasis role="bold">&lt;/html&gt;</emphasis>     </programlisting>
     <para>Extraction:</para>
     <programlisting format="linespecific">
&lt;xliff version="2.1" srcLang="EN"&gt;
  &lt;file id=1&gt;
    &lt;unit id='1'&gt;
      &lt;notes&gt;
        &lt;note id="1" priority="1"&gt;Check with terminology engineer&lt;/note&gt;
      &lt;/notes&gt;
      &lt;segment&gt;
        &lt;source&gt;This is a &lt;mrk id="1" type="comment" ref="#n=1"&gt;
            motherboard&lt;/mrk&gt;.&lt;/source&gt;
      &lt;/segment&gt;
    &lt;/unit&gt;
  &lt;/file&gt;
&lt;/xliff&gt;
        </programlisting>



    </example>
  </section>

</section>
  <section id="Terminology_datacat">
  <title>Terminology</title>
  <para>Marks terms and optionally associates them with information, such as definitions. See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#terminology">Terminology</ulink> for details.</para>
  <para>ITS Terminology information is useful during <firstterm>Translation</firstterm> and related
    localization processes. Thus it is beneficial when <firstterm>Extractors</firstterm> preserve
    the ITS Terminology information in <firstterm>XLIFF Documents</firstterm>.</para>
  <para>Target language terminology data and metada introduced during the
      <firstterm>Translation</firstterm> can be <firstterm>Merged</firstterm> back into the target
    language content in the original format.</para>
  <para> </para>
  <warning>
    <para>The <firstterm>XLIFF Core</firstterm>
      <link linkend="termAnnotation">Term Annotation</link>
      does not support all aspects of the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#terminology">Terminology</ulink> data category. For
      instance, the <firstterm>XLIFF Core</firstterm> Term Annotation cannot be used to mark a span
      as not a term, which is needed to map ITS <code>term="no"</code>. In case lossless roundtrip
      of this category needs to be achieved, the Core Annotation needs to be extended as defined by
      the <link linkend="nonTermAnnotation">ITS Terminology Annotation</link>.</para>
  </warning>
  <section id="Terminology_Structural">
    <title>Structural Elements</title>
    <para>Even if ITS Terminology metadata appears on structural elements in the source format, this
      information needs to be <firstterm>Extracted</firstterm> using the <firstterm>XLIFF
        Core</firstterm>
      <link linkend="annotations">Annotations</link> mechanism.
      Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with
        <code>type="term"</code>. See <link linkend="termAnnotation">Term Annotation</link>.</para>
    <example>
      <title>Extraction of Terminology from structural elements</title>
      <para>Original:</para>
      <programlisting format="linespecific">
&lt;p its-term='yes'&gt;Term&lt;/p&gt;
 </programlisting>
      <para>Extraction:</para>
      <programlisting format="linespecific">
&lt;unit id='1'&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;mrk id="m1" type="term"&gt;Term&lt;/mrk&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
    </example>
  </section>
  <section id="Terminology_Inline">
    <title>Inline Elements</title>
    <para> Inline Terminology information <glossterm>may</glossterm> be <firstterm>Extracted</firstterm> using the
        <firstterm>XLIFF Core</firstterm>
      <link linkend="annotations">Annotations</link> mechanism.
      Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with
        <code>type="term"</code>. See <link linkend="termAnnotation">Term Annotation</link>.</para>
    <example>
      <title>Extraction of inline Terminology using Annotation markers</title>
      <para>Original:</para>

      <programlisting format="linespecific">
&lt;p&gt;Text with a &lt;span its-term='yes'&gt;term&lt;/span&gt;.&lt;/p&gt;
 </programlisting>

      <para>Extraction:</para>
      <programlisting format="linespecific">
&lt;unit id='1'&gt;
  &lt;segment&gt;
    &lt;source&gt;Text with a &lt;pc id='1'&gt;&lt;mrk id="m1" type="term"&gt;term&lt;/mrk&gt;
        &lt;/pc&gt;.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
    </example>
  </section>
  <section id="nonTermAnnotation">
    <title>ITS Terminology Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#terminology">Terminology</ulink> data category,
      including the aspects that are not supported via the <firstterm>XLIFF Core</firstterm>
      <link linkend="termAnnotation">Term
        Annotation</link>.</para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="id"><code>id</code></link> attribute is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>required</glossterm> and
          set:</para>
        <itemizedlist spacing="compact">
          <listitem>
            <para>either to <code>its:term-no</code>, which maps to and from the <link linkend="ITS20">[ITS]</link> defined
              <code>term</code> attribute set to <code>no</code>,</para>
          </listitem>
          <listitem>
            <para>or to <code>term</code>, which maps to and from the <link linkend="ITS20">[ITS]</link> defined
              <code>term</code> attribute set to <code>yes</code>.</para>
          </listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>Not more than one of the following two attributes <glossterm>may</glossterm> be
          set:</para>

        <itemizedlist>
          <listitem>

            <para>The <link linkend="value"><code>value</code></link> attribute is <glossterm>optional</glossterm> and
              contains a short definition of the term that an <firstterm>Extractor</firstterm>
              obtained by dereferencing the <link linkend="ITS20">[ITS]</link> defined <code>termInfoPointer</code> or added by an
              <firstterm>Enricher</firstterm>.</para>
          </listitem>
          <listitem>
            <para>The <link linkend="ref"><code>ref</code></link> attribute is <glossterm>optional</glossterm> and used to map
              to and from the <link linkend="ITS20">[ITS]</link>
              defined <code>termInfoRef</code> attribute.</para>
          </listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="itsm_termConfidence"><code>its:termConfidence</code></link> attribute is <glossterm>optional</glossterm> and  used to map
          to and from the <link linkend="ITS20">[ITS]</link>
          defined <code>termConfidence</code> attribute.</para>
      </listitem>
      <listitem>
        <para> The <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute is
          <glossterm>required</glossterm> if and only if the <link linkend="itsm_termConfidence"><code>its:termConfidence</code></link> attribute is
          present and NOT in scope of another relevant <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute, in
          all other cases it is <glossterm>optional</glossterm>. </para>
      </listitem>
    </itemizedlist>
    <!--  removed by ballot for https://issues.oasis-open.org/browse/XLIFF-57
    <warning><para>This annotation can be syntactically in scope of a relevant <olink
          targetdoc="../../attributes/itsm/itsm_annotatorsRef.xml" targetptr="itsm_annotatorsRef"
            ><code>its:annotatorsRef</code></olink> attribute, while it still fails to resolve with
        the intended value. This can happen if more than one terminology providers were used.</para></warning> -->
    <example>
      <title>Extraction of ITS Terminology with termConfidence </title>
      <programlisting format="linespecific">
&lt;div its-annotators-ref="terminology|<ulink url="http://example.org/TermService">http://example.org/TermService</ulink>"&gt;
  ...
  &lt;p&gt;Text with a &lt;span its-term='yes'
      its-term-info-ref='http://en.wikipedia.org/wiki/Terminology'
      its-term-confidence='0.9'&gt;term&lt;/span&gt;.&lt;/p&gt;
  ...
&lt;/div&gt;
 </programlisting>
      <para>Extracted:</para>
      <programlisting format="linespecific">
&lt;unit id='1'
    its:annotatorsRef='terminology|http://example.com/termchecker'&gt;
  &lt;segment&gt;
    &lt;source&gt;Text with a &lt;pc id="1"&gt;&lt;mrk id="m1" type="term"
        ref="http://en.wikipedia.org/wiki/Terminology"
        its:termConfidence="0.9"&gt;term&lt;/mrk&gt;&lt;/pc&gt;.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
    </example>
  </section>
</section>
  <section id="Language_Information">
  <title>Language Information</title>

  <para>Indicates the natural langauge in which content is expressed. See
    <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#language-information">Language Information</ulink> for details.</para>


  <section id="Language_Information_Structural">
    <title>Structural Elements</title>
    <para><firstterm>XLIFF Documents</firstterm> are normally bilingual, hence the source and target
      language are indicated at the top level using the <link linkend="srcLang"><code>srcLang</code></link> and <link linkend="trgLang"><code>trgLang</code></link>
      attributes set on the <link linkend="xliff"><code>xliff</code></link> element. The Language Information values set on the top level,
      strictly constrain the values of <link linkend="xml_space"><code>xml:lang</code></link> set or inherited on the <link linkend="source"><code>&lt;source&gt;</code></link> element for source content and on the <link linkend="target"><code>&lt;target&gt;</code></link> element for target content.</para>
    <note>
    <para>Because <firstterm>XLIFF Documents</firstterm> are normally source-monolingual, whole
        paragraphs in the source document that are not in the main source language are generally not
        to be extracted. If there is a need to extract such content into a single <firstterm>XLIFF
          Documents</firstterm>, the XLIFF output has to use the inline <link linkend="annotations">Annotations</link> mechanism
        together with the <link linkend="langAnnotation"> ITS Language Information
        Annotation</link>, because the structurally set or inherited source language is constrained
        by the <firstterm>XLIFF Core</firstterm>
        <link linkend="srcLang"><code>srcLang</code></link> attribute value. Analogically, the structurally set target
        language is constrained by the <link linkend="trgLang"><code>trgLang</code></link> attribute value. Thus also paragraphs
        other than in the main target language have to be annotated inline using the same
        mechanism.</para>
    </note>
  </section>
  <section id="Language_Information_Inline">
    <title>Inline Elements</title>
    <para> It is not possible to use <link linkend="xml_namespace">[XML namespace]</link> on XLIFF inline elements. It is advised that content in different
      languages is NOT used inline in source formats. Still there are use cases for mixed language
      use inline, like referencing non-localized UI or hardware elements, discussing foreign
      vocabulary or analyzing poetry in the original language using short inline examples. These
      scenarios cannot be fully supported with <firstterm>XLIFF Core</firstterm> only.</para>
    <para>In case the inline elements in other than the main language are not supposed to be
      translated (e.g. referenced non localized UI or hardware elements), they can be marked as not
      translatable using the <firstterm>XLIFF Core</firstterm>
      <link linkend="translateAnnotation">Translate
        annotation</link>. However, the specific Language Information would not be readily
      accessible during the roundtrip if not combined with the Language Information Annotation
      defined here in the ITS Module.</para>
    <note>
    <para>If there is a need to make the different language information available throughout the
        roundtrip, the XLIFF output has to use the inline <link linkend="annotations">Annotations</link> mechanism together with the <link linkend="langAnnotation"> ITS Language Information Annotation</link>, because the
        structurally set and thus inherited inline source language is constrained by the
          <firstterm>XLIFF Core</firstterm>
        <link linkend="srcLang"><code>srcLang</code></link> attribute value. Analogically, the structurally set (and
        inline inherited) target language is constrained by the <link linkend="trgLang"><code>trgLang</code></link>
        attribute value. Thus also inline portions in other than the main target language have to be
        inline annotated using the same mechanism.</para>
    </note>

    <warning><para>Preserving source elements content that is in other than the main source language as original
        data stored outside of the translatable content at the unit level and referenced from
        placeholder codes is NOT advised, as important context would be very likely hidden from
        translators, human or machine.</para></warning>




   <example>
      <title>Core only extraction and roundtrip of a non localized hardware reference in other than
        the main source language</title>

     <para>Original:</para>
     <programlisting format="linespecific">
&lt;p&gt; Use the &lt;span class="HWbutton" xml:lang="DE-DE"&gt;Aus&lt;/span&gt; button to
    completely switch off the machine. &lt;/p&gt;
 </programlisting>
     <para>Extraction:</para>
     <programlisting format="linespecific">
&lt;unit id='1'&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;span class="HWbutton" xml:lang="DE-DE"&gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/span&gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt; Use the &lt;pc id="1" dataRefStart="d1" dataRefEnd="d2"&gt;
        &lt;mrk id=2 translate="no"&gt;Aus&lt;/mrk&gt;&lt;/pc&gt; button to completely
        switch off the machine. &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>

     <para> Please note that the Language Information has been preserved for
          <firstterm>Merging</firstterm> back in the referenced original data, is however not
        available in an interoperable way during the roundtrip.</para>

    </example>
    </section>
  <section id="langAnnotation">
    <title>ITS Language Information Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#language-information">Language Information</ulink> data category,
      including full inline support that cannot be provided via the <firstterm>XLIFF
        Core</firstterm> due to normative Constraints. </para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="id"><code>id</code></link> attribute is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="itsm_lang"><code>itsm:lang</code></link> attribute is <glossterm>required</glossterm>.</para>
      </listitem>

      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
          <code>its:generic</code>.</para>

      </listitem>


      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
    </itemizedlist>
    <example>
      <title>Extraction of Language Information</title>

      <para>Original:</para>
      <programlisting format="linespecific">
&lt;!doctype html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;My Document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;Span of text &lt;span lang="fr"&gt;en français&lt;/span&gt;.&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
 </programlisting>
      <para>Extraction:</para>
      <programlisting format="linespecific">
...
&lt;unit id='2'&gt;
  &lt;segment&gt;
    &lt;source&gt;Span of text &lt;pc id='1'&gt;&lt;mrk id="m1" itsm:lang="fr"
        type="its:generic" &gt;en français&lt;/mrk&gt;&lt;/pc&gt;.&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
    </example>
  <warning><para>Please note that the <link linkend="langAnnotation">Language Information Annotation</link>
    uses the <link linkend="itsm_lang"><code>itsm:lang</code></link> attribute that belongs
          to the <code>urn:oasis:names:tc:xliff:itsm:2.1</code> namespace (prefixed with <code>itsm:</code>) and not to the
            <code>http://www.w3.org/2005/11/its</code> (prefixed with <code>its</code>) as most of the other attributes described
          in this module.
      </para></warning>
  </section>


</section>
  
  <section id="MT_Confidence">
  <title>MT Confidence</title>

  <para>communicates the confidence score from a machine translation engine for the accuracy of a translation it has provided
    <link linkend="ITS20">[ITS]</link> <ulink url="http://www.w3.org/TR/its20/#mtconfidence">MT Confidence</ulink> for details.</para>
  <warning><para>MT Confidence is not intended to provide a score that is comparable among or between Machine
      Translation engines and platforms. This data category does NOT aim to establish any sort of
      correlation between the confidence score and either human evaluation of MT usefulness, or
      post-editing cognitive effort. </para> </warning>
  
  <section id="MT_Confidence_mtc">
    <title>Within the Translation Candidates module</title>
    <para>The most natural step to introduce the MT Confidence metadata into the multilingual
      content life cycle is during the XLIFF roundtrip, when the <firstterm>XLIFF
        Document</firstterm> is being <firstterm>Enriched</firstterm> with Translation Candidates
      from a specific MT Service or via an MT Services broker. The MT Confidence metadata included
      with the MT provided matches <glossterm>may</glossterm> be used by human or machine
        <firstterm>Modifiers</firstterm> who populate the <firstterm>XLIFF Core</firstterm>
      <link linkend="target"><code>&lt;target&gt;</code></link> elements with matches.</para>
    <para>In the <link linkend="candidates">Translation Candidates Module</link>, there is a partial overlap
      between the <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#mtconfidence">MT Confidence</ulink> and
        <firstterm>XLIFF-defined</firstterm> features. See the <link linkend="itsm_mtConfidence"><code>mtConfidence</code></link> attribute for the mapping details, Advanced Constraints
      and Processing Requirements.</para>
    <example>
      <title>MT Confidence as Translation Candidates metadata</title>
      <programlisting format="linespecific">
&lt;xliff version="2.0" xmlns="urn:oasis:names:tc:xliff:document:2.0"
    xmlns:mtc="urn:oasis:names:tc:xliff:matches:2.0"
    xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"
    srcLang="en" trgLang="fr"&gt;
  &lt;file id="f1" its:annotatorsRef="mt-confidence|MTServices-XYZ"&gt;
    &lt;unit id="1"&gt;
      &lt;mtc:matches&gt;
        &lt;!-- Score provided by MTServices-XYZ --&gt;
        &lt;mtc:match ref="#m1" matchQuality="89.82"&gt;
          &lt;source&gt;Text&lt;/source&gt;
          &lt;target &gt;Texte&lt;/target&gt;
        &lt;/mtc:match&gt;
        &lt;!-- Score provided by MTProvider-ABC --&gt;
        &lt;mtc:match ref="#m1" matchQuality="67.8"
            its:annotatorsRef="mt-confidence|MTProvider-ABC"&gt;
          &lt;source&gt;Text&lt;/source&gt;
          &lt;target &gt;Texte&lt;/target&gt;
        &lt;/mtc:match&gt;
        &lt;!-- Score provided by MTProvider-JKL --&gt;
        &lt;mtc:match ref="#m1" matchQuality="65"
            its:annotatorsRef="mt-confidence|MTProvider-JKL"&gt;
          &lt;source&gt;Text&lt;/source&gt;
          &lt;target &gt;texte&lt;/target&gt;
        &lt;/mtc:match&gt;
        &lt;!-- Score provided by MTServices-XYZ --&gt;
        &lt;mtc:match ref="#m1" matchQuality="89.82"&gt;
          &lt;source&gt;Some text&lt;/source&gt;
          &lt;target&gt;Du texte&lt;/target&gt;
        &lt;/mtc:match&gt;
      &lt;/mtc:matches&gt;
      &lt;segment&gt;
        &lt;source&gt;&lt;mrk id='m1' type='mtc:match'&gt;Text&lt;/mrk&gt;&lt;/source&gt;
      &lt;/segment&gt;
    &lt;/unit&gt;
  &lt;/file&gt;
&lt;/xliff&gt;
 </programlisting>
    </example>
    <warning>
      <para>Generic ITS Processors cannot directly read MT Confidence data from the XLIFF
        Translation Candidates Module because ITS 2.0 does not define a global pointer for this data
        category.</para>
    </warning>    
  </section>
  
  

  <section id="MT_Confidence_Structural">
    <title>Structural Elements</title>
    <para>It is NOT advised that <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#mtconfidence">MT Confidence</ulink> be used at a
      structural level because meaningful MT Confidence scores will vary from segment to segment. If
      a structural element of an original document has an <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#mtconfidence">MT Confidence</ulink> annotation, it
        <glossterm>may</glossterm> be represented upon <firstterm>Extraction</firstterm> using the
        <link linkend="MTConfidenceAnnotation">MT Confidence Inline Annotation</link>.  The whole
      unit source content <glossterm>must</glossterm> be enclosed within the annotation in such a case, possibly spanning multiple segments.</para>
  </section>
  
  <section id="MT_Confidence_Inline">
    <title>Inline Elements</title>
    <para>  
    </para>
    
    
      
   <example>
      <title>Extraction of ITS MT Confidence Metadata from a Raw MTed source document</title>
    
     <para>Original:</para>
     <programlisting format="linespecific">
&lt;p&gt;&lt;span its:mtConfidence="0.8982"
    its:annotatorsRef="mt-confidence|MTServices-XYZ"&gt;Some Machine
        Translated text. &lt;/span&gt;&lt;/p&gt;
 </programlisting>
     <para>Extraction from a raw MT original:</para>
     <programlisting format="linespecific">
&lt;unit id="u1"&gt;
  &lt;segment&gt;
    &lt;source&gt;&lt;mrk id="m1" type="its:generic" its:mtConfidence="0.8982"
        its:annotatorsRef="mt-confidence|MTServices-XYZ" &gt;Some Machine
        Translated text.&lt;/mrk&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
       </programlisting>
      
      
      
    </example>
  </section>
  <section id="MTConfidenceAnnotation">
    <title>MT Confidence Annotation</title>
    <para>This is used to fully map to and from the <link linkend="ITS20">[ITS]</link>
      <ulink url="https://www.w3.org/TR/its20/#mtconfidence">MT Confidence</ulink> data
      category in <firstterm>XLIFF Core</firstterm>.</para>
    <para>Usage:</para>
    <itemizedlist spacing="compact">
      <listitem>
        <para>The <link linkend="id"><code>id</code></link>
          attribute is <glossterm>required</glossterm>.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="type"><code>type</code></link> attribute is <glossterm>optional</glossterm> and set to
            <code>its:generic</code>.</para>
      </listitem>
      <listitem>
        <para>The the <link linkend="ITS20">[ITS]</link> defined
          attribute <link linkend="itsm_mtConfidence"><code>its:mtConfidence</code></link>
          <glossterm>must</glossterm> be set.</para>
      </listitem>
      <listitem>
        <para>The <link linkend="translate"><code>translate</code></link> attribute is <glossterm>optional</glossterm>.</para>
      </listitem>
      
      <listitem>
        <para> The <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute is
          <glossterm>required</glossterm> if and only if the <link linkend="itsm_mtConfidence"><code>its:mtConfidence</code></link> attribute is not in scope of
          another relevant <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute.</para>
      </listitem>
    </itemizedlist>
    <!--  removed by ballot for https://issues.oasis-open.org/browse/XLIFF-57
    <warning>
      <para>This annotation can be syntactically in scope of a relevant <olink
          targetdoc="../../attributes/itsm/itsm_annotatorsRef.xml" targetptr="itsm_annotatorsRef"
            ><code>its:annotatorsRef</code></olink> attribute, while it still fails to resolve with
        the <emphasis>intended</emphasis> value. This can happen if more than one MT and/or MT
        Confidence providers were used. </para>
    </warning>
     -->
    <example>
      <title>Populating <firstterm>XLIFF Core</firstterm> targets with raw MT along with ITS MT
        Confidence metadata</title>
      
      <para>Original:</para>
      <programlisting format="linespecific">
&lt;p&gt; Some human authored text for translation. &lt;/p&gt;
 </programlisting>
      <para>Extracted text Enriched with a Machine Translated candidate and
          the same candidate inserted into the core target:</para>
      <programlisting format="linespecific">
&lt;unit id="u1"&gt;
  &lt;mtc:matches&gt;
    &lt;mtc:match ref="#t=m1" matchQuality="67.8"
        its:annotatorsRef="mt-confidence|GoogleTranslate"&gt;
      &lt;source xml:lang="EN"&gt;Some human authored text for translation.
          &lt;/source&gt;
      &lt;target xml:lang="CS"&gt;Některé lidské napsaný text určený k překladu .
          &lt;/target&gt;
    &lt;/mtc:match&gt;
  &lt;/mtc:matches&gt;
  &lt;segment&gt;
    &lt;source xml:lang="EN"&gt;Some human authored text for translation. 
        &lt;/source&gt;
    &lt;target xml:lang="CS"&gt;&lt;mrk id="m1" type="its:generic"
        its:mtConfidence="0.678"
        its:annotatorsRef="mt-confidence|GoogleTranslate"&gt;Některé lidské
        napsaný text určený k překladu .&lt;/mrk&gt;&lt;/target&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
       </programlisting>
      
      <para>Raw MT Merged back into the original format with MT Confidence
          metadata:</para>
      <programlisting format="linespecific">
&lt;p&gt;&lt;span its:mtConfidence="0.678"
    its:annotatorsRef="mt-confidence|GoogleTranslate"&gt; Některé lidské
    napsaný text určený k překladu . &lt;/span&gt;&lt;/p&gt;
 </programlisting>
      
    </example>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para><firstterm>Modifiers</firstterm> populating <firstterm>XLIFF Core</firstterm> <link linkend="target"><code>&lt;target&gt;</code></link> elements with unmodified MT suggestions <glossterm>may</glossterm> annotate the exact unmodified target spans with <link linkend="MTConfidenceAnnotation">MT Confidence Annotations</link>.</para>
      
      
    </listitem>
    
  </itemizedlist>
    <warning><para>The MT Confidence Annotations need to be removed whenever the original MT is modified, no
        matter if by human post-editors or some automated post-editing methods. This is however not
        enforceable since the subsequent <firstterm>Modifiers</firstterm> might not be aware of the
        ITS Module data. Thus it is not advised to transfer the MT Confidence data onto
          <firstterm>XLIFF Core</firstterm> targets if any sort of post editing is foreseen or
        possible in the subsesquent steps of the XLIFF Round-trip, unless the post-editors were
        instructed and equipped to remove the MT Confidence Annotations as soon as they touch the MT
        suggestions. Preserving the MT Confidence data in <firstterm>XLIFF Core</firstterm>
        <link linkend="target"><code>&lt;target&gt;</code></link> elements only makes sense if the data needs to be
        preserved throughout <firstterm>Merging</firstterm> back to the original format, for
        instance for data analytic purposes or to color code the raw MTed target text for the end
        user based on the MT Confidence scores.</para></warning>
  </section>
  
  
  
  
</section>
  
  
  <section id="Storage_Size">
    <title>Storage Size</title>
    <para>Mapping for this metadata category has not been specified in XLIFF Version 2.1</para>
    <itemizedlist>
      <title>Processing Requirements</title>
      <listitem>
        <para>The <link linkend="ITS20">[ITS]</link>
          <ulink url="https://www.w3.org/TR/its20/#storagesize">Storage Size data
            category</ulink>
          <glossterm>may</glossterm> be expressed as an Extended profile within the <link linkend="size_restriction_module">Size and Length Restriction Module</link>. No other parts of XLIFF
          <glossterm>must</glossterm> be extended to support this data category.</para>
      </listitem>
    </itemizedlist>
    <note><para>An <firstterm>XLIFF-defined</firstterm> common profile could be made part of this module in a future Version of
      XLIFF.</para></note>
  </section>  
  
  
  
  
  
</section>
  <section id="ITSInCore">
  <title>ITS data categories available through XLIFF Core and other Modules</title>

  <para>The following <link linkend="ITS20">[ITS]</link> data
    categories are fully available via <firstterm>XLIFF Core</firstterm>  and other XLIFF
    modules:</para>

  <orderedlist inheritnum="ignore" continuation="restarts">
    <!--  Moved Localization Note to Partial Overlap in response to https://issues.oasis-open.org/browse/XLIFF-5
    
    <listitem>
      <para><olink targetdoc="Localization_Note.xml" targetptr="Localization_Note">Localization Note</olink></para>
    </listitem>
     -->   
    
    <listitem>
      <para><link linkend="Translate">Translate</link> and</para>
    </listitem>
    
    <listitem>
      <para><link linkend="External_Resource">External Resource</link>.</para>
    </listitem>
        
    <listitem>
      <para><link linkend="Preserve_Space">Preserve Space</link></para>
    </listitem>
    
    
        
  </orderedlist>
  
  <section id="Translate">
  <title>Translate</title>

  <para>Indicates whether content is translatable or not. See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#trans-datacat">Translate</ulink> for
    details.</para>
  <para>ITS data category Translate in source content influences how <firstterm>Extractors</firstterm> prepare source content for <firstterm>Translation</firstterm> via <firstterm>XLIFF Documents</firstterm>.</para>

  <section id="Translate_Structural">
    <title>Structural Elements</title>
    <para>
      Use the <code><link linkend="translate">translate</link></code> attribute:</para>

    <example>
      <title>Extraction of Translate at structural levels</title>

    <para>Original:</para>

      <programlisting format="linespecific">
&lt;p translate='yes'&gt;Translatable text&lt;/p&gt;
&lt;p translate='no'&gt;Non-translatable text&lt;/p&gt;
 </programlisting>


    <para>Extraction:</para>


      <programlisting format="linespecific">
&lt;unit id='1' translate="yes"&gt;
  &lt;segment&gt;
    &lt;source&gt;Translatable text&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
&lt;unit id='2' translate="no"&gt;
  &lt;segment&gt;
    &lt;source&gt;Non-translatable text&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
   </example>


    <para> If an element is not translatable you can also simply not extract it. </para>
  </section>
  <section id="Translate_Inline">
    <title>Inline Elements</title>
    <para> Use <code><link linkend="mrk">&lt;mrk&gt;</link></code> or an <code><link linkend="sm">&lt;sm/&gt;</link></code> / <code><link linkend="em">&lt;em/&gt;</link></code> pair with
        <code>translate='yes|no'</code>. Another option is to extract the non-translatable content
      as an inline code. However, it is worth noting that <firstterm>Extracting</firstterm>
      non-translatable text as inline code data can hide important context information from
      translators, human or machine. The <firstterm>Extraction</firstterm> as code data is
      preferable if the non-translatable text has purely programmatic purpose and bears no
      linguistic relationship to the surrounding translatable text.</para>
    <example>
      <title>Extraction of non-translatable inline text using Annotation markers</title>

    <para>Original:</para>

      <programlisting format="linespecific">
&lt;p&gt;The  &lt;span translate="no"&gt;World Wide Web Consortium&lt;/span&gt; makes the
    World Wide Web world wide.&lt;/p&gt;
 </programlisting>
      <para>Extraction:</para>
      <para>In this case the non-translatable span is a critical part of the content (a brand name)
        and hiding it within a code could potentially cause lot of damage, albeit
        non-translatable.</para>
        <programlisting format="linespecific">
&lt;unit id='1'&gt;
  &lt;segment&gt;
    &lt;source&gt;The &lt;pc id='1'/&gt;&lt;mrk id='m1' translate='no'&gt;World Wide Web
        Consortium&lt;/mrk&gt;&lt;/pc&gt; makes the World Wide Web world wide.
        &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
    </example>
    <para/>
    <example>
      <title>Protection of non-translatable inline text using an inline code</title>
      <para>
        <programlisting format="linespecific">
&lt;p&gt;You have &lt;code translate='no'&gt;%1&lt;/span&gt; messages.&lt;/p&gt;
 </programlisting>
      </para>
      <programlisting format="linespecific">
&lt;unit id='1'&gt;
  &lt;originalData&gt;
    &lt;data id="1"&gt;%1&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;You have &lt;ph id='1' dataRef="1" type="ui" subtype="xlf:var"
        disp="[a variable number]" equiv="%1"/&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
      <para>Protection of non-translatable code as a code is more fool proof. On the other hand, it
        can hide the nature of the placeholder and it's linguistic relationship to the rest of the
        content from the translators. Therefore, it's advised to use maximum redundancy on the
          <code>&lt;ph&gt;</code> to make sure that CAT tools can pickup up something useful to display
        in their editing GUI to the Translator. It's completely another challenge to make an MT
        engine understand that the placeholder has a significant linguistic relationship to the rest
        of the sentence.</para>



    </example>
  </section>

</section>  
  <section id="External_Resource">
  <title>External Resource</title>

  <para>Indicates that a node represents or references potentially translatable data in a resource outside the document. Examples of such resources are external images and audio or video files.
     See <link linkend="ITS20">[ITS]</link>
    <ulink url="https://www.w3.org/TR/its20/#externalresource">External Resource</ulink> for
    details.</para>

  <section id="External_Resource_Structural">
    <title>Structural Elements</title>
    <para>External Resource is not to be used at structural levels. If a structural element of the
      original document has <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#externalresource">External Resource</ulink>
      information associated, it <glossterm>may</glossterm> be <firstterm>Extracted</firstterm>
      using the XLIFF Resource Data Module. The <firstterm>Extractor</firstterm> needs to determine
      the media type of the external resource, since this is not available via <link linkend="ITS20">[ITS]</link>
      <ulink url="http://www.w3.org/TR/its20/#externalresource">External Resource</ulink>
      information.</para>


    <example>
      <title>Extraction of External Resource at structural levels</title>

    <para>Original:</para>

      <programlisting format="linespecific">
&lt;its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its"
    xmlns:html="http://www.w3.org/1999/xhtml"&gt;
  &lt;its:externalResourceRefRule selector="//html:video/@src"
      externalResourceRefPointer="."/&gt;
  &lt;its:externalResourceRefRule selector="//html:video/@poster"
      externalResourceRefPointer="."/&gt;
&lt;/its:rules&gt;
...
&lt;video height=360 poster=video-image.png
    src=http://www.example.com/video/v2.mp width=640&gt;
 </programlisting>


    <para>Extraction:</para>


      <programlisting format="linespecific">
...
&lt;res:resourceData&gt;
  &lt;res:resourceItem id="r1" mimeType="image/png" context="no"&gt;
    &lt;res:source href="video-image.png" /&gt;
  &lt;/res:resourceItem&gt;
&lt;/res:resourceData&gt;
...
</programlisting>
   </example>



  </section>
  <section id="External_resource__Inline">
    <title>Inline Elements</title>
    <para> External resources is <firstterm>Extracted</firstterm> using the XLIFF Resource Data
      module. Use a <code><link linkend="res_source">&lt;res:source&gt;</link></code> element as a child of a <code><link linkend="res_resourceItem">&lt;res:resourceItem&gt;</link></code>element.</para>
      <example>
        <title>Extraction of External Resource at inline levels</title>
    <para>Original:</para>

    <programlisting format="linespecific">
&lt;!doctype html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;Data Category: External Resource&lt;/title&gt;
    &lt;script type="application/its+xml"&gt;
      &lt;its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
          xmlns:h="http://www.w3.org/1999/xhtml"&gt;
        &lt;its:externalResourceRefRule selector="//h:img"
            externalResourceRefPointer="@src"/&gt;
      &lt;/its:rules&gt;
    &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;p&gt;Image: &lt;img src="example.png" alt="Text for the image"&gt;&lt;/p&gt;
  &lt;/body&gt;
&lt;/html&gt;
 </programlisting>


    <para>Extraction:</para>


    <programlisting format="linespecific">
&lt;unit id="1"&gt;
  &lt;res:resourceData&gt;
    &lt;res:resourceItem id="r1" mimeType="image/png" context="no"&gt;
      &lt;res:source href="example.png" /&gt;
    &lt;/res:resourceItem&gt;
  &lt;/res:resourceData&gt;
  &lt;segment&gt;
    &lt;source&gt;Image: &lt;ph id="ph1" fs="img"
        subFs="src,example.png\alt,Text for the image" /&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
</programlisting>
        </example>

  </section>

</section>
  <section id="Preserve_Space">
  <title>Preserve Space</title>

  <para>Indicates how to handle whitespace in a given content portion. See
    <link linkend="ITS20">[ITS]</link> <ulink url="http://www.w3.org/TR/its20/#preservespace">Preserve Space</ulink> for details.</para>
  

  <section id="Preserve_Space_Structural">
    <title>Structural Elements</title>
    <para>
      Whitespace handling at the structural level is indicated with <code><link linkend="xml_space">xml:space</link></code> in <firstterm>XLIFF Core</firstterm> and extensions:
      <example>
        <title>Extraction of preserved whitespace at the structural level</title>
      
      <para>Original:</para>
      <programlisting format="linespecific">
&lt;listing xml:space='preserve'&gt;Line 1 Line 2&lt;/listing&gt;
 </programlisting>
      <para>Extraction:</para>
      <programlisting format="linespecific">
&lt;unit id='1' xml:space='preserve'&gt;
  &lt;segment&gt;
    &lt;source&gt;Line 1 Line 2&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
 </programlisting>
      </example>
    </para>
  </section>
  <section id="Preserve_Space_Inline">
    <title>Inline Elements</title>
    <para> It is not possible to use <link linkend="xml_namespace">[XML namespace]</link> on XLIFF inline elements. It is advised that mixed Preserve Space
      behavior is NOT used inline in source formats. The advised way to extract content with mixed
      Preserve Space behavior is for the <firstterm>Extractor</firstterm> to perform the following:<orderedlist inheritnum="ignore" continuation="restarts">
        <listitem>
          <para>Normalize the whitespace in the content as needed, i.e. preserving whitespace spans
            where they need to be preserved, normalizing elsewhere.</para>
        </listitem>
        <listitem>
          <para>Then, extract the content with <link linkend="xml_space"><code>xml:space</code></link> set to <code>preserve</code> on the
            structural level, i.e. <link linkend="unit"><code>unit</code></link> or higher.</para>
        </listitem>
      </orderedlist></para>
    <para>
      <note>
        <para>Even in case <firstterm>Extractors</firstterm> don't perform the normalization step,
          it is safer to set <link linkend="xml_space"><code>xml:space</code></link> to <code>preserve</code> on the structural level, since any potentially
          superfluous whitespace characters can be removed by human translators or editors, whereas inheriting of the default
          value <code>default</code> could lead to irreversible loss of significant whitespace
          characters.</para>
      </note>
    </para>
    <para>Whitespace handling can be also set independently for text segments and ignorable text
      portions within an <firstterm>Extracted</firstterm> unit and for the source and target
      language within the same <code><link linkend="segment">&lt;segment&gt;</link></code> or <code><link linkend="ignorable">&lt;ignorable&gt;</link></code> element using the <glossterm>optional</glossterm>
      <code><link linkend="xml_space">xml:space</link></code> attribute at the <code><link linkend="source">&lt;source&gt;</link></code> and <code><link linkend="target">&lt;target&gt;</link></code> elements. </para>    
    
    <para> It is important to note that the value of the <code><link linkend="xml_space">xml:space</link></code>
      attribute is restricted to <code>preserve</code> on the <code><link linkend="data">&lt;data&gt;</link></code>
      element.</para>
       
    
      <!--  The example demonstartes bad practice that we don't want to encourage, could be listed later on as a bad example with an explanation of issues this kind of extraction would be likely to cause.
   <example>
      <title>Extraction of preserved whitespaces as referenced original data</title>
    
     <para>Original:</para>
     <programlisting>
 &lt;p>
   &lt;span xml:space='preserve'>Item 1      Item 2      Item n+1 
   &lt;/span> are all used to build Item n+2.
 &lt;/p>
     </programlisting>
     <para>Extraction:</para>
     <programlisting>
&lt;unit id='1'>
  &lt;originalData>
    &lt;data id="d1">&amp;lt;span xml:space='preserve'>&lt;/data>
    &lt;data id="d2">&amp;lt;/span>&lt;/data>
    &lt;data id="d3">      &lt;/data>
    &lt;data id="d4"> 
    &lt;/data>
  &lt;/originalData>
  &lt;segment>
    &lt;source>&lt;pc id="1" dataRefStart="d1" dataRefEnd="d2">Item 1&lt;ph id="2" dataRef="d3">Item 2&lt;ph id="2" dataRef="d3">Item n+1&lt;ph id="2" dataRef="d4">&lt;/pc> are all used to build Item n+2.&lt;/source>
  &lt;/segment>
&lt;/unit>
        </programlisting>
      
      
      
    </example>
      -->
  </section>
  
</section>
    
  
</section>
  <section id="ITSnonMetadata">
  <title>ITS data categories not represented in XLIFF</title>

  <para>The following <link linkend="ITS20">[ITS]</link> data
    categories can be represented via <firstterm>Extraction</firstterm> and
      <firstterm>Merging</firstterm> behavior of XLIFF conformant <firstterm>Agents</firstterm>
    without including any ITS specific metadata in the <firstterm>XLIFF
    Documents</firstterm>:</para>

  <orderedlist inheritnum="ignore" continuation="restarts">
    <listitem>
      <para><link linkend="its-directionality">Directionality</link>,</para>
    </listitem>
    <listitem>
      <para><link linkend="Elements_Within_Text">Elements
          Within Text</link>,</para>
    </listitem>
    <listitem>
      <para><link linkend="its-locale-filter">Locale Filter</link>,</para>
    </listitem>
        <listitem>
      <para><link linkend="Target_Pointer">Target Pointer</link>,
        and</para>
    </listitem>
    <listitem>
      <para><link linkend="its-id-value">ID Value</link>.</para>
    </listitem>
    
    
    
    
    
  </orderedlist>
  
  <section id="its-directionality">
    <title>Directionality</title>
    <para>The <ulink url="http://www.w3.org/TR/its20#directionality">Directionality</ulink> data
      category allows the user to specify the base writing direction of blocks, embeddings, and
      overrides for the Unicode bidirectional algorithm <link linkend="uax9">[UAX #9]</link>. In XLIFF the usage
      of this data category along the ITS lines is discouraged, since XLIFF provides its own
      mechanism to specify directionality, see <link linkend="BiDi">Bidirectional Text</link>.</para>
  </section>
  
  <section id="Elements_Within_Text">
  <title>Elements Within Text</title>
  <para>The <ulink url="http://www.w3.org/TR#elements-within-text">Elements Within Text</ulink> data
    category reveals if and how an element affects the way text content behaves from a linguistic
    viewpoint. This information is for example relevant to provide basic text segmentation hints for
    tools such as translation memory systems. See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR#elements-within-text">Elements Within Text</ulink> for
    details.</para>
  <para>The <ulink url="http://www.w3.org/TR/its20#elements-within-text">Elements Within
      Text</ulink> data category is used by ITS processors to generate XLIFF documents. This process
    is done by ITS processors, not by XLIFF <firstterm>Writers</firstterm> or other types of XLIFF
    implementations, to understand how to extract source content. The data category is not
    represented directly in <firstterm>XLIFF Documents</firstterm>.</para>
  <para>The data category provides three values: <code>yes</code>, <code>no</code> and
      <code>nested</code>. See the <ulink url="http://www.w3.org/TR/its20#within-text-definition">ITS 2.0 specification</ulink> for examples of how to use these values in general XML
    vocabularies or in HTML. The below examples show how to deal with the values in XLIFF. </para>
  <section>
    <title>Elements Within Text Value <code>Yes</code></title>
    <para>The element needs to be mapped to one of the XLIFF 2.1 inline elements: &lt;pc&gt;,
      &lt;sc&gt;/&lt;ec&gt; or &lt;ph&gt;, while its content is extracted.</para>
    <para>Example for using <code>pc</code> - Original: </para>
    <programlisting format="linespecific">
...
&lt;p&gt;This paragraph contains &lt;span its-within-text="yes"&gt;a spanned part
    &lt;/span&gt;.&lt;/p&gt;
...
</programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
...
&lt;unit id="u1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;span its-within-text="yes"&amp;gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/span&amp;gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;This paragraph contains &lt;pc id="pc1" dataRefStart="d1"
        dataRefEnd="d2"&gt;a spanned part &lt;/pc&gt;. &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
    <para>Example for using <code>sc</code>/<code>ec</code> - Original: </para>
    <programlisting format="linespecific">
...
&lt;p&gt;A paragraph where &lt;u&gt;the formatted text appears in more than one
    segment. The second sentence here.&lt;/u&gt;&lt;/p&gt;
...
</programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
...
&lt;unit id="u1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;u&amp;gt;&lt;/data&gt;
    &lt;data id="d2"&gt;&amp;lt;/u&amp;gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;A paragraph where &lt;sc id="sc1" dataRef=”d1” type="fmt"
        subType="xlf:u"/&gt;the formatted text takes more than one segment.
        &lt;/source&gt;
  &lt;/segment&gt;
  &lt;segment&gt;
    &lt;source&gt; The second sentence here.&lt;ec dataRef=”d2” startRef="sc1"/&gt;
        &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
    <para>Example for using <code>ph</code> - Original: </para>
    <programlisting format="linespecific">
...
&lt;p&gt;This sentence has a breakpoint&lt;br/&gt;inside.&lt;/p&gt;
...
</programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
...
&lt;unit id="u1"&gt;
  &lt;originalData&gt;
    &lt;data id="d1"&gt;&amp;lt;br/&amp;gt;&lt;/data&gt;
  &lt;/originalData&gt;
  &lt;segment&gt;
    &lt;source&gt;This sentence has a breakpoint&lt;ph id="ph1" dataRef="d1"
        type=”fmt” subType=”xlf:lb”/&gt;inside. &lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
  </section>
  <section>
    <title>Elements Within Text Value <code>Nested</code></title>
    <para>The sub-flow (i.e. element’s content) should be stored in a different <code>unit</code>
      while the original element is replaced by a <code>ph</code> element and order of the flow
      defined by the <code>subFlows</code> attribute.
      <!--  Work on example done, along the lines of the comment. Comment can be removed. COMMENT: NEED TO REFINE THE EXAMPLE E.G. WITH
      AN IMAGE WHICH HAS THEN A TITLE AND AN ALT ATTRIBUTE; IMAGE WOULD NOT BE FROM HTML SINCE
      ATTRIBUTES ARE NOT TAKEN INTO ACCOUNT IN ELEMENTS WITHIN TEXT; MAYBE USE DITA OR DOCBOOK
      "FIGURE" ELEMENTS? --></para>
    <para>Example - Original: </para>
    <programlisting format="linespecific">
...
&lt;para&gt;Some text with a figure:
  &lt;figure&gt;
    &lt;title its:withinText="nested"&gt;Some image description&lt;/title&gt;
    &lt;mediaobject&gt;
      &lt;imageobject&gt;
        &lt;imagedata fileref="images/example.jpg" scale="75"/&gt;
      &lt;/imageobject&gt;
    &lt;/mediaobject&gt;
  &lt;/figure&gt;
&lt;/para&gt;
...
</programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
...
&lt;unit id="u1"&gt;
  &lt;segment&gt;
    &lt;source&gt;Some image description&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
&lt;unit id="u2"&gt;
  &lt;segment&gt;
    &lt;source&gt;Some text with a figure: &lt;ph id="ph1" subFlows="u1"/&gt;&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
    <para>All the sub-flows and the <code>unit</code> element which invokes them have to be in the
      same <code>file</code> element. </para>
  </section>
  <section>
    <title>Elements Within Text Value <code>No</code></title>
    <para>In XLIFF 2.1 such element content should be stored in separate <code>unit</code> elements. </para>
    <para>Example - Original: </para>
    <programlisting format="linespecific">
...
&lt;ul&gt;
  &lt;li&gt;First sentence&lt;/li&gt;
  &lt;li&gt;Second sentence&lt;/li&gt;
&lt;/ul&gt;
...
</programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
...
&lt;unit id="u1"&gt;
  &lt;segment&gt;
    &lt;source&gt;First sentence&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
&lt;unit id="u2"&gt;
  &lt;segment&gt;
    &lt;source&gt;Second sentence&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
  </section>
</section>
  
  
  
  <section id="its-locale-filter">
    <title>Locale Filter</title>
    <para>Expresses that a node is only applicable to certain locales. See <link linkend="ITS20">[ITS]</link>
      <ulink url="https://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> for further
      details.</para>
    <para>It is <glossterm>recommended</glossterm> that <ulink url="http://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> metadata is fully
      consumed on <firstterm>Extraction</firstterm>, so that only the relevant source content is
      present in each <firstterm>XLIFF Document</firstterm> with the <link linkend="trgLang">trgLang</link> attributes set as
      per the <ulink url="http://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink>
      metadata.</para>
    <para>Dependent on workflow specifics and business requirements, this data category can be most
      of the times fully represented by <firstterm>Extraction</firstterm> and
        <firstterm>Merging</firstterm> behavior without explicitly representing <ulink url="http://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink> metadata in
        <firstterm>XLIFF Documents</firstterm>. See the <link linkend="Locale_Filter">Locale Filter</link> section within the <link linkend="itsm_defined_categories">defined categories
        section</link> for the normative description of how this metadata can be explicitly
      represented if necessary.
      <!--   COMMENT: MAKE CLEAR THAT THERE ARE TWO
      HANDLINGS, ONE IS NOT TO REPRESENT THE DATA CATEGORY, THE OTHER IS IN THE MODULE. THE
      EXTRACTION IS FOR ITS PROCESSORS GENERATING XLIFF, THE DIRECT REPRESENTATION IS FOR XLIFF
      PROCESSORS. --></para>
  </section>
  
  <section id="Target_Pointer">
  <title>Target Pointer</title>

  <para>Is used to associate the node of a given source content (i.e., the content to be translated) and the node of its corresponding target content (i.e., the source content translated into a given target language). See <link linkend="ITS20">[ITS]</link>
    <ulink url="http://www.w3.org/TR/its20/#target-pointer">Target Pointer</ulink> for
    details.</para>
  <para>This data category is not mapped to XLIFF but used by extracting and merging tools to get the source content from the original document and put back the translated content at its proper location.</para>
  <para>Note that ITS processors working on XLIFF documents should use the following rule to locate the source and target content:</para>

  <programlisting format="linespecific">
&lt;its:targetPointerRule selector="//xlf:source"
    targetPointer="../xlf:target"/&gt; </programlisting>

</section>
  
  
  <section id="its-id-value">
    <title>ID Value</title>
    <para>The <ulink url="http://www.w3.org/TR/its20#idvalue">ID Value</ulink> data category
      indicates a value that can be used as a unique identifier for a given part of the content. As
      XLIFF identifiers are not globally unique, this data category does cannot have a normative
      correspondence in XLIFF. Still the ID information could be represented in XLIFF, e.g. if there
      is an HTML file with id attributes, the attributes could be stored as names (e.g. with the
      XLIFF <code>name</code> attribute) or ids (with the XLIFF <code>id</code> attribute), yet
      being unique per XLIFF <code>file</code> element (not per <firstterm>XLIFF
        Document</firstterm>).
      <!--  Example added, comment left for people to check this.
        COMMENT: ADD AN EXAMPLE OF
      HOW E.G. HTML ID ATTRIBUTES END UP IN XLIFF 2.1.
       -->
      In general the ID Value information is fully consumed by the
        <firstterm>Extraction/Merge</firstterm> behavior and there is no normative mapping
      relationship between ID Value as used in native formats and during the XLIFF Roundtrip.</para>
    <para>Example - Original: </para>
    <programlisting format="linespecific">
...
&lt;p id="p1&gt;A paragraph&lt;/p&gt;
...
</programlisting>
    <para>Extraction:</para>
    <programlisting format="linespecific">
...
&lt;unit id="u1" name="p1&gt;
  &lt;segment&gt;
    &lt;source&gt;A paragraph&lt;/source&gt;
  &lt;/segment&gt;
&lt;/unit&gt;
...
</programlisting>
  </section>
  
  
</section>
  

  <section id="itsmAnnotations">
    <title>ITS Mapping Annotations</title>
    <para>This lists all custom Annotations that are needed for <link linkend="ITS20">[ITS]</link> support in <firstterm>XLIFF Documents</firstterm> but are not
    available through <firstterm>XLIFF Core</firstterm>
    <link linkend="annotations">Annotations</link> or other
    module specific annotations. Use of <firstterm>XLIFF Core</firstterm>
    <link linkend="annotations">Annotations</link> for the ITS
    Mapping purposes is described in sections <link linkend="ITSInCore">ITS data categories available through XLIFF Core</link> and <link linkend="ITSPartialOverlap">ITS data categories that have a
      partial overlap with XLIFF features</link> sections of this ITS Module.</para>
  <para>The following is the summary of internal links to all relevant Annotations:</para>
    
    
    
    <itemizedlist>
      <listitem>
        <para>Generic Annotation</para>
        <itemizedlist>
          <listitem><para><link linkend="toolsAnnotation">ITS Tools Annotation</link></para></listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>Annotations for Data Categories fully defined in the ITS Module</para>
        <itemizedlist>
          <listitem><para><link linkend="Allowed_Characters">ITS Allowed Characters</link></para></listitem>
          <listitem><para><link linkend="domainsAnnotation">ITS Domain Annotation</link></para></listitem>
          <listitem><para><link linkend="localeFilterAnnotation">ITS Locale Filter Annotation</link></para></listitem>
          
          <listitem><para><link linkend="lqiAnnotation">ITS Localization Quality Issue Annotation</link></para></listitem>
          <listitem><para><link linkend="lqrAnnotation">ITS Localization Quality Rating Annotation</link></para></listitem>
        <listitem>
          <para><link linkend="provenanceAnnotation">ITS Provenance Annotation</link></para>
        </listitem>
          <listitem><para><link linkend="taAnnotation">ITS Text Analysis Annotation</link></para></listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>Annotations for Data Categories partially defined in the ITS Module</para>
        <itemizedlist>
          
          <listitem><para><link linkend="langAnnotation">ITS Language Information Annotation</link></para></listitem>
          <listitem><para><link linkend="MTConfidenceAnnotation">ITS MT Confidence Annotation</link></para></listitem>
          
          <listitem><para><link linkend="nonTermAnnotation">ITS Terminology Annotation</link></para></listitem>
        </itemizedlist>
      </listitem>
      
      
      
    <!--   The TC agreed in January 2015 not to have a specific annotation or attribute for handling whitespace inline
    <section id="spaceAnnotation">
      <title>ITS Preserve Space Annotation</title>
      <para>This is used to fully map to and from the <olink targetdoc="../xliff21.xml"
          targetptr="ITS20">[ITS]</olink>
        <ulink url="http://www.w3.org/TR/its20/#terminology">Preserve Space</ulink> data category,
        including full inline support that cannot be provided via the <firstterm>XLIFF
          Core</firstterm>. </para>
      <para>Usage:</para>
      <itemizedlist spacing="compact">
        <listitem>
          <para>The <olink targetdoc="../../attributes/id.xml" targetptr="id"
            ><code>id</code></olink> attribute is <glossterm>required</glossterm>.</para>
        </listitem>
        <listitem>
          <para>The <olink targetdoc="../../attributes/itsm/itsm_space.xml" targetptr="itsm_space"
            ><code>its:space</code></olink> attribute is <glossterm>required</glossterm>.</para>
        </listitem>
        
        <listitem>
          <para>The <olink targetdoc="../../attributes/type.xml" targetptr="type"
              ><code>type</code></olink> attribute is <glossterm>optional</glossterm> and set to
<code>its:generic</code>.</para>
          
        </listitem>
        
        
        <listitem>
          <para>The <olink targetdoc="../../attributes/translate.xml" targetptr="translate"
            ><code>translate</code></olink> attribute is <glossterm>optional</glossterm>.</para>
        </listitem>
      </itemizedlist>
      
    </section> -->
      
    </itemizedlist>
    
    
    
 
  
  
  
  
  
      
  </section>
  <section id="ITS_Module_Elements">
    <title>Module Elements</title>
    <para>All ITS Module elements belong to the <code>http://www.w3.org/2005/11/its</code> namespace. The ITS Module defines the following
      elements:</para>
    <para>
      <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link>,
      <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link>,
      <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, and
      <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link>.

    </para>
    <section>

      <title>Tree Structure</title>
      <para>Legend:</para>
      <simplelist type="vert">
        <member>1 = one</member>
        <member>+ = one or more</member>
        <member>? = zero or one</member>
        <member>* = zero, one or more</member>
      </simplelist>
      <programlisting format="linespecific">
<link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link>
|
+---<link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link> +
  </programlisting>

      <programlisting format="linespecific">
<link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link>
|
+---<link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> +
  </programlisting>

    </section>

    <section id="itsm_locQualityIssue">
    <title>locQualityIssue</title>
    <para>Localization Quality Issue - a standoff element to hold information about a single <link linkend="ITS20">[ITS]</link> defined Localization Quality Issue.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>This element is always empty.</member>
    </simplelist>
    
    <para><emphasis>Parents:</emphasis></para>
    
    <simplelist type="vert">
        <member>- <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link></member>
        
    </simplelist>
    

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="itsm_locQualityIssueType">
                <code>locQualityIssueType</code></link>, <glossterm>optional</glossterm>
        </member>
        <member>- <link linkend="itsm_locQualityIssueComment">
            <code>locQualityIssueComment</code></link>, <glossterm>optional</glossterm></member>
        
        <member>- <link linkend="itsm_locQualityIssueSeverity">
            <code>locQualityIssueSeverity</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="itsm_locQualityIssueProfileRef">
            <code>locQualityIssueProfileRef</code></link>, <glossterm>optional</glossterm></member>
        <member>- <link linkend="itsm_locQualityIssueEnabled">
            <code>locQualityIssueEnabled</code></link>, <glossterm>optional</glossterm></member>
        <!--   not allowed on ITS stand off elements <member>-<olink targetdoc="../../attributes/itsm/itsm_annotatorsRef.xml"
            targetptr="itsm_annotatorsRef">
            <code>annotatorsRef</code></olink>,
            <glossterm>optional</glossterm></member> -->
    </simplelist>

    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>At least one of the attributes <link linkend="itsm_locQualityIssueType">
                <code>locQualityIssueType</code></link> or <link linkend="itsm_locQualityIssueComment">
                    <code>locQualityIssueComment</code></link> <glossterm>must</glossterm> be set.</para>
        </listitem>
    </itemizedlist>
    <itemizedlist>
        <title>Processing Requirements</title>
        <listitem><para> For all <firstterm>Agents</firstterm>, when any of the attributes <link linkend="itsm_locQualityIssueType">
                    <code>locQualityIssueType</code></link>, <link linkend="itsm_locQualityIssueComment">
                    <code>locQualityIssueComment</code></link>, <link linkend="itsm_locQualityIssueSeverity">
                    <code>locQualityIssueSeverity</code></link>, <link linkend="itsm_locQualityIssueProfileRef">
                    <code>locQualityIssueProfileRef</code></link>, or <link linkend="itsm_locQualityIssueEnabled">
                    <code>locQualityIssueEnabled</code></link> are declared on the <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue</code></link> element,
                these apply to the respective marker delimited inline spans of <link linkend="lqiAnnotation">ITS
                    Localization Issue Annotation</link>, from which their enclosing <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link> element is referenced. </para></listitem>
    </itemizedlist>
</section>
    <section id="itsm_locQualityIssues">
    <title>locQualityIssues</title>
    <para>Localization Quality Issues - a standoff wrapper element to group any number of single issue elements related to the same span of source or target content.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>- One or more <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link>
            elements</member>
        
    </simplelist>
  
  <para><emphasis>Parents:</emphasis></para>
  
  <simplelist type="vert">
    <member>- <link linkend="unit"><code>&lt;unit&gt;</code></link></member>
    
  </simplelist>
  

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="itsm_id">
        <code>xml:id</code>
      </link>, <glossterm>required</glossterm>
    </member>
      <!--   not allowed on ITS stand off elements <member>-<olink targetdoc="../../attributes/itsm/itsm_annotatorsRef.xml"
        targetptr="itsm_annotatorsRef">
        <code>annotatorsRef</code></olink>,
        <glossterm>optional</glossterm></member> -->
        
    </simplelist>

  <itemizedlist>
    <title>Constraints</title>
    <listitem>
      <para>Each <link linkend="itsm_locQualityIssues">locQualityIssues</link> element
        <glossterm>should</glossterm> be referenced by at least one <link linkend="itsm_locQualityIssuesRef"><code>locQualityIssuesRef</code></link> attribute
        within the same <link linkend="unit"><code>&lt;unit&gt;</code></link> element as per Constraints
        for the <link linkend="itsm_locQualityIssuesRef"><code>locQualityIssuesRef</code></link>
        attribute.</para>
    </listitem>
  </itemizedlist>
  

  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para><firstterm>Modifiers</firstterm> detecting an orphaned <link linkend="itsm_locQualityIssues">locQualityIssues</link> element
        <glossterm>may</glossterm> delete that <link linkend="itsm_locQualityIssues">locQualityIssues</link> element.</para>
    </listitem>
  </itemizedlist>
    
    
</section>
    <section id="itsm_provenanceRecord">
    <title>provenanceRecord</title>
    <para>Provenance Record - a standoff element to hold information of a single <link linkend="ITS20">[ITS]</link> defined Provenance
        Record.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
        <member>This element is always empty.</member>
    </simplelist>
    
    <para><emphasis>Parents:</emphasis></para>
    
    <simplelist type="vert">
        <member>- <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link></member>
        
    </simplelist>
    

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
        <member>-	<link linkend="itsm_org"><code>its:org</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_orgRef"><code>its:orgRef</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_person"><code>its:person</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_personRef"><code>its:personRef</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_revOrg"><code>its:revOrg</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_revOrgRef"><code>its:revOrgRef</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_revPerson"><code>its:revPerson</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_revPersonRef"><code>its:revPersonRef</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_revTool"><code>its:revTool</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_revToolRef"><code>its:revToolRef</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_tool"><code>its:tool</code></link>,	<glossterm>optional</glossterm></member>
        <member>-	        <link linkend="itsm_toolRef"><code>its:toolRef</code></link>,	<glossterm>optional</glossterm></member>
        
    </simplelist>

    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>At least one of the following <glossterm>must</glossterm> be set:</para>
            <itemizedlist>
                <listitem><para>	<link linkend="itsm_org"><code>its:org</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_orgRef"><code>its:orgRef</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_person"><code>its:person</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_personRef"><code>its:personRef</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_revOrg"><code>its:revOrg</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_revOrgRef"><code>its:revOrgRef</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_revPerson"><code>its:revPerson</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_revPersonRef"><code>its:revPersonRef</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_revTool"><code>its:revTool</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_revToolRef"><code>its:revToolRef</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_tool"><code>its:tool</code></link>,	</para></listitem>
                <listitem><para>	        <link linkend="itsm_toolRef"><code>its:toolRef</code></link>,	</para></listitem>
                
            </itemizedlist>
        </listitem>
            
            
    </itemizedlist>
        
       <itemizedlist>
            
       <title>Processing Requirements</title>
                <listitem><para> For all <firstterm>Agents</firstterm>, when any of the attributes <link linkend="itsm_org"><code>its:org</code></link>, <link linkend="itsm_orgRef"><code>its:orgRef</code></link>, <link linkend="itsm_person"><code>its:person</code></link>, <link linkend="itsm_personRef"><code>its:personRef</code></link>, <link linkend="itsm_revOrg"><code>its:revOrg</code></link>, <link linkend="itsm_revOrgRef"><code>its:revOrgRef</code></link>, <link linkend="itsm_revPerson"><code>its:revPerson</code></link>, <link linkend="itsm_revPersonRef"><code>its:revPersonRef</code></link>, <link linkend="itsm_revTool"><code>its:revTool</code></link>, <link linkend="itsm_revToolRef"><code>its:revToolRef</code></link>, <link linkend="itsm_tool"><code>its:tool</code></link>, or <link linkend="itsm_toolRef"><code>its:toolRef</code></link> are declared on the <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>
                element, these apply to the respective structural elements' content or the marker
                delimited inline spans of <link linkend="provenanceAnnotation">ITS Provenance Annotation</link>, from which
                their enclosing <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link>
                element is referenced. </para></listitem>
    </itemizedlist>
</section>
    <section id="itsm_provenanceRecords">
    <title>provenanceRecords</title>
    <para>Provenance Records - a standoff wrapper element to group any number of single Provenance Record elements related to the same span of source or target content.</para>
    <para><emphasis>Contains:</emphasis></para>
    <simplelist type="vert">
      <member>- One or more <link linkend="itsm_provenanceRecord"><code>&lt;itsm:provenanceRecord&gt;</code></link>
      elements</member>
        
    </simplelist>
  
  <para><emphasis>Parents:</emphasis></para>
  
  <simplelist type="vert">
    <member>- <link linkend="unit"><code>&lt;unit&gt;</code></link></member>
    <member>- <link linkend="group"><code>&lt;group&gt;</code></link></member>
    <member>- <link linkend="file"><code>&lt;file&gt;</code></link></member>
  </simplelist>
  

    <para><emphasis>Attributes:</emphasis></para>
    <simplelist type="vert">
      <member>- <link linkend="itsm_id">
        <code>xml:id</code>
      </link>, <glossterm>required</glossterm>
    </member>
      <!--   not allowed on ITS stand off elements <member>-<olink targetdoc="../../attributes/itsm/itsm_annotatorsRef.xml"
        targetptr="itsm_annotatorsRef">
        <code>annotatorsRef</code></olink>,
        <glossterm>optional</glossterm></member> -->
        
    </simplelist>
<!--  This Constraint would be too strong as a MUST, it would invalidate XLIFF Documents with orphaned Provenance Records. But this can happen because the references can be removed by core only Modifiers. -->
<itemizedlist>
  <title>Constraints</title>
  <listitem>
    <para>Each <link linkend="itsm_provenanceRecords">provenanceRecords</link> element
          <glossterm>should</glossterm> be referenced by at least one <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute
        from the common parent element or one of the common parent's descendants as per Constraints
        for the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link>
        attribute.</para>
  </listitem>
</itemizedlist>
  <itemizedlist>
    <title>Processing Requirements</title>
    <listitem>
      <para><firstterm>Modifiers</firstterm> detecting an orphaned <link linkend="itsm_provenanceRecords">provenanceRecords</link> element
          <glossterm>may</glossterm> delete that <link linkend="itsm_provenanceRecords">provenanceRecords</link> element.</para>
    </listitem>
  </itemizedlist>
  
</section>
    <!-- 
            <xi:include href="../../elements/itsm/[element].xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
             -->
  </section>
  <section>
    <title>Module Attributes</title>
    <para>The <link linkend="ITS-module">ITS Module</link> uses the following attributes from the
        <code>http://www.w3.org/2005/11/its</code> namespace: <link linkend="itsm_allowedCharacters"><code>allowedCharacters</code></link>, <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link>, <link linkend="itsm_localeFilterList">
        <code>localeFilterList</code></link>, <link linkend="itsm_localeFilterType">
        <code>localeFilterType</code></link>, <link linkend="itsm_locQualityIssueComment">
        <code>locQualityIssueComment</code></link>, <link linkend="itsm_locQualityIssueEnabled">
        <code>locQualityIssueEnabled</code></link>, <link linkend="itsm_locQualityIssueProfileRef">
        <code>locQualityIssueProfileRef</code></link>, <link linkend="itsm_locQualityIssuesRef"><code>locQualityIssuesRef</code></link>, <link linkend="itsm_locQualityIssueSeverity">
        <code>locQualityIssueSeverity</code></link>, <link linkend="itsm_locQualityIssueType">
        <code>locQualityIssueType</code></link>, <link linkend="itsm_locQualityRatingProfileRef"><code>locQualityRatingProfileRef</code></link>,
        <link linkend="itsm_locQualityRatingScore"><code>locQualityRatingScore</code></link>, <link linkend="itsm_locQualityRatingScoreThreshold"><code>locQualityRatingScoreThreshold</code></link>, <link linkend="itsm_locQualityRatingVote"><code>locQualityRatingVote</code></link>, <link linkend="itsm_locQualityRatingVoteThreshold"><code>locQualityRatingVoteThreshold</code></link>, <!--  As per TC consensus no its:space will be defined, for gneral xml interoperability reasons
      <olink targetdoc="../../attributes/itsm/itsm_space.xml" targetptr="itsm_space"><code>space</code></olink>,  -->
      <link linkend="itsm_mtConfidence"><code>mtConfidence</code></link>, <link linkend="itsm_org"><code>org</code></link>, <link linkend="itsm_orgRef"><code>orgRef</code></link>, <link linkend="itsm_person"><code>person</code></link>, <link linkend="itsm_personRef"><code>personRef</code></link>, <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link>, <link linkend="itsm_revOrg"><code>revOrg</code></link>, <link linkend="itsm_revOrgRef"><code>revOrgRef</code></link>, <link linkend="itsm_revPerson"><code>revPerson</code></link>, <link linkend="itsm_revPersonRef"><code>revPersonRef</code></link>, <link linkend="itsm_revTool"><code>revTool</code></link>, <link linkend="itsm_revToolRef"><code>revToolRef</code></link>, <link linkend="itsm_taClassRef"><code>taClassRef</code></link>, <link linkend="itsm_taConfidence"><code>taConfidence</code></link>, <link linkend="itsm_taIdent"><code>taIdent</code></link>, <link linkend="itsm_taIdentRef"><code>taIdentRef</code></link>, <link linkend="itsm_taSource"><code>taSource</code></link>, <link linkend="itsm_termConfidence"><code>termConfidence</code></link>,
      <link linkend="itsm_tool"><code>tool</code></link>,
      <link linkend="itsm_toolRef"><code>toolRef</code></link>, and <link linkend="itsm_version"><code>version</code></link> 
    </para>
    <para>The attributes defined in the <link linkend="ITS-module">ITS Module</link> that belong to the <code>urn:oasis:names:tc:xliff:itsm:2.1</code> namespace are:

      <link linkend="itsm_domains"><code>domains</code></link> and 

     <link linkend="itsm_lang"><code>lang</code></link>.
      
    </para>
      <para>
        The <link linkend="ITS-module">ITS Module</link> also uses the <link linkend="itsm_id"><code>xml:id</code></link> attribute.  
      </para>
    <!--  Includes of the ITSM attributes from all three namespaces  -->

    <section id="itsm_allowedCharacters">
    <title>Allowed Characters</title>
    
    <para>AllowedCharacters - the <code>allowedCharacters</code> attribute is the
            <link linkend="ITS20">[ITS]</link> defined
            <code>allowedCharacters</code> attribute. See the <ulink url="https://www.w3.org/TR/its20/#allowedchars-local">allowedCharacters</ulink>
        definition in the <link linkend="ITS20">[ITS]</link>
        specification for details on the purpose of the attribute and permitted values.</para>
    <para><emphasis>Value description:</emphasis> See the <ulink url="https://www.w3.org/TR/its20/#allowedchars-local">allowedCharacters</ulink>
        definition in the <link linkend="ITS20">[ITS]</link>
        specification.</para>
    <para><emphasis>Default value:</emphasis> none.</para>
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="allowedCharactersAnnotation">ITS Allowed Characters Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    
</section>
    <section id="itsm_annotatorsRef">
    <title>annotatorsRef</title>
    
    <para>Annotators Reference - the <code>annotatorsRef</code> attribute holds provenance
        information about tools that produced <link linkend="ITS20">[ITS]</link> metadata. See <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/2013/REC-its20-20131029/#its-tool-annotation                 ">Tools Annotation</ulink> mechanism.</para>
    
    
    <para><emphasis>Value description:</emphasis> Text. </para>
    
    <para><emphasis>Default value:</emphasis>: default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>) or any of the elements defined in the
                    <link linkend="ITS-module">ITS
                    Module</link>:</para>
            <para>The value of the <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or
                <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            
            
            <para>The value of the <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link> attribute of the innermost
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, or <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, element, in which the marker
                in question is located (which can be undefined). </para>
            
        </listitem>
        <listitem>
            <para> When used in top level module elements (<link linkend="match"><code>&lt;mtc:match&gt;</code></link>) 
              <!--   not allowed on ITS stand off elements  <olink
                    targetdoc="../../elements/itsm/itsm_locQualityIssues.xml"
                    targetptr="itsm_locQualityIssues"
                  ><code>&lt;its:locQualityIssues></code></olink>,
                CTR demoted
                <olink
                    targetdoc="../../elements/modules/revisions.xml" targetptr="revisions"
                    ><code>&lt;ctr:revisions></code></olink>,   not allowed on ITS stand off elements[need to add
                its:provenanceRecords] -->:</para>
            <para>The value is undefined.</para>
            
        </listitem>
        <!--  CTR demoted 
        <listitem>
            <para>When used in
                
                  not allowed on ITS stand off elements<olink
                targetdoc="../../elements/itsm/itsm_locQualityIssue.xml" targetptr="itsm_locQualityIssue"><code>&lt;its:locQualityIssue></code></olink>,
                <olink
                        targetdoc="../../elements/modules/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink>
                .</para>
            <para>The value of the <link linkend="itsm_annotatorsRef"
                ><code>annotatorsRef</code></link> attribute of its parent element
                (which can be undefined).</para>
                </listitem> -->
        
        
    </itemizedlist>
    
    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>All Constraints that follow from <link linkend="ITS20">[ITS]</link> <ulink url="https://www.w3.org/TR/its20/#its-tool-annotation">Tools Annotation</ulink>.</para>
        </listitem> 
        <!--   
        <listitem><para>Values of the <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link> <glossterm>must</glossterm> consist of triples of the following parts in the exact order:</para>
        <orderedlist>
            <listitem><para>ITS Data category identifier, see the table below for admissible values. No other values
                            <glossterm>must</glossterm> be used.</para></listitem>
            <listitem><para>character | VERTICAL LINE (U+007C) as the separator</para></listitem>
            <listitem><para>IRI</para></listitem>
        </orderedlist>
        </listitem>
                <listitem><para>The text string <glossterm>must</glossterm> be composed from space separated triples or
                comprise exactly one triple.</para></listitem>
        <listitem><para>Each ITS data category identifier <glossterm>must not</glossterm> be used more than once.</para></listitem>
        <listitem><para>The space separated triples <glossterm>must</glossterm> be ordered alphabetically as per the
                ITS Data category identifier.</para></listitem> -->
    </itemizedlist>    
    <!--           
    <table id="categoryIdentifiers">
        <title>ITS Data category identifiers</title>
        <tgroup cols="3">
            <colspec colname="number" align="center" colsep="1" rowsep="1"/>
          
            <colspec colname="identifier" align="center" colsep="1" rowsep="1"/>
            <colspec colname="category" align="center" rowsep="1" colsep="1"/>
            <tbody>
                <row>
                    <entry>1.</entry>
                    <entry>allowed-characters</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#allowedchars">Allowed Characters</ulink></entry></row>
                
                <row>
                    <entry>2.</entry>
                    <entry>directionality</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#directionality">Directionality</ulink></entry></row>
                <row>
                    <entry>3.</entry>
                    <entry>domain</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#domain">Domain</ulink></entry>
                </row>
                <row>
                    <entry>4.</entry>
                    <entry>elements-within-text</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#elements-within-text">Elements Within Text</ulink></entry>
                </row>
                <row>
                    <entry>5.</entry>
                    <entry>external-resource</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#externalresource">External Resource</ulink></entry>
                </row>
                <row>
                    <entry>6.</entry>
                    <entry>id-value</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#idvalue">ID Value</ulink></entry>
                </row>
                <row>
                    <entry>7.</entry>
                    <entry>language-information</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#language-information">Language Information</ulink></entry>
                </row>
                <row>
                    <entry>8.</entry>
                    <entry>locale-filter</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#LocaleFilter">Locale Filter</ulink></entry>
                </row>
                <row>
                    <entry>9.</entry>
                    <entry>localization-note</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#locNote-datacat">Localization Note</ulink></entry>
                </row>
                <row>
                    <entry>10.</entry>
                    <entry>localization-quality-issue</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#lqissue">Localization Quality Issue</ulink></entry>
                </row>
                <row>
                    <entry>11.</entry>
                    <entry>localization-quality-rating</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#lqrating">Localization Quality Rating</ulink></entry>
                </row>
                <row>
                    <entry>12.</entry>
                    <entry>mt-confidence</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#mtconfidence">MT Confidence</ulink></entry>
                </row>
                <row>
                    <entry>13.</entry>
                    <entry>preserve-space</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#preservespace">Preserve Space</ulink></entry>
                </row>
                <row>
                    <entry>14.</entry>
                    <entry>provenance</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#provenance">Provenance</ulink></entry>
                </row>
                <row>
                    <entry>15.</entry>
                    <entry>storage-size</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#storagesize">Storage Size</ulink></entry>
                </row>
                <row>
                    <entry>16.</entry>
                    <entry>target-pointer</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#target-pointer">Target Pointer</ulink></entry>
                </row>
                <row>
                    <entry>17.</entry>
                    <entry>terminology</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#terminology">Terminology</ulink></entry>
                </row>
                <row>
                    <entry>18.</entry>
                    <entry>text-analysis</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#textanalysis">Text Analysis</ulink></entry>
                </row>
                                <row>
                                    <entry>19.</entry>
                                    <entry>translate</entry>
                    <entry>for <ulink url="http://www.w3.org/TR/its20/#trans-datacat">Translate</ulink></entry>
                </row>
            </tbody>
        </tgroup></table> -->
        
    
    
    <note><para>The IRI part of the value string is used as the annotator identifier. The semantics of how the
            IRI identifies the ITS producing tool is not prescribed. Possible mechanisms are for
            instance: to encode information directly in the IRI, as parameters or similar; to
            reference an external resource that provides such information, an XML file, an RDF
            declaration and so on; or to reference another part of the document that provides such
            information.</para></note>
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>
        <link linkend="group"><code>&lt;group&gt;</code></link>
        <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="sm"><code>&lt;sm&gt;</code></link>,
            <link linkend="match"><code>&lt;mtc:match&gt;</code></link>,
        <!--   not allowed on ITS stand off elements<olink
            targetdoc="../../elements/itsm/itsm_locQualityIssues.xml"
            targetptr="itsm_locQualityIssues"><code>&lt;its:locQualityIssues></code></olink>,
            <olink targetdoc="../../elements/itsm/itsm_locQualityIssue.xml"
            targetptr="itsm_locQualityIssue"><code>&lt;its:locQualityIssue></code></olink>, --> <link linkend="revisions"><code>&lt;ctr:revisions&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link> <!--   not allowed on ITS stand off elements[need to add its:provenanceRecords and
        its:provenanceRecord].  -->.</para>
    
    <itemizedlist>
        <title>Processing Requirements</title>
        <listitem>
            <para>All Processing Requirements that follow from <link linkend="ITS20">[ITS]</link> <ulink url="https://www.w3.org/TR/its20/#its-tool-annotation">Tools Annotation</ulink>.</para>
        </listitem> 
        <!--   <listitem>
            <para>When resolving any actual local value of the <link linkend="itsm_annotatorsRef"
                        ><code>annotatorsRef</code></link> attribute,
                    <firstterm>Modifiers</firstterm> and <firstterm>Enrichers</firstterm>
                <glossterm>must</glossterm> combine the actual set value with all default values
                inherited from higher levels as follows:</para>
            <para>On any given node, the information provided by this mechanism is a space-separated
                list of the accumulated references found in the <link linkend="itsm_annotatorsRef"
                        ><code>annotatorsRef</code></link> attributes declared in the enclosing
                elements and sorted by <link linkend="categoryIdentifiers">data category
                    identifiers</link>. For each data category, the IRI part is the one of the
                inner-most declaration.</para>
        </listitem> -->
    </itemizedlist>
    <para>See the <link linkend="toolsAnnotation">ITS Tools Annotation</link> for the normative usage description of this attribute inline.</para>
    
</section>
    <section id="itsm_domains">
    <title>itsm:domains</title>
    
    <para>Domains - the <code>itsm:domains</code> attribute expresses the <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/its20/#domain">Domain</ulink> data category.</para>
    
    
    <para><emphasis>Value description:</emphasis>
        The value is a text string, however commas if present separate distinct domain values within the string.</para>
    
    <para><emphasis>Default value:</emphasis>: default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_domains"><code>domains</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or
                <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            
            
            <para>The value of the <link linkend="itsm_domains"><code>domains</code></link> attribute of the innermost
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, or <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, element, in which the marker
                in question is located (which can be undefined). </para>
            
        </listitem>
        <listitem>
            <para> When used in the <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element:</para>
            <para>The value is undefined.</para>
        </listitem>
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>
        <link linkend="group"><code>&lt;group&gt;</code></link>
        <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="sm"><code>&lt;sm&gt;</code></link>,
        and <link linkend="match"><code>&lt;mtc:match&gt;</code></link>.</para>
    
    <para>See the <link linkend="domainsAnnotation">ITS Domain Annotation</link> for the normative usage description of this attribute inline.</para>
    <warning>
        <para>This attribute belongs to the <code>urn:oasis:names:tc:xliff:itsm:2.1</code>
            namespace that is being prefixed with <code>itsm:</code> throughout this
            specification, unlike the original W3C ITS namespace
            <code>http://www.w3.org/2005/11/its</code> that is being prefixed with
            <code>its:</code>.</para>
    </warning>
    
</section>

<!--  attribute dropped as feature available through res: module    <xi:include href="../../attributes/itsm/itsm_externalResourceRef.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> -->

    <section id="itsm_id">
  <title>xml:id</title>

  <para>Identifier - the <code>id</code> attribute from the <code>http://www.w3.org/XML/1998/</code>
    namespace is used to identify a <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link> or <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element.</para>

  <para><emphasis>Value description:</emphasis> xs:ID</para>

  <para><emphasis>Default value:</emphasis> undefined</para>

  <para><emphasis>Used in:</emphasis><link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link> and 
    <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link>.</para>
  <warning>
    <para>Since the ITS Module reuses the W3C namespace <code>http://www.w3.org/2005/11/its</code>
      it cannot use <code>xs:NMTOKEN</code> identifiers as the <firstterm>XLIFF Core</firstterm> or
      other <firstterm>Modules</firstterm>. Implementers need to be aware that <code>xs:ID</code>
      has to be globally unique.</para>
  </warning>
  
  
  <!-- <itemizedlist>
  
    <title>Constraints</title>
  <listitem>
    <para>Any value of this <link linkend="itsm_id"><code>id</code></link> attribute
          <glossterm>must</glossterm> be unique either among all <olink
          targetdoc="../../elements/itsm/itsm_locQualityIssues.xml"
          targetptr="itsm_locQualityIssues"><code>&lt;locQualityIssues></code></olink> and
      <olink
        targetdoc="../../elements/itsm/itsm_provenanceRecords.xml" targetptr="itsm_provenanceRecords"
        ><code>&lt;provenanceRecords></code></olink> elements within the given enclosing <olink
          targetdoc="../../elements/structural/unit.xml" targetptr="unit"
          ><code>&lt;unit></code></olink> element if the ITS Module elements, on which the
        attributes are set are children of a <olink targetdoc="../../elements/structural/unit.xml"
          targetptr="unit"><code>&lt;unit></code></olink> element, 
      within the enclosing <olink
        targetdoc="../../elements/structural/group.xml" targetptr="group"
        ><code>&lt;group></code></olink> element, in case of <olink
          targetdoc="../../elements/itsm/itsm_provenanceRecords.xml" targetptr="itsm_provenanceRecords"
          ><code>&lt;provenanceRecords></code></olink> elements that are
      children of a <olink targetdoc="../../elements/structural/group.xml" targetptr="group"
        ><code>&lt;group></code></olink> element, or within the enclosing <olink
          targetdoc="../../elements/structural/file.xml" targetptr="file"
            ><code>&lt;file></code></olink> element, in case of <olink
              targetdoc="../../elements/itsm/itsm_provenanceRecords.xml" targetptr="itsm_provenanceRecords"
              ><code>&lt;provenanceRecords></code></olink> elements that are
        children of a <olink targetdoc="../../elements/structural/file.xml" targetptr="file"
            ><code>&lt;file></code></olink> element.</para>
  </listitem>
</itemizedlist> -->  


</section>

    <section id="itsm_lang">
    <title>itsm:lang</title>
    
    <para>Inline language information - the <code>itsm:lang</code> attribute specifies <emphasis>an
            inline foreign language span</emphasis> within the source or target content of the
        otherwise bilingual <firstterm>XLIFF Document</firstterm>. For example:
        <code>itsm:lang="fr-FR"</code> indicates the French language as spoken in France.</para>
    <note>
            <para>This is NEVER used on structural elements that have their Language Information set
            by the <firstterm>XLIFF Core</firstterm>
            <link linkend="srcLang"><code>xlf:srcLang</code></link>
            and <link linkend="trgLang"><code>xlf:trgLang</code></link> attributes. It is not advisable to use this
            attribute on structural elements even outside of XLIFF where the Language Information is
            typically given by the <code>xml:lang</code> attribute.</para>
        </note>
    
    <para><emphasis>Value description:</emphasis> A language code as described in <link linkend="bcp47">[BCP 47]</link>.</para>
    
    <para><emphasis>Default value:</emphasis></para>
    
            
            <para>The value of the <link linkend="xml_lang"><code>xml:lang</code></link> or <code>itsm:lang</code> attribute set or inherited
        on the parent element of the <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>
        element in question.</para>                
        
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    <para>See the <link linkend="langAnnotation">ITS Language Information Annotation</link> for the normative usage description of this
        attribute.</para>
    
  <para>
      <note>
          <para>
                <code>itsm:lang</code> is an attribute analogical to <link linkend="xml_lang"><code>xml:lang</code></link>.
                Unlike <link linkend="xml_lang"><code>xml:lang</code></link>, it is allowed on XLIFF inline <link linkend="annotations">Annotations</link>.
                The normative behavior of this attribute results from the <firstterm>XLIFF
                    Core</firstterm> behavior as further specified by the <link linkend="langAnnotation">ITS
                    Language Information Annotation</link>.</para>
      </note>
      <warning>
          <para>This attribute belongs to the <code>urn:oasis:names:tc:xliff:itsm:2.1</code>
                namespace that is being prefixed with <code>itsm:</code> throughout this
                specification, unlike the original W3C ITS namespace
                    <code>http://www.w3.org/2005/11/its</code> that is being prefixed with
                    <code>its:</code>.</para>
      </warning>
  </para>
</section>
    <section id="itsm_localeFilterList">
    <title>localeFilterList</title>
    
    <para>LocaleFilterList - the <code>localeFilterList</code> attribute is the
            <link linkend="ITS20">[ITS]</link> defined
            <code>localeFilterList</code> attribute. See the <ulink url="https://www.w3.org/TR/its20/#localefilter-local">localeFilterList</ulink>
        definition in the <link linkend="ITS20">[ITS]</link>
        specification for details on the purpose of the attribute and permitted values.</para>
    <para><emphasis>Value description:</emphasis> See the <ulink url="https://www.w3.org/TR/its20/#localefilter-local">localeFilterList</ulink>
        definition in the <link linkend="ITS20">[ITS]</link>
        specification.</para>
    <para><emphasis>Default value:</emphasis> "*".</para>
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="localeFilterAnnotation">ITS Locale Filter  Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    
</section>
    <section id="itsm_localeFilterType">
    <title>localeFilterType</title>
    
    <para>LocaleFilterType - the <code>localeFilterType</code> attribute is the
            <link linkend="ITS20">[ITS]</link> defined
            <code>localeFilterType</code> attribute. See the <ulink url="https://www.w3.org/TR/its20/#localefilter-local">localeFilterType</ulink>
        definition in the <link linkend="ITS20">[ITS]</link>
        specification for details on the purpose of the attribute and permitted values.</para>
    <para><emphasis>Value description:</emphasis> See the <ulink url="https://www.w3.org/TR/its20/#localefilter-local">localeFilterType</ulink>
        definition in the <link linkend="ITS20">[ITS]</link>
        specification.</para>
    <para><emphasis>Default value:</emphasis> "include".</para>
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="localeFilterAnnotation">ITS Locale Filter Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    
</section>
    <section id="itsm_locQualityIssueComment">
    <title>locQualityIssueComment</title>
    
    <para>Localization Quality Issue Comment - the <code>locQualityIssueComment</code> attribute
        is the <link linkend="ITS20">[ITS]</link>
        defined <code>locQualityIssueComment</code> attribute.</para>
    <para> This attribute is intended for human readable comments pertaining to or guidance how to
        address a specific Localization Quality Issue.</para>
    
    
    <para><emphasis>Value description:</emphasis> text string. </para>
    
    <para><emphasis>Default value:</emphasis>: undefined</para>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, or in <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqiAnnotation">ITS Localization Issue Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link> for standoff
        usage Constraints.</para>
    
</section>
    <section id="itsm_locQualityIssueEnabled">
    <title>locQualityIssueEnabled</title>
    
    <para>Localization Quality Issue Enabled - the <code>locQualityIssueEnabled</code> attribute
        is the <link linkend="ITS20">[ITS]</link>
        defined <code>locQualityIssueEnabled</code> attribute. </para>
    <para> This is a flag to enable or disable a particular issue.</para>
    
    <para><emphasis>Value description:</emphasis>
        <code>yes</code> when issue enabled , <code>no</code> otherwise. </para>
        
    <para><emphasis>Default value:</emphasis> <code>yes</code>.</para>
    
    <note><para>The attribute <link linkend="itsm_locQualityIssueEnabled">locQualityIssueEnabled</link> set
            to <code>no</code> can be used for instance to disable false positives that were
            produced by an automated QA tool.</para> </note>
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, or in <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqiAnnotation">ITS Localization Issue Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description. See <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link> for standoff
        usage Constraints.</para>
</section>
    <section id="itsm_locQualityIssueProfileRef">
    <title>locQualityIssueProfileRef</title>
    
    <para>Localization Quality Issue Quality Model Profile Reference - the <code>locQualityIssueProfileRef</code> attribute
        is the <link linkend="ITS20">[ITS]</link>
        defined <code>locQualityIssueProfileRef</code> attribute. </para>
    <para> This attribute references a quality model that has been used to identify and evaluate a particular issue.</para>
    
    <para><emphasis>Value description:</emphasis> IRI.</para>
        
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <note><para>It is strongly advised that the IRI value of the 
        <link linkend="itsm_locQualityIssueProfileRef">locQualityIssueProfileRef</link> attribute is
            resolvable, so that human evaluators can find out about the referenced Quality Model.</para> </note>
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, or in <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqiAnnotation">ITS Localization Issue Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link> for standoff
        usage Constraints.</para>
</section>
    <section id="itsm_locQualityIssuesRef">
    <title>locQualityIssuesRef</title>
    
    <para>Localization Quality Standoff Reference - the <code>locQualityIssuesRef</code> attribute
        is the <link linkend="ITS20">[ITS]</link>
        defined <code>locQualityIssuesRef</code> attribute.</para>
    <para>This attribute references the collection of Localization Issues that pertain to the
        content span from where the reference is declared.</para>
    
    <para><emphasis>Value description:</emphasis> IRI</para>
        
    <para><emphasis>Default value:</emphasis> undefined.</para>
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqiAnnotation">ITS Localization Issue Annotation</link> for the normative usage description of this
        attribute. </para>
    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>The IRI value of the <link linkend="itsm_locQualityIssuesRef">locQualityIssuesRef</link> attribute <glossterm>must</glossterm> be an
                    IRI referencing a <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link>
                element within the same <link linkend="unit"><code>&lt;unit&gt;</code></link>.</para>
        </listitem>
        <listitem>
            <para>Multiple <link linkend="itsm_locQualityIssuesRef">locQualityIssuesRef</link>
                attributes <glossterm>may</glossterm> reference the same <link linkend="itsm_locQualityIssues"><code>&lt;locQualityIssues&gt;</code></link>
                element.</para>
        </listitem>
    </itemizedlist>
    <itemizedlist>
        <title>Processing Requirements</title>
        <listitem>
            <para><firstterm>Modifiers</firstterm> removing the last <link linkend="itsm_locQualityIssuesRef"><code>locQualityIssuesRef</code></link>
                attribute referencing a <link linkend="itsm_locQualityIssues"><code>locQualityIssues</code></link> element <glossterm>must</glossterm>
                delete that <link linkend="itsm_provenanceRecords"><code>locQualityIssues</code></link> element.</para>
        </listitem>
        
    </itemizedlist>
</section>
    <section id="itsm_locQualityIssueSeverity">
    <title>locQualityIssueSeverity</title>
    
    <para>Localization Quality Issue Severity - the <code>locQualityIssueSeverity</code> attribute
        is the <link linkend="ITS20">[ITS]</link>
        defined <code>locQualityIssueSeverity</code> attribute. </para>
    <para> This attribute provides the severity score for a particular issue, the higher the number
        the higher the severity. Tools are expected to interpret this score within their own severity
        rating system.</para>
    
    <para><emphasis>Value description:</emphasis> a decimal number between 0.0 and 100.0.</para>
        
    <para><emphasis>Default value:</emphasis> undefined</para>
    
    <warning><para>The <link linkend="itsm_locQualityIssueSeverity">locQualityIssueSeverity</link> attribute is
        intended to be used in concert with the
        <link linkend="itsm_locQualityIssueProfileRef"><code>locQualityIssueProfileRef</code></link> attribute
        that is to provide information on the applicable Quality Model. Without providng quality model
            information, the severity score between 0 and 100 is very likely to be useless and not
            interoperable.</para> </warning>
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, or in <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqiAnnotation">ITS Localization Quality Issue Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link> for standoff
        usage Constraints.</para>
</section>
    <section id="itsm_locQualityIssueType">
    <title>locQualityIssueType</title>
    
    <para>Localization Quality Issue Type - the <code>locQualityIssueType</code> attribute is the
            <link linkend="ITS20">[ITS]</link> defined
            <code>locQualityIssueType</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> a text string, exactly one value from the
        following list:</para>
    <para> <simplelist type="vert">
    
        <member><code>terminology</code></member>
        <member><code>mistranslation</code></member>
        <member><code>omission</code></member>
        <member><code>untranslated</code></member>
        <member><code>addition</code></member>
        <member><code>duplication</code></member>
        <member><code>inconsistency</code></member>
        <member><code>grammar</code></member>
        <member><code>legal</code></member>
        <member><code>register</code></member>
        <member><code>locale-specific-content</code></member>
        <member><code>locale-violation</code></member>
        <member><code>style</code></member>
        <member><code>characters</code></member>
        <member><code>misspelling</code></member>
        <member><code>typographical</code></member>
        <member><code>formatting</code></member>
        <member><code>inconsistent-entities</code></member>
        <member><code>numbers</code></member>
        <member><code>markup</code></member>
        <member><code>pattern-problem</code></member>
        <member><code>whitespace</code></member>
        <member><code>internationalization</code></member>
        <member><code>length</code></member>
        <member><code>non-conformance</code></member>
        <member><code>uncategorized</code></member>
        <member><code>other</code></member>
        
        
        
        
    </simplelist></para>
    <para>For normative usage description and informative guidance for the above values, see <link linkend="ITS20">[ITS]</link>
        <ulink url="http://www.w3.org/TR/its20/#lqissue-typevalues">http://www.w3.org/TR/its20/#lqissue-typevalues</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis>: undefined</para>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link> and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, or in <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqiAnnotation">ITS Localization Issue Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="itsm_locQualityIssue"><code>&lt;locQualityIssue&gt;</code></link> for standoff
        usage Constraints.</para>
    
</section>


    <section id="itsm_locQualityRatingProfileRef">
    <title>locQualityRatingProfileRef</title>
    
    <para>Localization Quality Rating Quality Model Profile Reference - the
            <code>locQualityRatingProfileRef</code> attribute is the <link linkend="ITS20">[ITS]</link> defined
            <code>locQualityRatingProfileRef</code> attribute. </para>
    <para> This attribute references a quality assessment model that has been used for the rating
        (either scoring or voting).</para>
    
    <para><emphasis>Value description:</emphasis> IRI.</para>
        
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_locQualityRatingProfileRef"><code>locQualityRatingProfileRef</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or
                <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            
            
            <para>The value of the <link linkend="itsm_locQualityRatingProfileRef"><code>locQualityRatingProfileRef</code></link> attribute of the innermost
                    <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, or <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, element, in which the marker
                in question is located (which can be undefined). </para>
            
        </listitem>
        <listitem>
            <para> When used in the <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element:</para>
            <para>The value is undefined.</para>
        </listitem>
        
        
        
    </itemizedlist>
    
    <note><para>It is strongly advised that the IRI value of the <link linkend="itsm_locQualityRatingProfileRef">locQualityRatingProfileRef</link> attribute
            is resolvable, so that human evaluators can find out about the referenced Quality Assessment
            Model.</para> </note>
    
    
    <para><emphasis>Used in:</emphasis>
        
        <link linkend="file"><code>&lt;file&gt;</code></link>
        <link linkend="group"><code>&lt;group&gt;</code></link>
        <link linkend="unit"><code>&lt;unit&gt;</code></link>,
        
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>,
        and the <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element..</para>
    
    
    <para>See the <link linkend="lqrAnnotation">ITS Localization Rating Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="Localization_Quality_Rating_Structural"><code>Localization Quality Rating on
                Structural Elements</code></link> for advanced Constraints when used on strcutural
        elements (<link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, and <link linkend="unit"><code>&lt;unit&gt;</code></link>).</para>
    <para>See <link linkend="Localization_Quality_Rating_Matches"><code>Localization Quality Rating in
            Translation Candidates Module</code></link> for advanced Constraints when used within the
        <link linkend="candidates">Translation Candidates Module</link>.</para>
</section>
    <section id="itsm_locQualityRatingScore">
    <title>locQualityRatingScore</title>
    
    <para>Localization Quality Rating Score - the <code>locQualityRatingScore</code> attribute
        is the <link linkend="ITS20">[ITS]</link>
        defined <code>locQualityRatingScore</code> attribute. </para>
    <para> This attribute provides the quality rating score pertaining to a structural or inline portion of target text, the higher the number
        the better the quality rating. Tools are expected to interpret this score within their own quality rating system.</para>
    
    <para><emphasis>Value description:</emphasis> a decimal number between 0.0 and 100.0.</para>
        
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_locQualityRatingScore"><code>locQualityRatingScore</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            <para>The value of the <link linkend="itsm_locQualityRatingScore"><code>locQualityRatingScore</code></link> attribute of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, or <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, in which the marker in
                question is located (which can be undefined).</para>
            <para>In the special case that the parent element of the marker is a <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, the value is inherited from
                the <link linkend="matchQuality"><code>mtc:matchQuality</code></link> attribute of the
                parent <link linkend="match"><code>&lt;mtc:match&gt;</code></link> (which can be undefined).</para>
        </listitem>
        
        
        
    </itemizedlist>
    
    <warning><para>The <link linkend="itsm_locQualityRatingScore">locQualityRatingScore</link> attribute is
            intended to be used in concert with the <link linkend="itsm_locQualityRatingProfileRef">locQualityRatingProfileRef</link> attribute that is to provide
        information on the applicable Quality Assessment Model and with the <link linkend="itsm_locQualityRatingScoreThreshold">locQualityRatingScoreThreshold</link> attribute. Without providng quality assessment model information and/or an acceptance threshold,
            the score between 0 and 100 is very likely to be useless and not interoperable.</para> </warning>
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    <para>See the <link linkend="lqrAnnotation">ITS Localization Quality Rating Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="Localization_Quality_Rating_Structural"><code>Localization Quality Rating on
                Structural Elements</code></link> for advanced Constraints when used on structural
        elements (<link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, and <link linkend="unit"><code>&lt;unit&gt;</code></link>).</para>
    <para>See <link linkend="Localization_Quality_Rating_Matches"><code>Localization Quality Rating in
                Translation Candidates Module</code></link> for advanced Constraints when used
        within the <link linkend="candidates">Translation Candidates Module</link>.</para>


</section>
    <section id="itsm_locQualityRatingScoreThreshold">
    <title>locQualityRatingScoreThreshold</title>
    
    <para>Localization Quality Rating Score Threshold - the <code>locQualityRatingScoreThreshold</code> attribute
        is the <link linkend="ITS20">[ITS]</link>
        defined <code>locQualityRatingScoreThreshold</code> attribute. </para>
    <para>This attribute provides the quality rating score threshold pertaining to any
        <link linkend="itsm_locQualityRatingScore"><code>locQualityRatingScore</code></link> 
        attribute in scope. Scores under the given threshold indicte a quality check fail.</para>
    
    <para><emphasis>Value description:</emphasis> a decimal number between 0.0 and 100.0.</para>
        
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_locQualityRatingScoreThreshold"><code>locQualityRatingScoreThreshold</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or
                <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            
            
            <para>The value of the <link linkend="itsm_locQualityRatingScoreThreshold"><code>locQualityRatingScoreThreshold</code></link> attribute of the innermost
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, or <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, element, in which the marker
                in question is located (which can be undefined). </para>
            
        </listitem>
        <listitem>
            <para> When used in the <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element:</para>
            <para>The value is undefined.</para>
        </listitem>
        
        
        
    </itemizedlist>
    
    <warning><para>The <link linkend="itsm_locQualityRatingScoreThreshold">locQualityRatingScoreThreshold</link>
            attribute is intended to be used in concert with the <link linkend="itsm_locQualityRatingProfileRef">locQualityRatingProfileRef</link>
            attribute that is to provide information on the applicable Quality Assessment Model.
            Without providing quality assessment model information behind the acceptance threshold,
            the score between 0 and 100 is very likely to be useless and not interoperable.</para> </warning>
    
    
    <para><emphasis>Used in:</emphasis>
        
        <link linkend="file"><code>&lt;file&gt;</code></link>,
        <link linkend="group"><code>&lt;group&gt;</code></link>,
        <link linkend="unit"><code>&lt;unit&gt;</code></link>,
        
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqrAnnotation">ITS Localization Quality Rating Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="Localization_Quality_Rating_Structural">Localization Quality Rating on
                Structural Elements</link> for advanced Constraints when used on strcutural
        elements (<link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, and <link linkend="unit"><code>&lt;unit&gt;</code></link>).</para>
    <para>See <link linkend="Localization_Quality_Rating_Matches">Localization Quality Rating in
                Translation Candidates Module</link> for advanced Constraints when used
        within the <link linkend="candidates">Translation Candidates Module</link>.</para>
    


</section>
    <section id="itsm_locQualityRatingVote">
    <title>locQualityRatingVote</title>
    
    <para>Localization Quality Rating Vote - the <code>locQualityRatingVote</code> attribute is the
            <link linkend="ITS20">[ITS]</link> defined
            <code>locQualityRatingVote</code> attribute. </para>
    <para> This attribute provides the quality rating voting (crowd assessment) results pertaining
        to a structural or inline portion of target text, the higher the number the more positive
        votes or the better margin of positive votes over negative votes. Tools are expected to
        interpret this value within their own quality rating system.</para>
    
    <para><emphasis>Value description:</emphasis> an Integer.</para>
        
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_locQualityRatingVote"><code>locQualityRatingVote</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or
                <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            
            
            <para>The value of the <link linkend="itsm_locQualityRatingVote"><code>locQualityRatingVote</code></link> attribute of the innermost
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, or <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, element, in which the marker
                in question is located (which can be undefined). </para>
            
        </listitem>
        <listitem>
            <para> When used in the <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element:</para>
            <para>The value is undefined.</para>
        </listitem>
        
        
        
    </itemizedlist>
    
    <warning><para>The <link linkend="itsm_locQualityRatingVote">locQualityRatingVote</link> attribute is
            intended to be used in concert with the <link linkend="itsm_locQualityRatingScoreThreshold">locQualityRatingScoreThreshold</link> attribute, that encodes the vote's success
            or failure criteria and ideally also the <link linkend="itsm_locQualityRatingProfileRef">locQualityRatingProfileRef</link>
            attribute that is to provide information on the applicable Quality Assessment Model.
            Without providng a success threshold or quality assessment model information, the
            integer encoding the voting (crowd assessment) results is very likely to be useless and
            not interoperable.</para> </warning>
    
    
    <para><emphasis>Used in:</emphasis>
        
        <link linkend="file"><code>&lt;file&gt;</code></link>,
        <link linkend="group"><code>&lt;group&gt;</code></link>,
        <link linkend="unit"><code>&lt;unit&gt;</code></link>,
        
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, and 
        <link linkend="match"><code>&lt;mtc:match&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqrAnnotation">ITS Localization Quality Rating Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="Localization_Quality_Rating_Structural"><code>Localization Quality Rating on
                Structural Elements</code></link> for advanced Constraints when used on strcutural
        elements (<link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, and <link linkend="unit"><code>&lt;unit&gt;</code></link>).</para>
    <para>See <link linkend="Localization_Quality_Rating_Matches"><code>Localization Quality Rating in
                Translation Candidates Module</code></link> for advanced Constraints when used
        within the <link linkend="candidates">Translation Candidates Module</link>.</para>


</section>
    <section id="itsm_locQualityRatingVoteThreshold">
    <title>locQualityRatingVoteThreshold</title>
    
    <para>Localization Quality Rating Vote Threshold - the <code>locQualityRatingVoteThreshold</code>
        attribute is the <link linkend="ITS20">[ITS]</link> defined <code>locQualityRatingVoteThreshold</code> attribute. </para>
    <para> This attribute provides the minimum passing vote threshold for any Localization Quality Rating Votes that are in scope of
        the <link linkend="itsm_locQualityRatingVoteThreshold"><code>locQualityRatingVoteThreshold</code></link> attribute.</para>
    
    <para><emphasis>Value description:</emphasis> an Integer.</para>
        
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_locQualityRatingVoteThreshold"><code>locQualityRatingVoteThreshold</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or
                <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            
            
            <para>The value of the <link linkend="itsm_locQualityRatingVoteThreshold"><code>locQualityRatingVoteThreshold</code></link> attribute of the innermost
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, or <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, element, in which the marker
                in question is located (which can be undefined). </para>
            
        </listitem>
        <listitem>
            <para> When used in the <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element:</para>
            <para>The value is undefined.</para>
        </listitem>
        
        
        
    </itemizedlist>
    
    <warning><para>The <link linkend="itsm_locQualityRatingVoteThreshold">locQualityRatingVoteThreshold</link> attribute is
        intended to be used in concert with the <link linkend="itsm_locQualityRatingProfileRef">locQualityRatingProfileRef</link> attribute that is to provide
        information on the applicable Quality Assessment Model. Without providng the quality assessment model information,
        the voting threshold integer is very likely to be useless and not interoperable.</para> </warning>
    
    
    <para><emphasis>Used in:</emphasis>
        
        <link linkend="file"><code>&lt;file&gt;</code></link>,
        <link linkend="group"><code>&lt;group&gt;</code></link>,
        <link linkend="unit"><code>&lt;unit&gt;</code></link>,
        
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, and 
        <link linkend="match"><code>&lt;mtc:match&gt;</code></link>.</para>
    
    
    <para>See the <link linkend="lqrAnnotation">ITS Localization Quality Rating Annotation</link> for the normative usage description of this
        attribute when used inline; advanced Constraints follow from that normative usage
        description.</para>
    <para>See <link linkend="Localization_Quality_Rating_Structural"><code>Localization Quality Rating on
                Structural Elements</code></link> for advanced Constraints when used on strcutural
        elements (<link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link>, and <link linkend="unit"><code>&lt;unit&gt;</code></link>).</para>
    <para>See <link linkend="Localization_Quality_Rating_Matches"><code>Localization Quality Rating in
                Translation Candidates Module</code></link> for advanced Constraints when used
        within the <link linkend="candidates">Translation Candidates Module</link>.</para>


</section>
    

    <!--  As per TC consensus no its:space will be defined, for general xml interoperability reasons
    <xi:include href="../../attributes/itsm/itsm_space.xml"
        xmlns:xi="http://www.w3.org/2001/XInclude"/> -->

    <section id="itsm_mtConfidence">
    <title>mtConfidence</title>
    
    <para>Machine Translation Confidence - the <code>mtConfidence</code> attribute is the <link linkend="ITS20">[ITS]</link> defined
            <code>mtConfidence</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> floating point number between 0 and 1.</para>
    <para>The number represents the self reported confidence of the application or service providing
        the <ulink url="http://www.w3.org/TR/its20/#mtconfidence">MT Confidence</ulink> metadata, the higher the better.</para>
    
    <para><emphasis>Default value:</emphasis>: undefined</para>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    <itemizedlist>
        <title>Constraints</title>
        <listitem><para>When the attribute <link linkend="itsm_mtConfidence"><code>mtConfidence</code></link> is
                set, the element where it is set <glossterm>must</glossterm> be in the scope of an
                    <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link> attribute with the <link linkend="ITS20">[ITS]</link><ulink url="https://www.w3.org/TR/its20/#datacategories-overview">Data category
                            identifier</ulink> part of exactly one list value equal to the string
                    <code>mt-confidence</code>.</para></listitem>
    </itemizedlist>
    <para>See the <link linkend="MTConfidenceAnnotation">ITS MT Confidence Annotation</link> for the full normative usage description of this attribute. Other advanced Constraints follow from that normative usage description.</para>
    <itemizedlist>
        <title>Processing Requirements</title>
        <listitem>
            <para><firstterm>Writers</firstterm>
                <glossterm>must</glossterm> use the <link linkend="matchQuality"><code>mtc:matchQuality</code></link> attribute to express the <link linkend="itsm_mtConfidence"><code>MTConfidence</code></link> attribute on an
                    <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element.</para>
            <itemizedlist>
                <listitem>
                    <para>The floating point number between 0 and 1 <glossterm>must</glossterm> be expressed as
                        a decimal number between 0.0 and 100.0 [%].</para>
                </listitem>
                <listitem>
                    <para>The <link linkend="matchQuality"><code>mtc:matchQuality</code></link> attribute  used by the <firstterm>Writer</firstterm> to express the <link linkend="itsm_mtConfidence"><code>MTConfidence</code></link> attribute <glossterm>must</glossterm> be in scope of an <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link> attribute with the <link linkend="ITS20">[ITS]</link><ulink url="https://www.w3.org/TR/its20/#datacategories-overview">Data category
                                identifier</ulink> part of exactly one list value equal to the string
                        <code>mt-confidence</code>.</para>
                </listitem>
            </itemizedlist>
        </listitem>
        <listitem>
            <para><firstterm>Modifiers</firstterm>
                <glossterm>may</glossterm> use this <link linkend="itsm_mtConfidence"><code>MTConfidence</code></link> attribute, when populating the
                    <firstterm>XLIFF Core</firstterm>
                <link linkend="target"><code>&lt;target&gt;</code></link> elements with exact unmodified MT matches
                from <link linkend="match"><code>&lt;mtc:match&gt;</code></link> elements with the <link linkend="matchQuality"><code>mtc:matchQuality</code></link> attribute set and in scope of an
                    <link linkend="itsm_annotatorsRef"><code>annotatorsRef</code></link> attribute with
                the <link linkend="ITS20">[ITS]</link><ulink url="https://www.w3.org/TR/its20/#datacategories-overview">Data category
                    identifier</ulink> part of exactly one list value equal to the string
                    <code>mt-confidence</code>.</para>
            <itemizedlist>
                <listitem>
                    <para>The decimal number between 0.0 and 100.0 [%] <glossterm>must</glossterm> be expressed as
                        a floating point number between 0 and 1.</para>
                </listitem>
            </itemizedlist>
        </listitem>
    </itemizedlist>
    
</section>
    
    <section id="itsm_org">
    <title>org</title>
    
    <para>Organization - the <code>org</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>org</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> Text</para>
    <para>The text string is supposed to identify an organizational translation agent as per <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Organizational provenance information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_org"><code>org</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_org"><code>org</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depending on the element in which it is used:</para>
              
            
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_org"><code>org</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            <para>The value of the <link linkend="itsm_org"><code>org</code></link> attribute
                        of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
        </listitem>
        
        </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_orgRef">
    <title>orgRef</title>
    
    <para>Organization Reference - the <code>orgRef</code> attribute is the
            <link linkend="ITS20">[ITS]</link> defined
            <code>orgRef</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> IRI</para>
    <para>The IRI is supposed to resolve as human or machine readable <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Organizational provenance
            information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_orgRef"><code>orgRef</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_orgRef"><code>orgRef</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
            
            
            <itemizedlist>
                <listitem>
                    <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
                    
                    <para>The value is undefined.</para>
                </listitem>
                <listitem>
                    <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
                    <para>The value of the <link linkend="itsm_orgRef"><code>orgRef</code></link> attribute of its parent element
                        (which can be undefined).</para>
                </listitem>
                <listitem>
                    <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
                    <para>The value of the <link linkend="itsm_orgRef"><code>orgRef</code></link> attribute of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
                </listitem>
                
            </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    
    <section id="itsm_person">
    <title>person</title>
    
    <para>Person - the <code>person</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>person</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> Text</para>
    <para>The text string is supposed to identify a human translation agent as per <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Human provenance information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_person"><code>person</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_person"><code>person</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depending on the element in which it is used:</para>
              
            
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_person"><code>person</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            <para>The value of the <link linkend="itsm_person"><code>person</code></link> attribute
                        of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
        </listitem>
        
        </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_personRef">
    <title>personRef</title>
    
    <para>Person Reference - the <code>personRef</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>personRef</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> IRI</para>
    <para>The IRI is supposed to resolve as human or machine readable <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Human provenance information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_personRef"><code>personRef</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_personRef"><code>personRef</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
            
            
            <itemizedlist>
                <listitem>
                    <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
                    
                    <para>The value is undefined.</para>
                </listitem>
                <listitem>
                    <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
                    <para>The value of the <link linkend="itsm_personRef"><code>personRef</code></link> attribute of its parent element
                        (which can be undefined).</para>
                </listitem>
                <listitem>
                    <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
                    <para>The value of the <link linkend="itsm_personRef"><code>personRef</code></link> attribute of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
                </listitem>
                
            </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_provenanceRecordsRef">
    <title>provenanceRecordsRef</title>
    
    <para>Provenance Records Standoff Reference - the <code>provenanceRecordsRef</code> attribute
        is the <link linkend="ITS20">[ITS]</link>
        defined <code>provenanceRecordsRef</code> attribute.</para>
    <para>This attribute references the collection of Provenance Records that pertain to the content
        span or structural element content from where the reference is declared.</para>
    
    <para><emphasis>Value description:</emphasis> IRI</para>
        
    <para><emphasis>Default value:</emphasis> undefined.</para>
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
        
    </para>
    
    <para>See the <link linkend="provenanceAnnotation">ITS Localization Issue Annotation</link> for the normative usage description of this
        attribute inline. </para>
    <itemizedlist>
        <title>Constraints</title>
        <listitem>
            <para>Multiple <link linkend="itsm_provenanceRecordsRef">provenanceRecordsRef</link>
                attributes <glossterm>may</glossterm> reference the same <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link>
                element.</para>
        </listitem>
        <listitem>
            <para>In case the <link linkend="itsm_provenanceRecordsRef">provenanceRecordsRef</link>
                attribute is used on an <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link> element, <itemizedlist>
                    <listitem>
                        <para>The value of the <link linkend="itsm_provenanceRecordsRef">provenanceRecordsRef</link> attribute <glossterm>must</glossterm>
                            be an IRI referencing a <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element within the
                            innermost enclosing <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>element. </para>
                    </listitem>
                </itemizedlist></para>
            
        </listitem>
        
        <listitem>
            <para>In case the <link linkend="itsm_provenanceRecordsRef">provenanceRecordsRef</link>
                attribute is used on a <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, or <link linkend="unit"><code>&lt;unit&gt;</code></link> element, <itemizedlist>
                    <listitem>
                        <para>The value of the <link linkend="itsm_provenanceRecordsRef">provenanceRecordsRef</link> attribute <glossterm>must</glossterm>
                            be an IRI referencing a <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element within the
                            same element or its ancestor element. </para>
                    </listitem>
                </itemizedlist></para>
            
        </listitem>
        
    </itemizedlist>
    <itemizedlist>
        <title>Processing Requirements</title>
        <listitem>
            <para><firstterm>Modifiers</firstterm> removing the last <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link>
                attribute referencing a <link linkend="itsm_provenanceRecords"><code>provenanceRecords</code></link> element <glossterm>must</glossterm>
                delete that <link linkend="itsm_provenanceRecords"><code>provenanceRecords</code></link> element.</para>
        </listitem>
        
    </itemizedlist>
</section>
    <section id="itsm_revOrg">
    <title>revOrg</title>
    
    <para>Organization - the <code>revOrg</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>revOrg</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> Text</para>
    <para>The text string is supposed to identify an organizational translation agent as per <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Organizational provenance information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_revOrg"><code>revOrg</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_revOrg"><code>revOrg</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
              
            
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_revOrg"><code>revOrg</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            <para>The value of the <link linkend="itsm_revOrg"><code>revOrg</code></link> attribute
                        of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
        </listitem>
        
        </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_revOrgRef">
    <title>revOrgRef</title>
    
    <para>Revision Organization Reference - the <code>revOrgRef</code> attribute is the <link linkend="ITS20">[ITS]</link> defined
            <code>revOrgRef</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> IRI</para>
    <para>The IRI is supposed to resolve as human or machine readable <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Organizational revision provenance
            information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_revOrgRef"><code>revOrgRef</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_revOrgRef"><code>revOrgRef</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depending on the element in which it is used:</para>
            
            
            <itemizedlist>
                <listitem>
                    <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
                    
                    <para>The value is undefined.</para>
                </listitem>
                <listitem>
                    <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
                    <para>The value of the <link linkend="itsm_revOrgRef"><code>revOrgRef</code></link> attribute of its parent element
                        (which can be undefined).</para>
                </listitem>
                <listitem>
                    <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
                    <para>The value of the <link linkend="itsm_revOrgRef"><code>revOrgRef</code></link> attribute of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
                </listitem>
                
            </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_revPerson">
    <title>revPerson</title>
    
    <para>Revision Person - the <code>revPerson</code> attribute is the <link linkend="ITS20">[ITS]</link> defined
            <code>revPerson</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> Text</para>
    <para>The text string is supposed to identify a human translation revision agent as per <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Human revision provenance
            information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_revPerson"><code>revPerson</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_revPerson"><code>revPerson</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
              
            
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_revPerson"><code>revPerson</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            <para>The value of the <link linkend="itsm_revPerson"><code>revPerson</code></link> attribute
                        of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
        </listitem>
        
        </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_revPersonRef">
    <title>revPersonRef</title>
    
    <para>Revision Person Reference - the <code>revPersonRef</code> attribute is the <link linkend="ITS20">[ITS]</link> defined
            <code>revPersonRef</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> IRI</para>
    <para>The IRI is supposed to resolve as human or machine readable <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Human revision provenance
            information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_revPersonRef"><code>revPersonRef</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_revPersonRef"><code>revPersonRef</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
            
            
            <itemizedlist>
                <listitem>
                    <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
                    
                    <para>The value is undefined.</para>
                </listitem>
                <listitem>
                    <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
                    <para>The value of the <link linkend="itsm_revPersonRef"><code>revPersonRef</code></link> attribute of its parent element
                        (which can be undefined).</para>
                </listitem>
                <listitem>
                    <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
                    <para>The value of the <link linkend="itsm_revPersonRef"><code>revPersonRef</code></link> attribute of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
                </listitem>
                
            </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_revTool">
    <title>revTool</title>
    
    <para>Revision Tool - the <code>revTool</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>revTool</code>
        attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> Text</para>
    <para>The text string is supposed to identify a software tool translation revision agent as per
            <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Tool-related revision
            provenance information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_revTool"><code>revTool</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_revTool"><code>revTool</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
              
            
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_revTool"><code>revTool</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            <para>The value of the <link linkend="itsm_revTool"><code>revTool</code></link> attribute
                        of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
        </listitem>
        
        </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_revToolRef">
    <title>revToolRef</title>
    
    <para>Revision Tool Reference - the <code>revToolRef</code> attribute is the
            <link linkend="ITS20">[ITS]</link> defined
            <code>revToolRef</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> IRI</para>
    <para>The IRI is supposed to resolve as human or machine readable <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Tool-related revision provenance
            information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_revToolRef"><code>revToolRef</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_revToolRef"><code>revToolRef</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
            
            
            <itemizedlist>
                <listitem>
                    <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
                    
                    <para>The value is undefined.</para>
                </listitem>
                <listitem>
                    <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
                    <para>The value of the <link linkend="itsm_revToolRef"><code>revToolRef</code></link> attribute of its parent element
                        (which can be undefined).</para>
                </listitem>
                <listitem>
                    <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
                    <para>The value of the <link linkend="itsm_revToolRef"><code>revToolRef</code></link> attribute of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
                </listitem>
                
            </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>

    <section id="itsm_taClassRef">
    <title>taClassRef</title>
    
    <para>Text Analysis Class Reference - the <code>taClassRef</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>taClassRef</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> IRI</para>
    <para>The IRI is supposed to resolve as human or machine readable <ulink url="http://www.w3.org/TR/its20/#textAnalysis-info-pieces">Entity type / concept class</ulink> information.</para>
    
    <para><emphasis>Default value:</emphasis>: undefined</para>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    <para>See the <link linkend="taAnnotation">ITS Text Analysis Annotation</link> for the normative usage description of this attribute. Advanced Constraints follow from that normative usage description.</para>
    
</section>

    <section id="itsm_taConfidence">
    <title>taConfidence</title>
    
    <para>Text Analysis Confidence - the <code>taConfidence</code> attribute is the <link linkend="ITS20">[ITS]</link> defined
            <code>taConfidence</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> floating point number between 0 and 1.</para>
    <para>The number represents the self reported confidence of the application or service providing
        the <ulink url="http://www.w3.org/TR/its20/#textanalysis">Text Analysis</ulink> metadata, the higher the better.</para>
    
    <para><emphasis>Default value:</emphasis>: undefined</para>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    <itemizedlist>
        <title>Constraints</title>
        <listitem><para>When the attribute <link linkend="itsm_taConfidence"><code>taConfidence</code></link> is set, the element where it is set <glossterm>must</glossterm> be in the scope of an
            <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute with the 
            <link linkend="ITS20">[ITS]</link><ulink url="https://www.w3.org/TR/its20/#datacategories-overview">Data category
                identifier</ulink> part of exactly one list value equal to the string <code>text-analysis</code>.</para></listitem>
    </itemizedlist>
    <para>See the <link linkend="taAnnotation">ITS Text Analysis Annotation</link> for the full normative usage description of this attribute. Other advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_taIdent">
    <title>taIdent</title>

    <para>Text Analysis Concept Identifier - the <code>taIdent</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>taIdent</code>
        attribute.</para>


    <para><emphasis>Value description:</emphasis> text string</para>
    <para>The text string is supposed to be a human or machine redable identifier of a concept within a collection of text analysis concept resources, in the
        sense of an <ulink url="http://www.w3.org/TR/its20/#textAnalysis-info-pieces">identifier of the concept in the collection</ulink>.</para>

    <para><emphasis>Default value:</emphasis>: undefined</para>



    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>

    <itemizedlist>
        <title>Constraints</title>
        <listitem><para>When the attribute <link linkend="itsm_taIdent"><code>taIdent</code></link> is set, the <link linkend="itsm_taSource"><code>taSource</code></link> attribute <glossterm>must</glossterm> be set as well.</para></listitem>
    </itemizedlist>
    <para>See the <link linkend="taAnnotation">ITS Text Analysis Annotation</link> for the full normative usage description of this attribute. Other advanced Constraints follow from that normative usage description.</para>

</section>
    <section id="itsm_taIdentRef">
    <title>taIdentRef</title>
    
    <para>Text Analysis Identifier - the <code>taIdentRef</code> attribute is the <link linkend="ITS20">[ITS]</link> defined
            <code>taIdentRef</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> IRI</para>
    <para>The IRI is supposed to reference an external resource for the disambiguated entity in the
        sense of <ulink url="http://www.w3.org/TR/its20/#textAnalysis-info-pieces">identifier of the text analysis target</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis>: undefined</para>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    <para>See the <link linkend="taAnnotation">ITS Text Analysis Annotation</link> for the normative usage description of this attribute. Advanced Constraints follow from that normative usage description.</para>
    
</section>

    <section id="itsm_taSource">
    <title>taSource</title>
    
    <para>Text Analysis Source - the <code>taSource</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>taSource</code>
        attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> text string</para>
    <para>The text string is supposed to be a human or machine redable name of a collection of text
        analysis concept resources, in the sense of an <ulink url="http://www.w3.org/TR/its20/#textAnalysis-info-pieces"> identifier of the collection
            source</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis>: undefined</para>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    <itemizedlist>
        <title>Constraints</title>
        <listitem><para>When the attribute <link linkend="itsm_taSource"><code>taSource</code></link> is set, the
                    <link linkend="itsm_taIdent"><code>taIdent</code></link> attribute <glossterm>must</glossterm> be set
                as well.</para></listitem>
    </itemizedlist>
    <para>See the <link linkend="taAnnotation">ITS Text Analysis Annotation</link> for the full normative usage description of this attribute. Other advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_termConfidence">
    <title>termConfidence</title>
    
    <para>Terminology Confidence - the <code>termConfidence</code> attribute is the <link linkend="ITS20">[ITS]</link> defined
            <code>termConfidence</code> attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> floating point number between 0 and 1.</para>
    <para>The number represents the self reported confidence of the application or service providing
        the <ulink url="http://www.w3.org/TR/its20/#terminology">Terminology</ulink> metadata, the higher the better.</para>
    
    <para><emphasis>Default value:</emphasis>: undefined</para>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, and
        <link linkend="sm"><code>&lt;sm&gt;</code></link>.</para>
    
    <itemizedlist>
        <title>Constraints</title>
        <listitem><para>When the attribute <link linkend="itsm_termConfidence"><code>termConfidence</code></link> is
                set, the element where it is set <glossterm>must</glossterm> be in the scope of an
                    <link linkend="itsm_annotatorsRef"><code>its:annotatorsRef</code></link> attribute with the <link linkend="ITS20">[ITS]</link><ulink url="https://www.w3.org/TR/its20/#datacategories-overview">Data category
                            identifier</ulink> part of exactly one list value equal to the string
                    <code>terminology</code>.</para></listitem>
    </itemizedlist>
    <para>See the <link linkend="nonTermAnnotation">ITS Terminology Annotation</link> for the full normative usage description of this attribute. Other advanced Constraints follow from that normative usage description.</para>
    
</section>

    <section id="itsm_tool">
    <title>tool</title>
    
    <para>Tool - the <code>tool</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>tool</code>
        attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> Text</para>
    <para>The text string is supposed to identify a software tool translation agent as per <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Tool-related provenance
            information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_tool"><code>tool</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_tool"><code>tool</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
              
            
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
            
            <para>The value is undefined.</para>
        </listitem>
        <listitem>
            <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_tool"><code>tool</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            <para>The value of the <link linkend="itsm_tool"><code>tool</code></link> attribute
                        of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
        </listitem>
        
        </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    <section id="itsm_toolRef">
    <title>toolRef</title>
    
    <para>Tool Reference - the <code>toolRef</code> attribute is the <link linkend="ITS20">[ITS]</link> defined <code>toolRef</code>
        attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> IRI</para>
    <para>The IRI is supposed to resolve as human or machine readable <ulink url="https://www.w3.org/TR/its20/#provenanceDefs">Tool-related provenance
            information</ulink>.</para>
    
    <para><emphasis>Default value:</emphasis> default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in any admissible element WITH the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The value of the <link linkend="itsm_toolRef"><code>toolRef</code></link> attribute
                of the first <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link> element with the <link linkend="itsm_toolRef"><code>toolRef</code></link> attribute set within the referenced <link linkend="itsm_provenanceRecords"><code>&lt;provenanceRecords&gt;</code></link> element (which can be undefined).</para>
            
        </listitem>
        
        <listitem>
            <para>When used in any admissible element WITHOUT the <link linkend="itsm_provenanceRecordsRef"><code>provenanceRecordsRef</code></link> attribute set:</para>
            <para>The default values depening on the element in which it is used:</para>
            
            
            <itemizedlist>
                <listitem>
                    <para>When used in <link linkend="file"><code>&lt;file&gt;</code></link> or <link linkend="revision"><code>&lt;its:provencanceRecord&gt;</code></link>:</para>
                    
                    <para>The value is undefined.</para>
                </listitem>
                <listitem>
                    <para>When used in any other admissible structural element (<link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
                    <para>The value of the <link linkend="itsm_toolRef"><code>toolRef</code></link> attribute of its parent element
                        (which can be undefined).</para>
                </listitem>
                <listitem>
                    <para>When used in annotations markers <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
                    <para>The value of the <link linkend="itsm_toolRef"><code>toolRef</code></link> attribute of the innermost <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, or <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link><!--  relationship with the ctr:author atribute will be described in teh Provenance category spec <para>In the special case that the parent element of the marker is a <olink
                    targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> element, the value is need to be reflected in the value of the <olink targetdoc="../../attributes/change-tracking/ctr_author.xml"
                    targetptr="ctr_author"><code>ctr:author</code></olink> attribute of the parent
                    <olink targetdoc="../../elements/itms/revision.xml" targetptr="revision"
                        ><code>&lt;ctr:revision></code></olink> (which can be undefined ???).</para> -->
                        element, in which the marker in question is located (which can be
                        undefined).</para>
                </listitem>
                
            </itemizedlist>
        </listitem>
        
        
        
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;goup&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, 
        <link linkend="mrk"><code>&lt;mrk&gt;</code></link>,
        <link linkend="sm"><code>&lt;sm&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;provenanceRecord&gt;</code></link>, <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, and <link linkend="revision"><code>&lt;ctr:revision&gt;</code></link>.
    </para>
    
    
    <para>See the <link linkend="provenanceAnnotation">ITS Provenance Annotation</link> for the normative usage description of this attribute on inline elements. Advanced Constraints follow from that normative usage description.</para>
    
</section>
    
    <section id="itsm_version">
    <title>version</title>
    
    <para>ITS Version - the <code>version</code> attribute is the <link linkend="ITS20">[ITS]</link>
        <ulink url="https://www.w3.org/TR/its20/#its-version-attribute"><code>version</code></ulink>
        attribute.</para>
    
    
    <para><emphasis>Value description:</emphasis> The value is a text string restricted to the string <code>2.0</code>.</para>
    
    <para><emphasis>Default value:</emphasis>: default values for this attribute
        depend on the element in which it is used:</para>
    
    <itemizedlist>
        <listitem>
            <para>When used in <link linkend="xliff"><code>&lt;xliff&gt;</code></link>:</para>
            <para>The value is undefined.</para>
        </listitem>
        
        <listitem>
            <para>When used in any other admissible <firstterm>XLIFF Core</firstterm> structural element (<link linkend="file"><code>&lt;file&gt;</code></link>, <link linkend="group"><code>&lt;group&gt;</code></link> or <link linkend="unit"><code>&lt;unit&gt;</code></link>):</para>
            <para>The value of the <link linkend="itsm_version"><code>version</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        <listitem>
            <para>When used in annotations markers
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link> or
                <link linkend="sm"><code>&lt;sm&gt;</code></link>:</para>
            
            
            <para>The value of the <link linkend="itsm_version"><code>version</code></link> attribute of the innermost
                <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="unit"><code>&lt;unit&gt;</code></link>, or <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element, element, in which the marker
                in question is located (which can be undefined). </para>
            
        </listitem>
        <listitem>
            <para> When used in the <link linkend="match"><code>&lt;mtc:match&gt;</code></link> element:</para>
            <para>The value is undefined.</para>
        </listitem>
        
        <listitem>
            <para> When used in any of the <link linkend="ITS_Module_Elements">ITS Module defined elements</link>:</para>
            <para>The value of the <link linkend="itsm_version"><code>version</code></link> attribute of its parent element
                (which can be undefined).</para>
        </listitem>
        
        
    </itemizedlist>
    
    
    
    <para><emphasis>Used in:</emphasis>
        <link linkend="xliff"><code>&lt;xliff&gt;</code></link>, 
        <link linkend="file"><code>&lt;file&gt;</code></link>
        <link linkend="group"><code>&lt;group&gt;</code></link>
        <link linkend="unit"><code>&lt;unit&gt;</code></link>, <link linkend="mrk"><code>&lt;mrk&gt;</code></link>, <link linkend="sm"><code>&lt;sm&gt;</code></link>,
        <link linkend="match"><code>&lt;mtc:match&gt;</code></link>, <link linkend="itsm_locQualityIssue"><code>&lt;its:locQualityIssue&gt;</code></link>, <link linkend="itsm_locQualityIssues"><code>&lt;its:locQualityIssues&gt;</code></link>, <link linkend="itsm_provenanceRecord"><code>&lt;its:provenanceRecord&gt;</code></link>, and <link linkend="itsm_provenanceRecords"><code>&lt;its:provenanceRecords&gt;</code></link>.</para>
    
    
    
</section>
    <!--  more to be added as module progresses  -->
  </section>
  <section>
    <title>Example file</title>
    <example>
      <title>ITS Data Categories Example</title>
      <para>The following example file includes markup related to several ITS 2.0 data categories.</para><programlisting format="linespecific">&lt;!-- xliff-its-example.xlf: Example file that shows several features of
using ITS 2.0 as part of XLIFF 2.1
Version: 0.2.1 
Date: 04 April 2017 --&gt;

&lt;xliff version="2.1" xmlns="urn:oasis:names:tc:xliff:document:2.0"
    srcLang="en" trgLang="fr"
    xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"
    xmlns:itsm="urn:oasis:names:tc:xliff:itsm:2.1"&gt;
  &lt;!-- Each unit in the file element shows one ITS data category. --&gt;
  &lt;!-- The its:annotatorsRef attribute inherits through the whole file
      but is only relevant for some elements--&gt;
  &lt;file id="f1" its:annotatorsRef="allowed-characters|http://example.com/myAllowedCharactersAnnotationTool
                terminology|http://example.com/mytermTool
                localization-quality-issue|http://example.com/anotherQualityChecker"&gt;
    &lt;unit id="u1"&gt;
      &lt;its:locQualityIssues xml:id="lqi1"&gt;
        &lt;its:locQualityIssue locQualityIssueType="misspelling"
            locQualityIssueComment="'c'es' is unknown. Could be 'c'est'"
            locQualityIssueSeverity="50"/&gt;
        &lt;its:locQualityIssue locQualityIssueType="grammar"
            locQualityIssueComment="Sentence is not capitalized"
            locQualityIssueSeverity="30"/&gt;
      &lt;/its:locQualityIssues&gt;
      &lt;its:provenanceRecords xml:id="prov1"&gt;
        &lt;its:provenanceRecord revPerson="Franta Kocourek"
            revOrg="Kocourkov s.r.o."/&gt;
        &lt;its:provenanceRecord person="Honza Novák"
            org="Překlady Novák, sro" tool="GreatCATTool"/&gt;
        &lt;its:provenanceRecord tool="Microsoft Hub"/&gt;
      &lt;/its:provenanceRecords&gt;
      &lt;its:provenanceRecords xml:id="prov2"&gt;
        &lt;its:provenanceRecord revPerson="Květoň Zřídkaveselý"
            revOrg="CoolCopy"/&gt;
        &lt;its:provenanceRecord revTool="ACME QA Checker"
            revOrg="CoolCopy"/&gt;
        &lt;its:provenanceRecord revPerson="Franta Kocourek"
            revOrg="Kocourkov s.r.o."/&gt;
        &lt;its:provenanceRecord person="Honza Novák"
            org="Preklady Novák, sro" tool="GreatCATTool"/&gt;
        &lt;its:provenanceRecord tool="Microsoft Hub"/&gt;
      &lt;/its:provenanceRecords&gt;
      &lt;notes&gt;
        &lt;note id="1" priority="1"&gt;Check with terminology engineer
            &lt;/note&gt;
      &lt;/notes&gt;

      &lt;!-- Example for allowed characters data category --&gt;

      &lt;segment&gt;
        &lt;source&gt;
          &lt;mrk id="m1" type="its:generic"
              its:allowedCharacters="[a-ZA-Z]"&gt;Text&lt;/mrk&gt;
        &lt;/source&gt;
      &lt;/segment&gt;

      &lt;!-- Example for domain data category --&gt;

      &lt;segment&gt;
        &lt;source&gt;Text in the domain domain1&lt;/source&gt;
      &lt;/segment&gt;

      &lt;!-- Example for locale filter data category --&gt;

      &lt;segment&gt;
        &lt;source&gt;Text &lt;pc id="2"&gt;&lt;mrk id="m2" type="its:generic"
            its:localeFilterList="fr" its:localeFilterType="exclude"&gt;
            text&lt;/mrk&gt;&lt;/pc&gt;&lt;/source&gt;
      &lt;/segment&gt;

      &lt;!-- Example for localization quality issue data category. The
          standoff information in its:locQualityIssues has the
          annotatorsRef information from this element: &lt;mrk id="m1"
          type="its:generic" its:locQualityIssuesRef="#its=lqi1"
          its:annotatorsRef="localization-quality-issue|http://example.com/myQualityChecker"&gt;.
      --&gt;

      &lt;segment&gt;
        &lt;source&gt;This is the content&lt;/source&gt;
        &lt;target&gt;
          &lt;mrk id="m3" type="its:generic" its:locQualityIssuesRef="#its=lqi1"
              its:annotatorsRef="localization-quality-issue|http://example.com/myQualityChecker"&gt;c'es
              le contenu&lt;/mrk&gt;
        &lt;/target&gt;
      &lt;/segment&gt;

      &lt;!-- Example for localization quality rating data category --&gt;

      &lt;segment&gt;
        &lt;source&gt;Some text and a term&lt;/source&gt;
        &lt;target&gt;Du texte et un &lt;mrk id="m4" type="its:generic"
            its:locQualityRatingVote="37"
            its:locQualityRatingVoteThreshold="15"
            its:locQualityRatingProfileRef="http://example.org/qaModel
                /v13"&gt;terme&lt;/mrk&gt;&lt;/target&gt;
      &lt;/segment&gt;

      &lt;!-- Example for text analytics data category --&gt;

      &lt;segment&gt;
        &lt;source&gt;
          &lt;mrk id="m5" type="its:generic"
              its:taClassRef="http://nerd.eurecom.fr/ontology#Place"
              its:taIdentRef="http://dbpedia.org/resource/Arizona"&gt;
              Arizona&lt;/mrk&gt;
        &lt;/source&gt;
      &lt;/segment&gt;

      &lt;!-- Example for terminology data category, expressed via native XLIFF markup --&gt;

      &lt;segment&gt;
        &lt;source&gt;This is a &lt;mrk id="m6" type="comment" ref="#n=1"&gt;
            motherboard&lt;/mrk&gt;.&lt;/source&gt;
      &lt;/segment&gt;

      &lt;!-- Example for terminology data category, expressed via native XLIFF markup, but with its:termConfidence attribute --&gt;

      &lt;segment&gt;
        &lt;source&gt;Text with a &lt;pc id="3"&gt;&lt;mrk id="m7" type="term"
            ref="http://en.wikipedia.org/wiki/Terminology"
            its:termConfidence="0.9"&gt;term&lt;/mrk&gt;&lt;/pc&gt;.&lt;/source&gt;
      &lt;/segment&gt;

      &lt;!-- Example for language information data category --&gt;

      &lt;segment&gt;
        &lt;source&gt;Span of text &lt;pc id="4"&gt;&lt;mrk id="m8" itsm:lang="fr"
            type="its:generic"&gt;en français&lt;/mrk&gt;&lt;/pc&gt;.&lt;/source&gt;
      &lt;/segment&gt;

      &lt;!-- Example for provenance information data category --&gt;

      &lt;segment&gt;
        &lt;source&gt;Economy has been growing in 2016.&lt;/source&gt;
        &lt;target&gt;
          &lt;mrk id="m9" type="its:generic"
              its:provenanceRecordsRef="#its=prov1"&gt;Hospodářství v průbehu
              roku 2016 rostlo. &lt;/mrk&gt;
        &lt;/target&gt;
      &lt;/segment&gt;
      &lt;segment&gt;
        &lt;source&gt;Prognosis for 2017 is unclear.&lt;/source&gt;
        &lt;target&gt;
           &lt;mrk id="m10" type="its:generic"
               its:provenanceRecordsRef="#its=prov2"&gt;Předpověď očekávaného růstu
               pro rok 2017 je nejasná. &lt;/mrk&gt;
        &lt;/target&gt;
      &lt;/segment&gt;

      &lt;!-- Example for MT confidence data category --&gt;

      &lt;segment&gt;
        &lt;source&gt;
          &lt;mrk id="m11" type="its:generic" its:mtConfidence="0.8982"
              its:annotatorsRef="mt-confidence|MTServices-XYZ"&gt;Some
              Machine Translated text.&lt;/mrk&gt;
        &lt;/source&gt;
      &lt;/segment&gt;

      &lt;!-- Example for Translate data category, expressed via native XLIFF markup --&gt;

      &lt;segment&gt;
        &lt;source&gt;&lt;mrk translate="no" id="m12"&gt;Non-translatable text
            &lt;/mrk&gt;&lt;/source&gt;
      &lt;/segment&gt;

    &lt;/unit&gt;
  &lt;/file&gt;
&lt;/xliff&gt;
</programlisting>
    </example>
  </section>

</section>
    <!--  2.2 and 2.n+1 modules  -->
  </section>
  
  <appendix role="normative" id="mediaType">
    <title>Media Type Registration Template for XLIFF Version 2.0 and higher Versions</title>
    <para>This Appendix is based on the Committee Specification 01 of the <ulink url="http://docs.oasis-open.org/xliff/xliff-media/v2.0/cs01/xliff-media-v2.0-cs01.html">Media Type Registration Template for XLIFF Version 2.0</ulink> published on 22 September
      2014, which is also the latest version of the Registration Template, as the TC decided to
      merge the template (with some necessary editorial updates) with this XLIFF Version 2.1
      specification. Additionally, the Security Considerations have been substantially expanded
      based on an IESG Expert feedback, as per this archived conversation <ulink url="https://lists.oasis-open.org/archives/xliff/201502/msg00004.html">https://lists.oasis-open.org/archives/xliff/201502/msg00004.html</ulink>. XLIFF 2.0
      was provisionally registered as <code>application/xliff+xml</code> in the <ulink url="https://www.iana.org/assignments/provisional-standard-media-types/provisional-standard-media-types.xhtml">IANA Provisional Standard Media Type Registry</ulink>.</para>
     <para>This Appendix content will be used to seek final media type registration for XLIFF
      Version 2.0 and higher Versions (including this XLIFF Version 2.1). </para>
    <section id="mediaTypeTemplate">
    <title>Registration Template</title>
   
       <itemizedlist>
        <listitem id="Type_name">
            <para><emphasis role="emphasis">Type name:</emphasis> application</para>
        </listitem>
        <listitem id="Subtype_name">
            <para><emphasis role="emphasis">Subtype name:</emphasis> xliff+xml</para>
        </listitem>
        <listitem>
            <para><emphasis role="emphasis">Required parameters:</emphasis> N/A</para>
        </listitem>
        <listitem>
            <para><emphasis role="emphasis">Optional parameters:</emphasis> N/A</para>
        </listitem>
        <listitem id="Encoding_considerations">
            <para><emphasis role="emphasis">Encoding considerations:</emphasis></para>
            <para>Same as encoding considerations of application/xml as specified in <link linkend="rfc7303">[RFC 7303]</link></para>
        </listitem>
        <listitem id="Security_considerations">
            <para><emphasis role="emphasis">Security considerations:</emphasis></para>
            <para>Apart from all of the security considerations described in <link linkend="rfc7303">[RFC 7303]</link>, XLIFF Version
                2.0 and higher has the following Security considerations:</para>
            <para><emphasis>Extensibility:</emphasis> XLIFF permits extensions. Hence it is possible that application xliff+xml may describe content that has security implications beyond those described here. </para>
            <para><emphasis>Direct external reference mechanisms:</emphasis> An XLIFF document has a number of attributes of the type URI or IRI, all of which may be dereferenced and some of them should be dereferenced. Therefore, the security issues of <link linkend="rfc3987">[RFC 3987]</link> Section 8 should be considered. In addition, the contents of resources identified by <code>file:</code> URIs can in some cases be accessed, processed and returned as results.</para>
            <para>More details can be found in the <link linkend="Detailed_Security_Considerations">Detailed Security Considerations section</link> of this
                Appendix.</para>
        </listitem>
           <listitem id="Interoperability_considerations">
            <para><emphasis role="emphasis">Interoperability considerations:</emphasis></para>
            <para>Same as interoperability considerations described in <link linkend="rfc7303">[RFC 7303]</link></para>
            <para>Also, interoperability requirements are specified throughout the specification and
                summarized in its <link linkend="Conformance">Conformance Section</link>.</para>
        </listitem>
           <listitem id="Published_specification">
            <para><emphasis role="emphasis">Published specification:</emphasis></para>
            <para>XLIFF Version 2.0 (OASIS Standard) <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html">http://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html</ulink>
                will be superseded by XLIFF Version 2.1 (OASIS Standard) <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.html</ulink>
                that was last published on 13 February 2018 in the OASIS Standard (os) stage at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html</ulink> and is backwards
                compatible with XLIFF Version 2.0.</para>
        </listitem>
           <listitem id="Applications_that_use_this">
            <para><emphasis role="emphasis">Applications that use this media type:</emphasis></para>
            <para>XLIFF conformant applications, according to the <link linkend="Conformance">Conformance Section</link> of this
                specification</para>
        </listitem>
           <listitem id="Fragment_identifier_considerations">
            <para><emphasis role="emphasis">Fragment identifier considerations:</emphasis></para>
            <para>Generic XML processors won't be able to resolve XLIFF fragment identifiers, as the
                fragment identification syntax is specific for XLIFF and has been defined in its
                <link linkend="fragid">Fragment Identification section</link> as of csd03/csprd03 of XLIFF Version 2.0.</para>
        </listitem>
        <listitem id="Intended_usage">
            <para><emphasis role="emphasis">Intended usage:</emphasis> COMMON</para>
        </listitem>
        <listitem id="Restrictions_on_usage">
            <para><emphasis role="emphasis">Restrictions on usage:</emphasis> N/A</para>
        </listitem>
        <listitem id="Author">
            <para><emphasis role="emphasis">Author:</emphasis></para>
            <para>OASIS XML Localisation Interchange File Format (XLIFF) TC Editors: Tom Comerford,
                        <code>&lt;<ulink url="mailto:tom@supratext.com">tom@supratext.com</ulink>&gt;</code>; David Filip, <code>&lt;<ulink url="mailto:david.filip@adaptcentre.ie">david.filip@adaptcentre.ie</ulink>&gt;</code>; Yves
                Savourel, <code>&lt;<ulink url="mailto:ysavourel@enlaso.com">ysavourel@enlaso.com</ulink>&gt;</code></para>
        </listitem>
        <listitem>
            <para><emphasis role="emphasis">Change controller:</emphasis></para>
            <para>OASIS XML Localisation Interchange File Format (XLIFF) TC <ulink url="https://www.oasis-open.org/committees/xliff/">https://www.oasis-open.org/committees/xliff/</ulink></para>
            <para>Bryan Schnabel, <code>&lt;<ulink url="mailto:bryan.s.schnabel@tektronix.com">bryan.s.schnabel@tektronix.com</ulink>&gt;</code>, Chair</para>
            <para>Tom Comerford, <code>&lt;<ulink url="mailto:tom@supratext.com">tom@supratext.com</ulink>&gt;</code>, Secretary</para>
            <para>David Filip, <code>&lt;<ulink url="mailto:david.filip@adaptcentre.ie">david.filip@adaptcentre.ie</ulink>&gt;</code>, Secretary</para>
        </listitem>
           <listitem id="Provisional_registration_q">
            <para><emphasis role="emphasis">Provisional registration? (standards tree
                    only):</emphasis> NO</para>
        </listitem>
           <listitem id="Additional_information">
            <para><emphasis role="emphasis">Additional information:</emphasis></para>
            <itemizedlist>
                <listitem>
                    <para><emphasis role="emphasis">Deprecated alias names for this type:</emphasis>
                        N/A</para>
                </listitem>
                <listitem>
                    <para><emphasis role="emphasis">Magic number(s):</emphasis> N/A</para>
                </listitem>
                <listitem id="File_extensions">
                    <para><emphasis role="emphasis">File extension(s):</emphasis> xlf</para>
                </listitem>
                <listitem>
                    <para><emphasis role="emphasis">Macintosh file type code(s):</emphasis>
                        "TEXT"</para>
                </listitem>
            </itemizedlist>
        </listitem>
        <listitem>
            <para><emphasis role="emphasis">Person &amp; email address to contact for further
                    information:</emphasis></para>
            <para>OASIS Technical Committee administration <code>&lt;<ulink url="mailto:tc-admin@oasis-open.org">tc-admin@oasis-open.org</ulink>&gt;</code></para>
        </listitem>
    </itemizedlist>
    <section id="Detailed_Security_Considerations">
    <title>Detailed Security Considerations</title>
    
    <section>
        <title>Privacy, trust and integrity</title>
        <para>XLIFF is a format for localization and translation, privacy, trust and integrity
            requirements will widely depend on the type of content that is being exchanged
            translating end user manuals for a dishwasher will have lower privacy requirements
            than translating clinical tests results for a pharma company.</para>
        <para>The XLIFF format does not offer any internal mechanisms to provide privacy, convey
            trust or verify the integrity of XLIFF documents. If such features are needed varies
            from case to case. Implementations that will process documents in cases where one or
            more of these features are required need to implement that outside of the XLIFF
            format. Transport privacy may for example be provided by SSL/TLS. Storage privacy
            could be implemented by encrypting the XLIFF content using XML encryption or some
            other appropriate means. Likewise the trust and integrity checks could be
            implemented using XML signatures or by some other technology that is appropriate for
            the particular implementation.</para>
    </section>    
    <section>
            <title>Core</title>
            <para><code>&lt;skeleton&gt;</code> via attribute <code>href</code></para>
            <para>There is no requirement that an implementation dereference and load the skeleton.
                But it must be assumed that some do. An implementation is free to provide any type
                of resource as the skeleton including executables.</para>
            <para><code>&lt;mrk&gt;</code> via attribute <code>ref</code> for Term Annotations and some custom
                annotations</para>
            <para>For term annotations there may be a risk by downloading or directing the user to
                access an external resource. For custom annotations the same applies but an
                implementation is not required to process the <code>ref</code> attribute on custom annotations
                but it must be expected that some will. Especially the term annotation one may be an
                issue as a reasonable implementation may just launch the URI expecting a web browser
                or viewer application to handle it.</para>
            
        </section>
        <section>
            <title>Resource Data Module</title>
            <para><code>&lt;res:source&gt;</code> via attribute <code>href</code></para>
            <para><code>&lt;res:target&gt;</code> via attribute <code>href</code></para>
            <para>Both of these may reference executable or otherwise unsafe external data. Either
                as a resource that need processing or to present additional information to the user
                from a resource of arbitrary type. Essentially the same considerations as for the
                term annotation in core applies here especially for reference material. The intent
                is to present arbitrary typed data to the user.</para>
            
        </section>
        <section>
            <title>ITS Module</title>
            <para>As the ITS Module brings a large number of ITS features natively to XLIFF,
                Security considerations of <code>application/its+xml</code>, as described in <link linkend="ITS20">[ITS]</link>
                <ulink url="https://www.w3.org/TR/its20/#its-mime-type">https://www.w3.org/TR/its20/#its-mime-type</ulink> should be taken into
                consideration, albeit largely overlapping with XLIFF general Security considerations
                described <link linkend="Security_considerations">above</link>. </para>
        </section>
        <section>
            <title>Other potentially security sensitive constructs</title>
            <section>
                <title>Extension by arbitrary XML on <code>&lt;file&gt;</code>, <code>&lt;group&gt;</code> and <code>&lt;unit&gt;</code></title>
                <para>Allows embedding of arbitrary XML structures at these points.</para>
            </section>
            <section>
                <title>Extension by custom attributes on <code>&lt;xliff&gt;</code>, <code>&lt;file&gt;</code>, <code>&lt;group&gt;</code>,
                    <code>&lt;unit&gt;</code>,<code>&lt;note&gt;</code>,<code>&lt;mrk&gt;</code> and <code>&lt;sm&gt;</code></title>
                <para>Custom attribute extension is likely not as sensitive as embedding of
                    arbitrary XML structures and will not in itself pose any threat except
                    potentially for the implementers of the extension.</para>
                
            </section>
            <section>
                <title>Format Style Module</title>
                <para>Uses HTML element names as values of the attribute <code>fs</code></para>
                <para>Validating allowed element names may decrease risk, but due to the attribute
                    <code>subFs</code> cannot eliminate it. Attribute <code>subFs</code> allows arbitrary additional
                    attributes for injection into HTML elements defined in the <code>fs</code> attributes. This
                    could be used to inject active content such as JavaScript into the preview HTML
                    document or reference external resources. Implementations need to take normal
                    precautions when rendering, as if rendering an arbitrary page on the web unless
                    it can know for sure it can trust the document. XLIFF itself does not provide a
                    facility to communicate trust or protect a document from modification. If such
                    features are needed they must be implemented external the XLIFF format.</para>
                <para>Actual consumable HTML is only produced by implementers of this modules via
                    XSLT or similar.</para>
            </section>
          
                
            </section>
        </section>
        
</section>
    
  </appendix>
  
  <appendix role="informative" id="coreValidation">
    <title>Machine Readable Validation Artifacts</title>
    <para>This appendix summarizes information on machine readable validation artifacts for XLIFF
      Version 2.1<orderedlist inheritnum="ignore" continuation="restarts">
        <listitem id="CoreSchema">
          <para><firstterm>XLIFF Core</firstterm> <link linkend="XMLSchema">[XML Schema]</link>,</para>
          <para><ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.0.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.0.xsd</ulink></para>
          
        </listitem>
        <listitem id="XLIFFCatalog">
          <para><link linkend="XMLCatalogs">[XML Catalog]</link> of <firstterm>XLIFF Defined</firstterm> XML Schemas,</para>
          <para><ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/catalog.xml">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/catalog.xml</ulink></para>
        </listitem>
        <listitem id="XLIFFNVDL">
          <para>Master <link linkend="NVDL">[NVDL]</link> file governing validation of all <firstterm>XLIFF Defined</firstterm>
            namespaces by XML Schemas, Schematron Schemas and other rules if and as required,</para>
          <para><ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_2_advanced_validation.nvdl">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_2_advanced_validation.nvdl</ulink></para>
        </listitem>
        <listitem id="CoreSchematron">
          <para><firstterm>XLIFF Core</firstterm> <link linkend="Schematron">[Schematron]</link> Schema, </para>
          <para><ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.1.sch">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.1.sch</ulink></para>
        </listitem>
        <listitem>
          <para>XML and Schematron Schemas of <firstterm>XLIFF Modules</firstterm> are referenced
            from those modules.</para>
        </listitem>
      </orderedlist>
    </para>
    <para>The basic grammar and structure of XLIFF 2.1 is defined using ten (10) XML
      Schemas and one (1) XML catalog. The module schemas are specifically referenced from their
      respective modules.</para>
    <para>Advanced static <firstterm>Constraints</firstterm> and dynamic <firstterm>Processing
        Requirements</firstterm> that could not be expressed using <link linkend="XMLSchema">[XML
        Schema]</link> 1.0 are expressed in nine (9) <link linkend="Schematron">Schematron</link>
      schemas.</para>
    <para>Relationships among all of the above mentioned machine readable validation artifacts
      provided as part of this multipart product is expressed using one (1) <link linkend="NVDL">NVDL</link> schema.</para>
    <warning>
    <para>Albeit the TC has made effort to cover the prose specification with standardized
        declarative validation artifacts to the maximum possible extent, there are some inherent
        limitations to the Schema languages employed to perform the validation. The informative
          <ulink url="http://tools.oasis-open.org/version-control/browse/wsvn/xliff/trunk/xliff-21/test-suite/#_trunk_xliff-21_test-suite_">Test Suite</ulink> provided through the XLIFF TC SVN does contain a number of invalid
        files that cannot be caught using only the normative validation artifacts that are
        distributed as part of this multipart Standard product. For instance <link linkend="bcp47">[BCP47]</link> compliance of <link linkend="srcLang"><code>srcLang</code></link>, <link linkend="trgLang"><code>trgLang</code></link>, or
          <link linkend="xml_lang"><code>xml:lang</code></link> cannot be fully validated by either W3C XML Schema or
        Schematron. Custom code is required to check this.</para>
    </warning>
      <warning>
        <para>NVDL is not capable of discerning Schemtaron Warnings from Schematron Errors.
          Therefore all Schematron Warnings will be reported as Errors when initiating the
          validation from the NVDL schema. Also most of the existing Schematron implementations are
          not capable of discerning Warnings from Errors, thus implementers are encouraged to re-use
          the provided Schematron schemas in custom made validation services that can make this
          distinction. Currently, the Warning/Error distinction is only important when evaluating
          adherence to Processing Requirements for <link linkend="editinghints">Editing Hints</link> in relation to segment <link linkend="state"><code>state</code></link>. It will
          be also beneficial for implementers who want to add project specific rules based on the
            <link linkend="validation_module">Validation Module</link>.</para>
      </warning>
    
    <!--   <para>[Relax NG schemas of <firstterm>XLIFF Core and Modules</firstterm> are provided. Although the Relax NG schemas are intended as normative validation artifacts, the XML Schema 1.0 [add normative reference] schemas and Schematron [add normative reference] schemas have precedence in case of conflicting validation results.]
      [This is only relevant if Relax NG is provided.]</para> -->
    
    
    <section id="schema_tree">
    <title>XML Schemas Tree</title>

<programlisting format="linespecific">
    
<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_2_advanced_validation.nvdl"><code>Master NVDL Schema</code></ulink>
   |      |
   |    <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.0.xsd"><code>Core XML Schema</code></ulink>|
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/matches.xsd"><code>Candidates Module XML Schema</code></ulink>
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/glossary.xsd"><code>Glossary Module XML Schema</code></ulink>
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/fs.xsd"><code>Format Style Module XML Schema</code></ulink>
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/metadata.xsd"><code>Metadata Module XML Schema</code></ulink>
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/resource_data.xsd"><code>Resource Data Module XML Schema</code></ulink>
   <!--  |      |
   |      +- - -<ulink url="&this-loc;/schemas/change_tracking.xsd"><code>Change Tracking Module XML Schema</code></ulink> -->
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/size_restriction.xsd"><code>Size and Length Restriction Module XML Schema</code></ulink>
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/validation.xsd"><code>Validation Module XML Schema</code></ulink>
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.xsd"><code>ITS Module XML Schema (W3C namespace subset)</code></ulink>
   |      |
   |      +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/itsm.xsd"><code>ITS Module XML Schema (additional attributes)</code></ulink>
   |
   +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.1.sch"><code>Core constraints</code></ulink>
         |
         +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/matches.sch"><code>Candidates Module Constraints</code></ulink>
         |
         +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/glossary.sch"><code>Glossary Module Constraints</code></ulink>
         |
         +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/fs.sch"><code>Format Style Module Constraints</code></ulink>
         |
         +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/resource_data.sch"><code>Resource Data Module Constraints</code></ulink>
         |
         +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/size_restriction.sch"><code>Size and Length Restriction Module Constraints</code></ulink>
         <!-- |
         +- - -<ulink url="&this-loc;/schemas/change_tracking.sch"><code>Change Tracking Module Constraints</code></ulink> -->
         |
         +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/metadata.sch"><code>Metadata Module Constraints</code></ulink>
         |
         +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/validation.sch"><code>Validation Module Constraints</code></ulink>
         |
         +---<ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/its.sch"><code>ITS Module Constraints</code></ulink>
 
</programlisting>

</section>

<!--  TC agreed not to include the schema listings
    <xi:include href="core/catalog.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
   
    <xi:include href="core/schema.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 -->
    <section>
      <title>Support Schemas</title>
      <para>Third party support schemas that are normatively referenced from this specification or
        from the machine readable artifacts that are a part of this multipart product are distributed
        along with the <firstterm>XLIFF-defined</firstterm> schemas in a subfolder named
        <code>informativeCopiesOf3rdPartySchemas</code> and further subdivided in folders according to the
      owner/maintainer of the schema.</para>
      <warning>
      <para>Schema copies in this sub-folder are provided solely for implementers convenience and are NOT a part of the OASIS multipart product.
        These schemas belong to their respective owners and their use is governed by their owners' respective IPR policies.
        The support schemas are organized in folders per owner/maintainer.
        It is the implementer's sole responsibility to ensure that their local copies of all schemas are the appropriate up to date versions.</para></warning>

        <para>Currently the only included third party support schema is
          <ulink url="http://www.w3.org/2001/xml.xsd">http://www.w3.org/2001/xml.xsd</ulink> [<ulink url="http://www.w3.org/2009/01/xml.xsd">http://www.w3.org/2009/01/xml.xsd</ulink>] at <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/informativeCopiesOf3rdPartySchemas/w3c/xml.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/informativeCopiesOf3rdPartySchemas/w3c/xml.xsd</ulink> in this distribution.</para>
    </section>

  </appendix>

  <!--  consensus in meeting on 3rd May 2016 to get rid of the ITS appendix and summarize ITS support in the Module specification 
  <appendix role="informative" id="ITSSupport">
    <title>ITS 2.0 Support in XLIFF Version 2.1</title>
    <para>This appendix provides a non-normative summary of <olink
      targetdoc="../xliff21.xml" targetptr="ITS20">[ITS]</olink> support in XLIFF 2.1.</para>
  <warning>
    <title>Editorial warning!</title>
<para>The following resources have been moved to the module folder so the includes would be broken after uncommenting this appendix.</para>
  </warning>
    <xi:include href="ITS/ITSInCore.xml"
      xmlns:xi="http://www.w3.org/2001/XInclude"/>
    
    <xi:include href="ITS/ITSPartialOverlap.xml"
      xmlns:xi="http://www.w3.org/2001/XInclude"/>
    <xi:include href="ITS/ITSthroughITSModule.xml"
      xmlns:xi="http://www.w3.org/2001/XInclude"/>
    <xi:include href="ITS/ITSnonMetadata.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
    
    
    
    
  </appendix>
   -->

  <appendix role="informative" id="specChangeTracking">
    <title>Specification Change Tracking</title>
    
    <section id="ChangeTrackWRT20">
<title>High Level Summary of Changes made in Comparison to XLIFF Version 2.0</title>
<para>This is to facilitate human tracking of changes between XLIFF Versions 2.1 and 2.0. </para>
   
   
   <orderedlist inheritnum="ignore" continuation="restarts">
      <!--  Add new change track items to the bottom of the list  -->
      <listitem>
         <para>Two major features are being added in XLIFF Version 2.1:</para>
         <orderedlist inheritnum="ignore" continuation="restarts">
            <listitem>
               <para>Advanced Validation methods</para>
            </listitem>
            <listitem>
               <para>Native Support for ITS 2.0</para>
            </listitem>
         </orderedlist>
      </listitem>
      <listitem>
         <para>The Change Tracking Module was demoted to an extension to free hands of the TC and
            other implementers while working on a new version of the Change Tracking Module for
            XLIFF 2.2.</para>
      </listitem>
      <listitem>
         <para>A major bug fix was performed on the core xsd. The core xsd now enforces the
               <code>xs:language</code> data type on the <code>srcLang</code> and
               <code>trgLang</code> attributes. It was critical to make this fix, because -- as per
            OASIS policy -- validation artifacts would prevail over the prose provisions that are
            correct in both XLIFF 2.1 and XLIFF 2.0.</para>
      </listitem>
      <listitem>
         <para>Also an erroneously omitted Constraint of the <link linkend="xml_lang"><code>xml:lang</code></link> attribute on the <link linkend="source"><code>&lt;source&gt;</code></link>
            element has been added/restored in the normative text.</para>
      </listitem>
      <listitem>
         <para>Apart from the five (5) major changes mentioned above, numerous editorial bugfixes
            were made to secure greater clarity, either by fixing example errors or omissions, or by
            reorganizing normative content, so that the intent becomes clear and unequivocal at some
            troublesome places highlighted by XLIFF 2.0 implementers. </para>
      </listitem>
      <listitem>
         <para>Importantly, the TC decided to drop informative listings of the validation artifacts
            that had bloated the spec extent unnecessarily, were hard to keep in sync with the
            actual normative artifacts, while their actual usability proved rather limited --
            readers who were able to read schema languages would not actually read them as printed
            listings and would anyways refer to the actual validation artifacts that are now
            referenced more prominently.</para>
      </listitem>
      
      
   
      
      <!--  Add new change track items to the bottom of the list
<listitem>
<para>[This is a suggested wording for your change track item:] In response to comment(s) nnn, nnn, and nnn, following changes have been made to
feature XYZ: [description of changes]... </para>
</listitem>
 -->
      
   </orderedlist>
   <para>In spite of the above mentioned changes, fixes, clarifications, and additions, the
      practical workings of the <firstterm>XLIFF Core</firstterm> hasn't been affected and none of
      the changes (except the bugfixes under 3 and 4) have affected the core namespace
         <code>"urn:oasis:names:tc:xliff:document:2.0"</code> or the <firstterm>XLIFF
         Core</firstterm>
      <link linkend="XMLSchema">[XML Schema]</link>, <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.0.xsd">http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/schemas/xliff_core_2.0.xsd</ulink> that expresses its basic grammar
      and structure.</para>
</section>
    <!--   This appendix will further contain tracked changes after the csprd01 phase will have been
      reached. -->
    <section id="ReviewChangeTrack">
<title>Tracking of changes made in response to Public Reviews</title>
<para>This is to facilitate human tracking of changes in the specification made since the first
      Public Review publication on 26th October 2016. </para>
 <!-- <xi:include href="cos01.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> 
 <xi:include href="cos01.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
    <xi:include href="csprd03.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
 -->
   <section id="cos01">
<title>Tracking of changes in response to the Public Review of the Candidate OASIS Standard
        01</title>
<para>This section tracks all changes made to this specification compared to the Candidate OASIS
        Standard 01 <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/cos01/xliff-core-v2.1-cos01.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/cos01/xliff-core-v2.1-cos01.html</ulink>.
        This Public Review took place from 20th October 2017 until 19th December 2017.</para>
<orderedlist inheritnum="ignore" continuation="restarts">
<!--  Add new change track items to the bottom of the list  -->
        
        <listitem>
            <para>An important typo in several occurrences of the W3C ITS namespace has been fixed
                in response to Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-73">https://issues.oasis-open.org/browse/XLIFF-73</ulink>. The typo did confuse
                implementers although the correct namespace had been used throughout the validation
                artifacts. </para>
        </listitem>
        <listitem>
            <para>A minor editorial improvement was made in response to Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-72">https://issues.oasis-open.org/browse/XLIFF-72</ulink>.
            </para>
        </listitem>
                
               

<!--  Add new change track items to the bottom of the list
<listitem>
<para>[This is a suggested wording for your change track item:] In response to comment(s) nnn, nnn, and nnn, following changes have been made to
feature XYZ: [description of changes]... </para>
</listitem>
 -->

</orderedlist>

</section>
   <section id="csprd04">
<title>Tracking of changes in response to the 4th Public Review</title>
<para>This section tracks all changes made to this specification compared to the Committee
        Specification Draft 04 / Public Review Draft 04 <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd04/xliff-core-v2.1-csprd04.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd04/xliff-core-v2.1-csprd04.html</ulink>.
        This subsequent Public Review took place from 5th June 2017 until 20th June 2017.</para>
<orderedlist inheritnum="ignore" continuation="restarts">
<!--  Add new change track items to the bottom of the list  -->
        
        <listitem>
            <para>Xpath expressions have been fixed in ITS Rules in response to
                Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-58">https://issues.oasis-open.org/browse/XLIFF-58</ulink>.</para>
        </listitem>
        <listitem>
            <para>Minor editorial fixes and improvements were made in response to Comments/Issues <ulink url="https://issues.oasis-open.org/browse/XLIFF-57">https://issues.oasis-open.org/browse/XLIFF-57</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-62">https://issues.oasis-open.org/browse/XLIFF-62</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-63">https://issues.oasis-open.org/browse/XLIFF-63</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-64">https://issues.oasis-open.org/browse/XLIFF-64</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-65">https://issues.oasis-open.org/browse/XLIFF-65</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-66">https://issues.oasis-open.org/browse/XLIFF-66</ulink>, and <ulink url="https://issues.oasis-open.org/browse/XLIFF-70">https://issues.oasis-open.org/browse/XLIFF-70</ulink>.</para>
        </listitem>
        <listitem>
            <para>Trivial editorial fixes and improvements  were made in response to Comments/Issues <ulink url="https://issues.oasis-open.org/browse/XLIFF-59">https://issues.oasis-open.org/browse/XLIFF-59</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-60">https://issues.oasis-open.org/browse/XLIFF-60</ulink>, and <ulink url="https://issues.oasis-open.org/browse/XLIFF-61">https://issues.oasis-open.org/browse/XLIFF-61</ulink>.</para>
        </listitem>
                
               

<!--  Add new change track items to the bottom of the list
<listitem>
<para>[This is a suggested wording for your change track item:] In response to comment(s) nnn, nnn, and nnn, following changes have been made to
feature XYZ: [description of changes]... </para>
</listitem>
 -->

</orderedlist>

</section>
   <section id="csprd03">
<title>Tracking of changes in response to the 3rd Public Review</title>
<para>This section tracks all changes made to this specification compared to the Committee
        Specification Draft 03 / Public Review Draft 03 <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd03/xliff-core-v2.1-csprd03.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd03/xliff-core-v2.1-csprd03.html</ulink>.
        This subsequent Public Review took place from 17th April 2017 until 1st May 2017.</para>
<orderedlist inheritnum="ignore" continuation="restarts">
<!--  Add new change track items to the bottom of the list  -->
<!--  
    <listitem>
    <para>Major changes were made in the ITS Module and validation artifacts in response to
        Comment/Issues <ulink url="https://issues.oasis-open.org/browse/XLIFF-5">https://issues.oasis-open.org/browse/XLIFF-5</ulink> and most importantly <ulink url="https://issues.oasis-open.org/browse/XLIFF-9"
                    >https://issues.oasis-open.org/browse/XLIFF-9</ulink> and its child issues:
                    <ulink url="https://issues.oasis-open.org/browse/XLIFF-6"
                    >https://issues.oasis-open.org/browse/XLIFF-6</ulink>, <ulink
                    url="https://issues.oasis-open.org/browse/XLIFF-18"
                    >https://issues.oasis-open.org/browse/XLIFF-18</ulink>, and <ulink
                    url="https://issues.oasis-open.org/browse/XLIFF-19"
                    >https://issues.oasis-open.org/browse/XLIFF-19</ulink>. </para>
</listitem>
        <listitem>
            <para>Major changes were made in the Change Tracking Module and validation artifacts in
                response to Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-4">https://issues.oasis-open.org/browse/XLIFF-4</ulink></para>
        </listitem>
        <listitem>
            <para>Clarifications to Core with Advanced Validation impact, non-of which were
                normative changes were provided in response to Comments/Issues: 
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-10">https://issues.oasis-open.org/browse/XLIFF-10</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-11">https://issues.oasis-open.org/browse/XLIFF-11</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-12">https://issues.oasis-open.org/browse/XLIFF-12</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-13">https://issues.oasis-open.org/browse/XLIFF-13</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-14">https://issues.oasis-open.org/browse/XLIFF-14</ulink>
                
                
            </para>
        </listitem>
        <listitem>
            <para>Material clarification with Advanced Validation Impact was provided for the
                Translation Candidate Module in response to Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-20">https://issues.oasis-open.org/browse/XLIFF-20</ulink>.</para>
        </listitem>  -->
        
        <listitem>
            <para>Major bug fix of the core Schematron Schema has been made in response to
                Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-48">https://issues.oasis-open.org/browse/XLIFF-48</ulink>. The core Schematron now
                enforces that non-reorderable sequences start with a code with
                    <code>canReorder</code> set to <code>firstNo</code> and also enforces the
                repetition of non-reorderable sequences in <code>&lt;target&gt;</code> elements. In
                connection with this issue, issues <ulink url="https://issues.oasis-open.org/browse/XLIFF-10">https://issues.oasis-open.org/browse/XLIFF-10</ulink> and <ulink url="https://issues.oasis-open.org/browse/XLIFF-11">https://issues.oasis-open.org/browse/XLIFF-11</ulink> were reopened and changes
                in core Schematron made to ensure that the rules for enforcing of editing hints
                compliance in <code>target</code> elements worked properly in concert with reporting
                of invalid <code>&lt;segment&gt;</code>
                <code>state</code>.</para>
        </listitem>
        <listitem>
            <para>Another major bug fix was due reopened <ulink url="https://issues.oasis-open.org/browse/XLIFF-38">https://issues.oasis-open.org/browse/XLIFF-38</ulink>, validation methods had
                to be adjusted for core and core reused in modules in the NVDL.</para>
        </listitem>
        <listitem>
            <para>An erroneously omitted Constraint of the <link linkend="xml_lang"><code>xml:lang</code></link> attribute on the <link linkend="source"><code>&lt;source&gt;</code></link>
                element has be added/restored in the normative text and check therefore introduced
                in the Core Schematron Schema in response to Issue/Comment <ulink url="https://issues.oasis-open.org/browse/XLIFF-55">https://issues.oasis-open.org/browse/XLIFF-55</ulink>.</para>
        </listitem>
        <listitem>
            <para><code>its:version</code> attribute was introduced in response to Issue/Comment <ulink url="https://issues.oasis-open.org/browse/XLIFF-54">https://issues.oasis-open.org/browse/XLIFF-54</ulink>.</para>
        </listitem>
        <listitem>
            <para>Due to reopening of <ulink url="https://issues.oasis-open.org/browse/XLIFF-38">https://issues.oasis-open.org/browse/XLIFF-8</ulink>, mapping of
                <code>locQualityRatingScore</code> was removed from <code>matchQuality</code>. This eased the implementation
                of both ITS MT Confidence end Localization Quality Rating considerably.</para>
        </listitem>
        <listitem>
            <para>Changes were made to validation of <code>annotatorsRef</code> attribute in
                response to Issue/Comment <ulink url="https://issues.oasis-open.org/browse/XLIFF-52">https://issues.oasis-open.org/browse/XLIFF-52</ulink>. Examples using
                    <code>annotatorsRef</code> had be reformatted not to suggest a wrong
                interpretation of the attribute.</para>
        </listitem>
        <listitem>
            <para>Editorial fixes were made in response to Comments/Issues: <ulink url="https://issues.oasis-open.org/browse/XLIFF-47">https://issues.oasis-open.org/browse/XLIFF-47</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-50">https://issues.oasis-open.org/browse/XLIFF-50</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-51">https://issues.oasis-open.org/browse/XLIFF-51</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-53">https://issues.oasis-open.org/browse/XLIFF-53</ulink> and <ulink url="https://issues.oasis-open.org/browse/XLIFF-56">https://issues.oasis-open.org/browse/XLIFF-56</ulink>.</para>
        </listitem>
                    
                
                
                
               

<!--  Add new change track items to the bottom of the list
<listitem>
<para>[This is a suggested wording for your change track item:] In response to comment(s) nnn, nnn, and nnn, following changes have been made to
feature XYZ: [description of changes]... </para>
</listitem>
 -->

</orderedlist>

</section>
   <section id="csprd02">
<title>Tracking of changes in response to the 2nd Public Review</title>
<para>This section tracks major changes made to this specification compared to the Committee
        Specification Draft 02 / Public Review Draft 02 <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd02/xliff-core-v2.1-csprd02.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd02/xliff-core-v2.1-csprd02.html</ulink>.
        This subsequent Public Review took place from 10th February 2017 until 24th February
        2017.</para>
<orderedlist inheritnum="ignore" continuation="restarts">
<!--  Add new change track items to the bottom of the list  -->
<!--  
    <listitem>
    <para>Major changes were made in the ITS Module and validation artifacts in response to
        Comment/Issues <ulink url="https://issues.oasis-open.org/browse/XLIFF-5">https://issues.oasis-open.org/browse/XLIFF-5</ulink> and most importantly <ulink url="https://issues.oasis-open.org/browse/XLIFF-9"
                    >https://issues.oasis-open.org/browse/XLIFF-9</ulink> and its child issues:
                    <ulink url="https://issues.oasis-open.org/browse/XLIFF-6"
                    >https://issues.oasis-open.org/browse/XLIFF-6</ulink>, <ulink
                    url="https://issues.oasis-open.org/browse/XLIFF-18"
                    >https://issues.oasis-open.org/browse/XLIFF-18</ulink>, and <ulink
                    url="https://issues.oasis-open.org/browse/XLIFF-19"
                    >https://issues.oasis-open.org/browse/XLIFF-19</ulink>. </para>
</listitem>
        <listitem>
            <para>Major changes were made in the Change Tracking Module and validation artifacts in
                response to Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-4">https://issues.oasis-open.org/browse/XLIFF-4</ulink></para>
        </listitem>
        <listitem>
            <para>Clarifications to Core with Advanced Validation impact, non-of which were
                normative changes were provided in response to Comments/Issues: 
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-10">https://issues.oasis-open.org/browse/XLIFF-10</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-11">https://issues.oasis-open.org/browse/XLIFF-11</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-12">https://issues.oasis-open.org/browse/XLIFF-12</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-13">https://issues.oasis-open.org/browse/XLIFF-13</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-14">https://issues.oasis-open.org/browse/XLIFF-14</ulink>
                
                
            </para>
        </listitem>
        <listitem>
            <para>Material clarification with Advanced Validation Impact was provided for the
                Translation Candidate Module in response to Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-20">https://issues.oasis-open.org/browse/XLIFF-20</ulink>.</para>
        </listitem>  -->
        <listitem>
            <para>The Change Tracking Module has been demoted to an Extension and the update of the
                Change Tracking Module has been postponed for XLIFF 2.2 in response to the
                Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-32">https://issues.oasis-open.org/browse/XLIFF-32</ulink>. This radical move
                obsoleted the dependent Comments/Issues: <ulink url="https://issues.oasis-open.org/browse/XLIFF-22">https://issues.oasis-open.org/browse/XLIFF-21</ulink>
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-22">https://issues.oasis-open.org/browse/XLIFF-22</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-22">https://issues.oasis-open.org/browse/XLIFF-30</ulink>,  and <ulink url="https://issues.oasis-open.org/browse/XLIFF-44">https://issues.oasis-open.org/browse/XLIFF-44</ulink>.</para>
        </listitem>
        <listitem>
            <para>Major bugfix of the core XML Schema has been made in response to Comment/Issue
                    <ulink url="https://issues.oasis-open.org/browse/XLIFF-46">https://issues.oasis-open.org/browse/XLIFF-46</ulink>. The core xsd now
                enforces the <code>xs:language</code> type on the <code>srcLang</code> and
                    <code>trgLang</code> attributes.</para>
        </listitem>
        <listitem>
            <para>Major fix to the NVDL Schema has been made in response to Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-38">https://issues.oasis-open.org/browse/XLIFF-38</ulink>.</para>
        </listitem>
        <listitem>
            <para>Erroneous namespace, data type, and/or rules provisions have been fixed in the ITS
                Module prose and validation artifacts in response to Comments/Issues: <ulink url="https://issues.oasis-open.org/browse/XLIFF-33">https://issues.oasis-open.org/browse/XLIFF-33</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-34">https://issues.oasis-open.org/browse/XLIFF-34</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-34">https://issues.oasis-open.org/browse/XLIFF-35</ulink> and <ulink url="https://issues.oasis-open.org/browse/XLIFF-45">https://issues.oasis-open.org/browse/XLIFF-45</ulink>.</para>
        </listitem>
        <listitem>
            <para>Material changes have been made to the Locale Filter data category in the ITS
                Module in response to Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-43">https://issues.oasis-open.org/browse/XLIFF-43</ulink>.</para>
        </listitem>
        <listitem>
            <para>Major editorial changes have been made in response to Comments/Issues: <ulink url="https://issues.oasis-open.org/browse/XLIFF-23">https://issues.oasis-open.org/browse/XLIFF-23</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-24">https://issues.oasis-open.org/browse/XLIFF-24</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-37">https://issues.oasis-open.org/browse/XLIFF-37</ulink>, and <ulink url="https://issues.oasis-open.org/browse/XLIFF-42">https://issues.oasis-open.org/browse/XLIFF-42</ulink>. </para>
        </listitem>
                <listitem>
                    <para>Minor editorial changes have been made in response to Comments/Issues:
                    <ulink url="https://issues.oasis-open.org/browse/XLIFF-26">https://issues.oasis-open.org/browse/XLIFF-26</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-28">https://issues.oasis-open.org/browse/XLIFF-28</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-31">https://issues.oasis-open.org/browse/XLIFF-31</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-36">https://issues.oasis-open.org/browse/XLIFF-36</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-39">https://issues.oasis-open.org/browse/XLIFF-39</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-40">https://issues.oasis-open.org/browse/XLIFF-40</ulink>, and <ulink url="https://issues.oasis-open.org/browse/XLIFF-41">https://issues.oasis-open.org/browse/XLIFF-41</ulink>. </para>
                </listitem>
    <listitem>
        <para>Trivial editorial changes have been made in response to Comments/Issues: <ulink url="https://issues.oasis-open.org/browse/XLIFF-25">https://issues.oasis-open.org/browse/XLIFF-25</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-27">https://issues.oasis-open.org/browse/XLIFF-27</ulink>, and <ulink url="https://issues.oasis-open.org/browse/XLIFF-29">https://issues.oasis-open.org/browse/XLIFF-29</ulink>. </para>
    </listitem>
    
                
                
                
                
               

<!--  Add new change track items to the bottom of the list
<listitem>
<para>[This is a suggested wording for your change track item:] In response to comment(s) nnn, nnn, and nnn, following changes have been made to
feature XYZ: [description of changes]... </para>
</listitem>
 -->

</orderedlist>

</section>
   <section id="csprd01">
<title>Tracking of changes in response to the 1st Public Review</title>
<para>This section tracks major changes made to this specification compared to the Committee
        Specification Draft 01 / Public Review Draft 01 <ulink url="http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd01/xliff-core-v2.1-csprd01.html">http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd01/xliff-core-v2.1-csprd01.html</ulink>.
        The initial Public Review took place from 26th October 2016 until 25th November 2016.</para>
<orderedlist inheritnum="ignore" continuation="restarts">
<!--  Add new change track items to the bottom of the list  -->
<listitem>
    <para>Major changes were made in the ITS Module and validation artifacts in response to
        Comment/Issues <ulink url="https://issues.oasis-open.org/browse/XLIFF-5">https://issues.oasis-open.org/browse/XLIFF-5</ulink> and most importantly <ulink url="https://issues.oasis-open.org/browse/XLIFF-9">https://issues.oasis-open.org/browse/XLIFF-9</ulink> and its child issues:
                    <ulink url="https://issues.oasis-open.org/browse/XLIFF-6">https://issues.oasis-open.org/browse/XLIFF-6</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-18">https://issues.oasis-open.org/browse/XLIFF-18</ulink>, and <ulink url="https://issues.oasis-open.org/browse/XLIFF-19">https://issues.oasis-open.org/browse/XLIFF-19</ulink>. </para>
</listitem>
        <listitem>
            <para>Major changes were made in the Change Tracking Module and validation artifacts in
                response to Comment/Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-4">https://issues.oasis-open.org/browse/XLIFF-4</ulink></para>
        </listitem>
        <listitem>
            <para>Clarifications to Core with Advanced Validation impact, non-of which were
                normative changes were provided in response to Comments/Issues: 
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-10">https://issues.oasis-open.org/browse/XLIFF-10</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-11">https://issues.oasis-open.org/browse/XLIFF-11</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-12">https://issues.oasis-open.org/browse/XLIFF-12</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-13">https://issues.oasis-open.org/browse/XLIFF-13</ulink>,
                <ulink url="https://issues.oasis-open.org/browse/XLIFF-14">https://issues.oasis-open.org/browse/XLIFF-14</ulink>
                
                
            </para>
        </listitem>
        <listitem>
            <para>Material clarification with Advanced Validation Impact was provided for the
                Translation Candidate Module in response to Issue <ulink url="https://issues.oasis-open.org/browse/XLIFF-20">https://issues.oasis-open.org/browse/XLIFF-20</ulink>.</para>
        </listitem>
        <listitem>
            <para>Editorial changes have been made in response to Comments/Issues: <ulink url="https://issues.oasis-open.org/browse/XLIFF-1">https://issues.oasis-open.org/browse/XLIFF-1</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-2">https://issues.oasis-open.org/browse/XLIFF-2</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-3">https://issues.oasis-open.org/browse/XLIFF-3</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-7">https://issues.oasis-open.org/browse/XLIFF-7</ulink>, <ulink url="https://issues.oasis-open.org/browse/XLIFF-15">https://issues.oasis-open.org/browse/XLIFF-15</ulink>, and <ulink url="https://issues.oasis-open.org/browse/XLIFF-17">https://issues.oasis-open.org/browse/XLIFF-17</ulink>. </para>
        </listitem>

<!--  Add new change track items to the bottom of the list
<listitem>
<para>[This is a suggested wording for your change track item:] In response to comment(s) nnn, nnn, and nnn, following changes have been made to
feature XYZ: [description of changes]... </para>
</listitem>
 -->

</orderedlist>

</section>
</section></appendix>

  <appendix role="informative" id="acknowledgements">
    <title>Acknowledgements</title>
    <para>The following individuals have participated in the creation of this specification and
      are gratefully acknowledged:</para>

    <itemizedlist spacing="compact">
      
      <listitem><para>Comerford, Tom - Individual </para></listitem>
      <listitem><para>Estreen, Fredrik - Lionbridge </para></listitem>
      <listitem><para>Filip, David - TCD, ADAPT Centre (formerly Localisation Research Centre)</para></listitem>
      <listitem>
        <para>King, Ryan - Microsoft </para>
      </listitem>
      <listitem><para>Loomis, Steven - IBM </para></listitem>
      <listitem><para>Morado Vázquez, Lucía - University of Geneva </para></listitem>
      <listitem><para>Ritchie, Phil - Vistatec </para></listitem>
      <listitem><para>Soroush Saadatfar, Localisation Research Centre</para></listitem>
      <listitem><para>Felix Sasaki - Individual</para></listitem>
      <listitem><para>Savourel, Yves - ENLASO Corporation </para></listitem>
      <listitem><para>Schnabel, Bryan - Individual </para></listitem>
      <listitem><para>Tingley, Chase - Spartan Software Inc.</para></listitem>
      
      
    </itemizedlist>

  </appendix>


</article>