- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 04 Oct 2012 12:28:41 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version In directory hutz:/tmp/cvs-serv32573/TR-version Modified Files: Overview.html Log Message: New user: mt. See text at http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2012Oct/0037.html Index: Overview.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html,v retrieving revision 1.51 retrieving revision 1.52 diff -u -d -r1.51 -r1.52 --- Overview.html 20 Sep 2012 09:12:23 -0000 1.51 +++ Overview.html 4 Oct 2012 12:28:39 -0000 1.52 @@ -91,9 +91,9 @@ <div class="toc3">5.2.3 <a href="#selection-local">Local Selection in an XML Document</a></div> </div> <div class="toc2">5.3 <a href="#selectors">Query Language of Selectors</a><div class="toc3">5.3.1 <a href="#queryLanguage">Choosing Query Language</a></div> -<div class="toc3">5.3.2 <a href="#d3e2406">XPath 1.0</a></div> -<div class="toc3">5.3.3 <a href="#d3e2586">CSS Selectors</a></div> -<div class="toc3">5.3.4 <a href="#d3e2622">Additional query languages</a></div> +<div class="toc3">5.3.2 <a href="#d3e2411">XPath 1.0</a></div> +<div class="toc3">5.3.3 <a href="#d3e2591">CSS Selectors</a></div> +<div class="toc3">5.3.4 <a href="#d3e2627">Additional query languages</a></div> <div class="toc3">5.3.5 <a href="#its-param">Variables in selectors</a></div> </div> <div class="toc2">5.4 <a href="#link-external-rules">Link to External Rules</a></div> @@ -349,7 +349,8 @@ manner (see <a href="#selection-global">global, rule-based approach</a>). This global work, however, may fall to information architects, rather than the content producers - themselves.</p></div></div><div class="div3"> + themselves.</p></div><div class="div4"> +<h5><a name="users_machine-translation" id="users_machine-translation"></a>1.3.1.5Machine Translation systems</h5><p>This type of service is intended for a broad user community ranging from developers and integrators through translation companies and agencies, freelance translators and post-editors to ordinary translation consumers and other types of MT employment. Data categories are envisaged for supporting and guiding the different automated backend processes of this service type, thereby adding substantial value to the service results as well as possible subsequent services. These processes include basic tasks, like parsing constraints and markup, and compositional tasks, such as disambiguation. These tasks consume and generate valuable metadata from and for third party users, for example, provenance information and quality scoring, and add relevant information for follow-on tasks, processes and services, such as MT post-editing, MT training and MT terminological enhancement.</p></div></div><div class=div3"> <h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="ways-to-use-its" id="ways-to-use-its"></a>1.3.2 Ways to Use ITS</h4><p>The ITS specification proposes several mechanisms for supporting worldwide use and effective internationalization and localization of content. We will sketch them below by looking at them from the @@ -374,7 +375,7 @@ </body> </help></pre></div><p>[Source file: <a href="examples/xml/EX-ways-to-use-its-1.xml">examples/xml/EX-ways-to-use-its-1.xml</a>]</p></div><ul><li><p>A content author or information architect uses markup at the top of the document to identify a particular type of element or - context in which the content should not be translated.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e439" id="d3e439"></a>Example 4: Use of ITS by information architect</div><p>The <a class="itsmarkup" href="#translateRule">translateRule</a> element is used in the header of the + context in which the content should not be translated.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e444" id="d3e444"></a>Example 4: Use of ITS by information architect</div><p>The <a class="itsmarkup" href="#translateRule">translateRule</a> element is used in the header of the document to indicate that none of the <code>path</code> or <code>cmd</code> elements should be translated.</p><div class="exampleInner"><pre> <help @@ -392,7 +393,7 @@ Then from there, run batch file <cmd>Build.bat</cmd>.</p> </body> </help></pre></div><p>[Source file: <a href="examples/xml/EX-ways-to-use-its-2.xml">examples/xml/EX-ways-to-use-its-2.xml</a>]</p></div><ul><li><p>A processor may insert markup at the top of the document which - links to ITS information outside of the document.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e464" id="d3e464"></a>Example 5: Use of ITS by processor</div><p>A <a class="itsmarkup" href="#rules">rules</a> element is inserted in the header of the document. + links to ITS information outside of the document.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e469" id="d3e469"></a>Example 5: Use of ITS by processor</div><p>A <a class="itsmarkup" href="#rules">rules</a> element is inserted in the header of the document. It has a XLink <a class="itsmarkup" href="#rules.attributes">href</a> attribute used to link to an <a href="#link-external-rules">ITS external rule</a> document.</p><div class="exampleInner"><pre> <help @@ -408,7 +409,7 @@ <path>\Zebulon\Current Source\binary</path> directory. Then from there, run batch file <cmd>Build.bat</cmd>.</p> </body> -</help></pre></div><p>[Source file: <a href="examples/xml/EX-ways-to-use-its-3.xml">examples/xml/EX-ways-to-use-its-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e485" id="d3e485"></a>Example 6: ITS rule file shared by different documents</div><p>The <a class="itsmarkup" href="#rules">rules</a> element contains several ITS rules that are common +</help></pre></div><p>[Source file: <a href="examples/xml/EX-ways-to-use-its-3.xml">examples/xml/EX-ways-to-use-its-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e490" id="d3e490"></a>Example 6: ITS rule file shared by different documents</div><p>The <a class="itsmarkup" href="#rules">rules</a> element contains several ITS rules that are common to different documents. One of them is a <a class="itsmarkup" href="#translateRule">translateRule</a> element that indicates that no <code>path</code> or <code>cmd</code> element should be translated.</p><div class="exampleInner"><pre> @@ -417,7 +418,7 @@ <its:translateRule selector="//path | //cmd" translate="no"/> </its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-ways-to-use-its-4.xml">examples/xml/EX-ways-to-use-its-4.xml</a>]</p></div><ul><li><p>A schema developer integrates ITS markup declarations in his schema to allow users to indicate that specific parts of the - content should not be translated.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e513" id="d3e513"></a>Example 7: An XSD schema with ITS declaration</div><p>The declarations for the <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> attribute + content should not be translated.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e518" id="d3e518"></a>Example 7: An XSD schema with ITS declaration</div><p>The declarations for the <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> attribute is added to a group of common attributes <code>commonAtts</code>. This allows to use the <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> attribute within the documents like in <a href="#EX-ways-to-use-its-1">Example 3</a>.</p><div class="exampleInner"><pre> @@ -761,7 +762,7 @@ documents.] The concept of a data category is independent of its implementation in an XML environment (e.g. using an element or attribute).</p><p>For each data category, ITS distinguishes between the following:</p><ul><li><p>the prose description, see <a class="section-ref" href="#datacategory-description">Section 6: Description of Data Categories</a></p></li><li><p>schema language independent formalization, see the "markup - declarations" subsections in <a class="section-ref" href="#datacategory-description">Section 6: Description of Data Categories</a></p></li><li><p>schema language specific implementations, see <a class="section-ref" href="#its-schemas">Appendix E: Schemas for ITS</a></p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e1177" id="d3e1177"></a>Example 13: A data category and its implementation</div><p>The <a href="#trans-datacat">Translate</a> data category conveys + declarations" subsections in <a class="section-ref" href="#datacategory-description">Section 6: Description of Data Categories</a></p></li><li><p>schema language specific implementations, see <a class="section-ref" href="#its-schemas">Appendix E: Schemas for ITS</a></p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e1182" id="d3e1182"></a>Example 13: A data category and its implementation</div><p>The <a href="#trans-datacat">Translate</a> data category conveys information as to whether a piece of content should be translated or not.</p><p>The simplest formalization of this prose description on a schema language independent level is a <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> attribute with @@ -790,7 +791,7 @@ points. Thus in the following example, the translation information specified via the <a class="itsmarkup" href="#translateRule">translateRule</a> element applies to the filename "instructions.jpg", and is not an instruction to open the - graphic and change the words therein.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e1260" id="d3e1260"></a>Example 14: Selecting the text of a pointer to an external object</div><div class="exampleInner"><pre> + graphic and change the words therein.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e1265" id="d3e1265"></a>Example 14: Selecting the text of a pointer to an external object</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -862,11 +863,11 @@ examples.</p></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="conformance-product-processing-expectations" id="conformance-product-processing-expectations"></a>4.2 Conformance Type 2: The Processing Expectations for ITS Markup</h3><p/><p> <em>Description:</em> Processors need to compute the ITS information that - pertains to a node in an XML or HTML5 document. The ITS processing expectations - define how the computation has to be carried out. Correct computation - involves support for <a href="#def-selection">selection mechanism</a>, - <a href="#datacategories-defaults-etc">defaults / inheritance / - overriding characteristics</a>, and <a href="#selection-precedence">precedence</a>. The markup <a href="#rfc-keywords">MAY</a> be valid against a schema which + pertains to a node in an XML or HTML5 document. The ITS processing + expectations define how the computation has to be carried out. Correct + computation involves support for <a href="#def-selection">selection + mechanism</a>, <a href="#datacategories-defaults-etc">defaults / + inheritance / overriding characteristics</a>, and <a href="#selection-precedence">precedence</a>. The markup <a href="#rfc-keywords">MAY</a> be valid against a schema which conforms to the clauses in <a class="section-ref" href="#conformance-product-schema">Section 4.1: Conformance Type 1: ITS Markup Declarations</a>.</p><p> <em>Definitions related to this conformance type:</em> The processing expectations for ITS markup make use of selection mechanisms defined in <a class="section-ref" href="#its-processing">Section 5: Processing of ITS information</a>. The individual data @@ -899,14 +900,28 @@ <em>2-2:</em> If an application claims to process ITS markup for the global selection mechanism, it <a href="#rfc-keywords">MUST</a> process an XLink - <a class="itsmarkup" href="#rules.attributes">href</a> attribute found on a <a class="itsmarkup" href="#rules">rules</a> - elements. If he application processes HTML5 documents, it <a href="#rfc-keywords">MUST</a> process an HTML - <code>href</code> attribute found on an HTML <code>link</code> - element. The <code>link</code> element <a href="#rfc-keywords">MUST</a> also have a <code>rel</code> attribute with the value <code>its-rules</code>.</p></li><li><p id="its-conformance-2-3"> - <em>2-3:</em> If an application claims to process ITS markup implementing the conformance clauses 2-1, 2-2 and 2-3, it <a href="#rfc-keywords">MUST</a> process that markup with HTML5 or with XML documents.</p></li></ul><p id="its-processing-conformance-claims">Statements related to this + <a class="itsmarkup" href="#rules.attributes">href</a> attribute found on a <a class="itsmarkup" href="#rules">rules</a> elements. If + he application processes HTML5 documents, it <a href="#rfc-keywords">MUST</a> process an HTML + <code>href</code> attribute found on an HTML <code>link</code> + element. The <code>link</code> element <a href="#rfc-keywords">MUST</a> also have a <code>rel</code> attribute with the + value <code>its-rules</code>.</p></li><li><p id="its-conformance-2-3"> + <em>2-3:</em> If an application + claims to process ITS markup implementing the conformance clauses + 2-1, 2-2 and 2-3, it <a href="#rfc-keywords">MUST</a> process + that markup with HTML5 or with XML documents.</p></li></ul><p id="its-processing-conformance-claims">Statements related to this conformance type <a href="#rfc-keywords">MUST</a> list all <a href="#def-datacat">data categories</a> they implement, and for each <a href="#def-datacat">data category</a> which type of selection - they support, and whether they support processing of XML and / or HTML5.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The above conformance clauses are directly reflected in the <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#">ITS 2.0 test suite</a>. All tests specify which data category is processed (clause 2-1); they are relevant for (clause 2-1-1) global or local selection, or both; they require the processing of defaults and precedence of selections (clauses 2-1-2 and 2-1-3); for each data category there are tests with linked rules (2-2); and all types of tests are given for XML and HTML5 content (clause 2-3). Implementors are encouraged to organize their documentation in a similar way, so that users of ITS 2.0 easily can understand the processing capabilities availably.</p></div><span class="editor-note">[Ed. note: Need to update link to test suite once the test suite is moved.]</span></div></div><div class="div1"> + they support, and whether they support processing of XML and / or HTML5.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The above conformance clauses are directly reflected in the <a href="http://phaedrus.scss.tcd.ie/its2.0/its-testsuite.html#">ITS + 2.0 test suite</a>. All tests specify which data category is + processed (clause 2-1); they are relevant for (clause 2-1-1) global or + local selection, or both; they require the processing of defaults and + precedence of selections (clauses 2-1-2 and 2-1-3); for each data + category there are tests with linked rules (2-2); and all types of tests + are given for XML and HTML5 content (clause 2-3). Implementors are + encouraged to organize their documentation in a similar way, so that + users of ITS 2.0 easily can understand the processing capabilities + availably.</p></div><span class="editor-note">[Ed. note: Need to update link to test suite once the test suite is + moved.]</span></div></div><div class="div1"> <h2><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="its-processing" id="its-processing"></a>5 Processing of ITS information</h2><p> <em>This section is normative.</em> </p><div class="div2"> @@ -1044,7 +1059,8 @@ of the two attributes in HTML5 is compatibly, that is it provides the same values and interpretation, as the definition for the two data categories <a href="#trans-datacat">Translate</a> and - <a href="#directionality">Directionality</a>.</p></div><span class="editor-note">[Ed. note: Below patterns needs to be update to contain all newly introduced data categories.]</span><dl><dt class="label"><a name="att.local.no-ns" id="att.local.no-ns"></a>att.local.no-ns</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.local.no-ns.attributes" id="att.local.no-ns.attributes"/>[11] </td><td><code>att.local.no-ns.attributes</code></td><td> ::= </td><td><code> + <a href="#directionality">Directionality</a>.</p></div><span class="editor-note">[Ed. note: Below patterns needs to be update to contain all newly + introduced data categories.]</span><dl><dt class="label"><a name="att.local.no-ns" id="att.local.no-ns"></a>att.local.no-ns</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.local.no-ns.attributes" id="att.local.no-ns.attributes"/>[11] </td><td><code>att.local.no-ns.attributes</code></td><td> ::= </td><td><code> <a href="#att.local.no-ns.attribute.translate">att.local.no-ns.attribute.translate</a>, <a href="#att.local.no-ns.attribute.locNote">att.local.no-ns.attribute.locNote</a>, @@ -1099,9 +1115,9 @@ by <a class="itsmarkup" href="#rules.attributes">queryLanguage</a> attribute on <a class="itsmarkup" href="#rules">rules</a> element. If <code>queryLanguge</code> is not specified XPath 1.0 is used as a default query language.</p></div><div class="div3"> -<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="d3e2406" id="d3e2406"></a>5.3.2 XPath 1.0</h4><p>XPath 1.0 is identified by <code>xpath</code> value in +<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="d3e2411" id="d3e2411"></a>5.3.2 XPath 1.0</h4><p>XPath 1.0 is identified by <code>xpath</code> value in <a class="itsmarkup" href="#rules.attributes">queryLanguage</a> attribute.</p><div class="div4"> -<h5><a name="d3e2417" id="d3e2417"></a>5.3.2.1Absolute selector</h5><p>The absolute selector <a href="#rfc-keywords">MUST</a> be an +<h5><a name="d3e2422" id="d3e2422"></a>5.3.2.1Absolute selector</h5><p>The absolute selector <a href="#rfc-keywords">MUST</a> be an XPath expression which starts with "<code>/</code>". That is, it must be an <a href="http://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath"> AbsoluteLocationPath</a> or union of <a href="http://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath"> @@ -1116,7 +1132,7 @@ occurs. This includes the implicit declaration of the prefix <code>xml</code> required by the the <a href="#xmlns">XML Namespaces Recommendation</a>; the default namespace (as declared by <code>xmlns</code>) is not - part of this set.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2477" id="d3e2477"></a>Example 16: XPath expressions with namespaces</div><p>The <code>term</code> element from the TEI is in a namespace + part of this set.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2482" id="d3e2482"></a>Example 16: XPath expressions with namespaces</div><p>The <code>term</code> element from the TEI is in a namespace <code>http://www.tei-c.org/ns/1.0</code>. </p><div class="exampleInner"><pre> <!-- Definitions for TEI --> @@ -1124,7 +1140,7 @@ xmlns:its="http://www.w3.org/2005/11/its" xmlns:tei="http://www.tei-c.org/ns/1.0" version="2.0"> <its:termRule selector="//tei:term" term="yes"/> -</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-1.xml">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2495" id="d3e2495"></a>Example 17: XPath expressions without namespaces</div><p>The <code>term</code> element from DocBook V4.5 is in no +</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-1.xml">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2500" id="d3e2500"></a>Example 17: XPath expressions without namespaces</div><p>The <code>term</code> element from DocBook V4.5 is in no namespace.</p><div class="exampleInner"><pre> <!-- Definitions for DocBook --> @@ -1132,7 +1148,7 @@ xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:termRule selector="//term" term="yes"/> </its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-selection-global-2.xml">examples/xml/EX-selection-global-2.xml</a>]</p></div></div><div class="div4"> -<h5><a name="d3e2510" id="d3e2510"></a>5.3.2.2Relative selector</h5><p>The relative selector <a href="#rfc-keywords">MUST</a> use a +<h5><a name="d3e2515" id="d3e2515"></a>5.3.2.2Relative selector</h5><p>The relative selector <a href="#rfc-keywords">MUST</a> use a <a href="http://www.w3.org/TR/xpath/#NT-RelativeLocationPath">RelativeLocationPath</a> as described in <a href="#xpath">XPath 1.0</a>. The XPath expression is evaluated relative to the nodes selected by the selector attribute. The following attributes point to existing information: <a class="itsmarkup" href="#locNoteRule.attributes">locNotePointer</a>, @@ -1149,16 +1165,16 @@ attribute form the current node list.</p></li><li><p>Context node comes from the current node list.</p></li><li><p>The context position comes from the position of the current node in the current node list; the first position is 1.</p></li><li><p>The context size comes from the size of the current node list.</p></li></ul></div></div><div class="div3"> -<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="d3e2586" id="d3e2586"></a>5.3.3 CSS Selectors</h4><p>CSS Selectors are identified by <code>css</code> value in +<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="d3e2591" id="d3e2591"></a>5.3.3 CSS Selectors</h4><p>CSS Selectors are identified by <code>css</code> value in <a class="itsmarkup" href="#rules.attributes">queryLanguage</a> attribute.</p><div class="div4"> -<h5><a name="d3e2597" id="d3e2597"></a>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords">MUST</a> be +<h5><a name="d3e2602" id="d3e2602"></a>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords">MUST</a> be interpreted as selector as defined in <a href="#css3-selectors">Selectors Level 3</a>. Both simple selectors and groups of selectors can be used.</p></div><div class="div4"> -<h5><a name="d3e2608" id="d3e2608"></a>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords">MUST</a> be +<h5><a name="d3e2613" id="d3e2613"></a>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords">MUST</a> be interpreted as selector as defined in <a href="#css3-selectors">Selectors Level 3</a>. Selector is not evaluated against the complete document tree but only against subtrees rooted at nodes selected by selector in the <a class="itsmarkup" href="#att.selector.attribute.selector">selector</a> attribute.</p></div></div><div class="div3"> -<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="d3e2622" id="d3e2622"></a>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords">MAY</a> support additional +<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="d3e2627" id="d3e2627"></a>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords">MAY</a> support additional query languages. For each additional query language processor <a href="#rfc-keywords">MUST</a> define:</p><ul><li><p>identifier of query language used in <a class="itsmarkup" href="#rules.attributes">queryLanguage</a>;</p></li><li><p>rules for evaluating absolute selector to collection of nodes;</p></li><li><p>rules for evaluating relative selector to collection of @@ -1218,7 +1234,7 @@ <its:termRule selector="//term" term="yes"/> <its:withinTextRule withinText="yes" selector="//term | //b"/> </its:rules> -</myFormatInfo></pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-1.xml">examples/xml/EX-link-external-rules-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2789" id="d3e2789"></a>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre> +</myFormatInfo></pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-1.xml">examples/xml/EX-link-external-rules-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2794" id="d3e2794"></a>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre> <myDoc xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" > @@ -1233,7 +1249,7 @@ <p>A <term>Palouse horse</term> has a spotted coat.</p> </body> </myDoc></pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-2.xml">examples/xml/EX-link-external-rules-2.xml</a>]</p></div><p>The result of processing the two documents above is the same as processing - the following document.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2801" id="d3e2801"></a>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre> + the following document.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2806" id="d3e2806"></a>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre> <myDoc xmlns:its="http://www.w3.org/2005/11/its" > <header> @@ -1273,7 +1289,7 @@ higher precedence.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The precedence order fulfills the same purpose as the built-in template rules of <a title="XSL
								Transformations (XSLT) Version 1.0" href="#xslt10">[XSLT 1.0]</a>. Override semantics are always complete, that is all information that is specified in one rule - element is overridden by the next one.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2893" id="d3e2893"></a>Example 22: Conflicts between selections of ITS information which are resolved + element is overridden by the next one.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2898" id="d3e2898"></a>Example 22: Conflicts between selections of ITS information which are resolved using the precedence order</div><p>The two elements <code>title</code> and <code>author</code> of this document should be treated as separate content when inside a <code>prolog</code> element, but as part of the content of their parent element otherwise. @@ -1505,7 +1521,7 @@ <a href="#storagesize">Storage Size</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td> <code>its:storageEncoding="UTF-8"</code> - </td><td>None</td><td>tbd</td><td>tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3759" id="d3e3759"></a>Example 24: Defaults, inheritance and overriding behavior of data + </td><td>None</td><td>tbd</td><td>tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3764" id="d3e3764"></a>Example 24: Defaults, inheritance and overriding behavior of data categories</div><p>In this example, the content of all the <code>data</code> elements is translatable because the default for the <a href="#trans-datacat">Translate</a> data category in elements is "yes". The content of <code>revision</code> and <a class="itsmarkup" href="#locNote">locNote</a> is not translatable @@ -1701,7 +1717,7 @@ <body> <msg id="NotFound">Cannot find {0} on {1}.</msg> </body> -</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4250" id="d3e4250"></a>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute contains a <a href="#selectors">relative selector</a> pointing to a node +</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4255" id="d3e4255"></a>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes">locNoteRefPointer</a> attribute contains a <a href="#selectors">relative selector</a> pointing to a node that holds the URI referring to the location of the note.</p><div class="exampleInner"><pre> <dataFile xmlns:its="http://www.w3.org/2005/11/its" > @@ -1725,7 +1741,7 @@ contains a URI referring to the location of the localization note.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType">locNoteType</a> attribute with the value "description" or "alert". If the <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType">locNoteType</a> attribute is not present, the - type of localization note will be assumed to be"description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4312" id="d3e4312"></a>Example 32: The <a href="#locNote-datacat">Localization Note</a> data + type of localization note will be assumed to be"description". </p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4317" id="d3e4317"></a>Example 32: The <a href="#locNote-datacat">Localization Note</a> data category expressed locally</div><div class="exampleInner"><pre> <msgList xmlns:its="http://www.w3.org/2005/11/its" xml:space="preserve" @@ -1739,7 +1755,7 @@ its:locNote="%1\$s is the original text's date in the format YYYY-MM-DD HH:MM always in GMT"> <value>Translated from English content dated <span id="version-info">%1\$s</span> GMT.</value> </data> -</msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4325" id="d3e4325"></a>Example 33: The <a href="#locNote-datacat">Localization Note</a> data +</msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4330" id="d3e4330"></a>Example 33: The <a href="#locNote-datacat">Localization Note</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 <html lang=en> <head> @@ -1799,7 +1815,7 @@ term.</p></li><li><p>A <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node that holds the URI referring to the - location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4564" id="d3e4564"></a>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoPointer</a> attribute</div><div class="exampleInner"><pre> + location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4569" id="d3e4569"></a>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoPointer</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1810,7 +1826,7 @@ structure, between the implied author or some other addresser, and the fiction.</gloss> </p> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4577" id="d3e4577"></a>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef">termInfoRef</a> attribute</div><div class="exampleInner"><pre> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4582" id="d3e4582"></a>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef">termInfoRef</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1821,7 +1837,7 @@ structure, between the implied author or some other addresser, and the fiction.</gloss> </p> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4590" id="d3e4590"></a>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4595" id="d3e4595"></a>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1926,7 +1942,7 @@ available for the <a href="#directionality">Directionality</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.dir">dir</a> attribute with the value "ltr", "rtl", "lro" or - "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4938" id="d3e4938"></a>Example 41: The <a href="#directionality">Directionality</a> data + "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4943" id="d3e4943"></a>Example 41: The <a href="#directionality">Directionality</a> data category expressed locally</div><p>On the first <code>quote</code> element, the <code>its:dir="rtl"</code> attribute indicates a right-to-left content.</p><div class="exampleInner"><pre> <text @@ -1937,7 +1953,7 @@ its:dir="rtl"><span dir="rtl">نشاط التدويل، W3C</span></quote> means <quote>Internationalization Activity, W3C</quote>.</par> </body> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4962" id="d3e4962"></a>Example 42: The <a href="#directionality">Directionality</a> data +</text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4967" id="d3e4967"></a>Example 42: The <a href="#directionality">Directionality</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 <html lang=en> <head> @@ -2104,7 +2120,7 @@ within text.</p><p id="withintext-global">GLOBAL: The <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector">selector</a> attribute. It contains an <a href="#selectors">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.local.no-ns.attribute.withinText">withinText</a> attribute with the value - "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5646" id="d3e5646"></a>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> + "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5651" id="d3e5651"></a>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule">withinTextRule</a> element</div><div class="exampleInner"><pre> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> @@ -2232,17 +2248,17 @@ attribute domainPointer { string }, attribute domainMapping { string }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="Disambiguation" id="Disambiguation"></a>6.10 Disambiguation</h3><span class="editor-note">[Ed. note: This data category is not completely stable yet.]</span><div class="div3"> -<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="Disambiguation-definition" id="Disambiguation-definition"></a>6.10.1 Definition</h4><p>The <a href="#Disambiguation">Disambiguation</a> data category is - used to communicate the mentions of specific concepts that may require - special handling in the localization of the document.</p><p>This data category can be used for several purposes, including, but not - limited to:</p><ul><li><p>Informing translation systems that this fragment of text may not - be literally translated, but subject to specific proper-name - translation rules or official translations, as well as a very - specific meaning of the phrases.</p></li><li><p>Informing content management and translation systems about the - type of the underlying entity in order to enable processing based on - a specific type of the entity, for example, when handling personal - names, product names or geographic names, chemical compounds, - protein names and similar.</p></li></ul><p>We introduce the following concepts:</p><ul><li><p>Entity Type Source: a domain of valid values, an identifier +<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="Disambiguation-definition" id="Disambiguation-definition"></a>6.10.1 Definition</h4><p>The <a href="#Disambiguation">Disambiguation</a>ref> data category + is used to indicate occurrences of specific concepts that may require + special handling in the localization process.</p><p>This data category can be used for several purposes, including, but not + limited to:</p><ul><li><p>Informing translation systems that a fragment of text may be + subject to specific rules (e..g., concerning the translation of + proper names) or that it is has an official translation</p></li><li><p>Informing translation systems concerning the specific meaning of + phrases.</p></li><li><p>Informing content management and translation systems about the + type of underlying entity in order to enable processing based on a + specific type of the target, for example, personal names, product or + geographic names, chemical compounds, protein names, and so + forth.</p></li></ul><p>We introduce the following concepts:</p><ul><li><p>Entity Type Source: a domain of valid values, an identifier collection for entity types. Unless specified, it will be derived by default de-referencing mechanisms for the URI.</p></li><li><p>Entity Type: the type of the entity, being one of values within the entity type source identifier collection.</p></li><li><p>Disambiguation type: the level of disambiguation (lexical concept, @@ -2762,10 +2778,9 @@ <code>xml:space</code> attribute. For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, <em>including</em> child elements and - attributes.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="preserve-space-and-html5">The <a href="#preservespace">Preserve Space</a> data category - is not applicable to HTML5 documents because <code>xml:space</code> - (and by extension <a href="#preservespace">Preserve Space</a>) - has no effect in documents parsed as text/html.</p></div><p id="preservespace-global">GLOBAL: The <a class="itsmarkup" href="#preserveSpaceRule">preserveSpaceRule</a> + attributes.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="preserve-space-and-html5">The <a href="#preservespace">Preserve Space</a> data category is not applicable to HTML5 + documents because <code>xml:space</code> (and by extension <a href="#preservespace">Preserve Space</a>) has no effect in + documents parsed as text/html.</p></div><p id="preservespace-global">GLOBAL: The <a class="itsmarkup" href="#preserveSpaceRule">preserveSpaceRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector">selector</a> attribute. It contains an <a href="#selectors">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#preserveSpaceRule.attributes">space</a> attribute with the value "default" or "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-global-1" id="EX-perservespace-global-1"></a>Example 65: The <a href="#preservespace">Preserve Space</a> data @@ -3085,23 +3100,23 @@ <meta charset=utf-8> <title>Test</title> <script src=qaissues.js type=text/javascript></script> + <script id=its-standoff-1 type=application/xml> + <its:locQualityIssues xml:id="lq1" xmlns:its="http://www.w3.org/2005/11/its"> + <its:locQualityIssue + locQualityIssueType="misspelling" + locQualityIssueComment="'c'es' is unknown. Could be 'c'est'" + locQualityIssueSeverity="50"/> + <its:locQualityIssue + locQualityIssueType="typographical" + locQualityIssueComment="Sentence without capitalization" + locQualityIssueSeverity="30"/> + </its:locQualityIssues> + </script> <style type=text/css>.qaissue { background-color: yellow; } </style> </head> <body onload=addqaissueattrs()> <p> <span its-loc-quality-issues-ref=#lq1>c'es</span> le contenu</p> - <span id=lq1 its-loc-quality-issues=its-loc-quality-issues> - <span - its-loc-quality-issue=its-loc-quality-issue - its-loc-quality-issue-coment="Sentence without capitalization" - its-loc-quality-issue-severity=30 - its-loc-quality-issue-type=typographical></span> - <span - its-loc-quality-issue=its-loc-quality-issue - its-loc-quality-issue-coment="'c'es' is unknown. Could be 'c'est'" - its-loc-quality-issue-severity=50 - its-loc-quality-issue-type=misspelling></span> - </span> </body> </html></pre></div><p>[Source file: <a href="examples/html5/EX-locQualityIssue-html5-local-2.html">examples/html5/EX-locQualityIssue-html5-local-2.html</a>]</p></div><span class="editor-note">[Ed. note: TODO for above: Finalize how HTML its-loc-quality-issues and its-loc-quality-issue should be defined.]</span></div><div class="div3"> @@ -3469,16 +3484,46 @@ attribute its-loc-quality-precis-threshold { xsd:integer }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref" id="att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref"/>[171] </td><td><code>att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref</code></td><td> ::= </td><td><code> attribute its-loc-quality-precis-profile-ref { xsd:anyURI }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> <h3><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence" id="mtconfidence"></a>6.20 MT Confidence</h3><div class="div3"> -<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-definition" id="mtconfidence-definition"></a>6.20.1 Definition</h4><p>The <a href="#mtconfidence">MT Confidence</a> data category is used to communicate the self-reported confidence of a specific machine translation engine. It is not intended as comparable between machine translation engines and platforms. It is solely for providing self-reported confidence by the specific system that produced the actually used raw machine translation. This data category does NOT aim to establish any sort of correlation between the self-reported confidence and either human evaluation of MT usefulness, or post-editing cognitive effort. For harmonization’s sake, MT Confidence is provided as a (rational) number from the interval <0;1>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Implementers are expected to interpre the floating point number and present it to human and other consumers in other convenient forms, such as percentage (0-100%) with up to 2 decimal digits, font or background color coding etc.</p></div><p>This data category can be used for several purposes, including, but not limited to:</p><ul><li><p>Automated sorting of raw machine translated text for further processing based on empirically set thresholds.</p></li><li><p>Provide readers of machine translated text with self-reported relative accuracy prediction.</p></li><li><p>Provide translators, post-editors, reviewers and proofreaders with self-reported relative accuracy prediction.</p></li><li><p>Human consumers using often machine translation for the same source should be able to predict usefulness of a machine translated segments at a glance.</p></li><li><p>MT confidence can be displayed e.g.:</p><ul><li><p>on websites machine translated on the fly,</p></li><li><p>by simple translation editors, and Computer Aided Translation (CAT) tools. - </p></li></ul></li></ul></div><div class="div3"> -<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-implementation" id="mtconfidence-implementation"></a>6.20.2 Implementation</h4><p>The <a href="#mtconfidence">MT Confidence</a> data category - can be expressed with global rules, or locally on individual elements. - For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of - the element, <em>including</em> child elements, but - <em>excluding</em> attributes.</p><p id="mtconfidence-global">GLOBAL: The <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a> +<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-definition" id="mtconfidence-definition"></a>6.20.1 Definition</h4><p>The <a href="#mtconfidence">MT Confidence</a> data category is used + to communicate the self-reported confidence of a specific machine + translation engine. It is not intended as comparable between machine + translation engines and platforms. It is solely for providing + self-reported confidence by the specific system that produced the + actually used raw machine translation. This data category does NOT aim + to establish any sort of correlation between the self-reported + confidence and either human evaluation of MT usefulness, or post-editing + cognitive effort. For harmonization’s sake, MT Confidence is provided as + a (rational) number from the interval <0;1>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Implementers are expected to interpret the floating point number and + present it to human and other consumers in other convenient forms, + such as percentage (0-100%) with up to 2 decimal digits, font or + background color coding etc.</p></div><p>This data category can be used for several purposes, including, but not + limited to:</p><ul><li><p>Automated sorting of raw machine translated text for further + processing based on empirically set thresholds.</p></li><li><p>Provide readers of machine translated text with self-reported + relative accuracy prediction.</p></li><li><p>Provide translators, post-editors, reviewers and proofreaders + with self-reported relative accuracy prediction.</p></li><li><p>Human consumers using often machine translation for the same + source should be able to predict usefulness of a machine + translated segments at a glance.</p></li><li><p>MT confidence can be displayed e.g.:</p><ul><li><p>on websites machine translated on the fly,</p></li><li><p>by simple translation editors, and Computer Aided + Translation (CAT) tools. </p></li></ul></li></ul></div><div class="div3"> +<h4><a href="#contents"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-implementation" id="mtconfidence-implementation"></a>6.20.2 Implementation</h4><p>The <a href="#mtconfidence">MT Confidence</a> data category can be + expressed with global rules, or locally on individual elements. For + elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of the element, + <em>including</em> child elements, but <em>excluding</em> + attributes.</p><p id="mtconfidence-global">GLOBAL: The <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector">selector</a> attribute. It contains an <a href="#selectors">absolute selector</a> which selects - the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a> attribute that contains a human readable string identifying the Machine Translation Platform, e.g. <code>"Bing Translator"</code>, <code>"Google Translate"</code>, <code>"DCU Matrex"</code>, <code>"vanilla Moses"</code> etc.</p></li><li><p>An optional <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> attribute that contains a string uniquely identifying a specific MT engine on a platform given in mtProducer. Some examples of values are:</p><ul><li><p>A BCP 47 language tag with t-extension, e.g. <code>ja-t-it</code> for an Italian to Japanese MT engine</p></li><li><p>A Domain as per the <a class="section-ref" href="#domain">Section 6.9: Domain</a> - </p></li><li><p>A privately structured string, eg. <code>Domain:IT-Pair:IT-JA</code>, <code>IT-JA:Medical</code>, etc.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-1" id="EX-mtConfidence-global-1"></a>Example 82: Global usage of <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a>, <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a>, and <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> (specified by BCP 47 t-extension) along with local usage of <a class="itsmarkup" href="#att.mtconfidence.attribute.mtConfidenceScore">mtConfidenceScore</a> + the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a> attribute that contains a + human readable string identifying the Machine Translation + Platform, e.g. <code>"Bing Translator"</code>, <code>"Google + Translate"</code>, <code>"DCU Matrex"</code>, <code>"vanilla + Moses"</code> etc.</p></li><li><p>An optional <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> attribute that contains a + string uniquely identifying a specific MT engine on a platform + given in mtProducer. Some examples of values are:</p><ul><li><p>A BCP 47 language tag with t-extension, e.g. + <code>ja-t-it</code> for an Italian to Japanese MT + engine</p></li><li><p>A Domain as per the <a class="section-ref" href="#domain">Section 6.9: Domain</a> + </p></li><li><p>A privately structured string, eg. + <code>Domain:IT-Pair:IT-JA</code>, + <code>IT-JA:Medical</code>, etc.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-1" id="EX-mtConfidence-global-1"></a>Example 82: Global usage of <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a>, <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a>, + and <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> (specified by BCP 47 t-extension) along with + local usage of <a class="itsmarkup" href="#att.mtconfidence.attribute.mtConfidenceScore">mtConfidenceScore</a> </div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > @@ -3493,7 +3538,10 @@ its:mtConfidenceScore="0.8982">Dublin is the capital city of Ireland.</span> </p> </body> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-global-1.xml">examples/xml/EX-mtConfidence-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-2" id="EX-mtConfidence-global-2"></a>Example 83: Global usage of <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a>, <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a>, and <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> (specified with a sample privately structured string) along with local usage of <a class="itsmarkup" href="#att.mtconfidence.attribute.mtConfidenceScore">mtConfidenceScore</a> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-global-1.xml">examples/xml/EX-mtConfidence-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-2" id="EX-mtConfidence-global-2"></a>Example 83: Global usage of <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a>, <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a>, + and <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> (specified with a sample privately + structured string) along with local usage of + <a class="itsmarkup" href="#att.mtconfidence.attribute.mtConfidenceScore">mtConfidenceScore</a> </div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > @@ -3509,9 +3557,14 @@ </p> </body> </text></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-global-2.xml">examples/xml/EX-mtConfidence-global-2.xml</a>]</p></div><p id="mtconfidence-local">LOCAL: the following local markup is - available for the <a href="#mtconfidence">MT Confidence</a> - data category:</p><ul><li><p>An mtProducer attribute that contains a string identifying the Machine Translation Platform, e.g. “Bing Translator”, “Google Translate”, “DCU Matrex”, “vanilla Moses” etc.</p></li><li><p>An mtEngine attribute that contains a string uniquely identifying a specific MT engine on a platform given in mtProducer. Some examples of values are given for the <a href="#mtconfidence-global">global definition of MT Confidence</a>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1"></a>Example 84: The <a href="#mtconfidence">MT Confidence</a> data - category expressed locally</div><div class="exampleInner"><pre> + available for the <a href="#mtconfidence">MT Confidence</a> data + category:</p><ul><li><p>An mtProducer attribute that contains a string identifying the + Machine Translation Platform, e.g. “Bing Translator”, “Google + Translate”, “DCU Matrex”, “vanilla Moses” etc.</p></li><li><p>An mtEngine attribute that contains a string uniquely + identifying a specific MT engine on a platform given in + mtProducer. Some examples of values are given for the <a href="#mtconfidence-global">global definition of MT + Confidence</a>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1"></a>Example 84: The <a href="#mtconfidence">MT Confidence</a> data category + expressed locally</div><div class="exampleInner"><pre> <text xmlns:its="http://www.w3.org/2005/11/its" > <body> @@ -3522,8 +3575,8 @@ its:mtConfidenceScore="0.8982">Dublin is the capital city of Ireland.</span> </p> </body> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-local-1.xml">examples/xml/EX-mtConfidence-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-html5-local-1" id="EX-mtConfidence-html5-local-1"></a>Example 85: The <a href="#mtconfidence">MT Confidence</a> data - category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 +</text></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-local-1.xml">examples/xml/EX-mtConfidence-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-html5-local-1" id="EX-mtConfidence-html5-local-1"></a>Example 85: The <a href="#mtconfidence">MT Confidence</a> data category + expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 <html lang=en> <head> <meta charset=utf-8> @@ -3684,19 +3737,21 @@ allowed in storage.</p></li><li><p>A <a class="itsmarkup" href="#storageSizeRule.attributes">storageSizePointer</a> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as - <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a> attribute. It contains - the name of the character set encoding used to calculate - the number of bytes of the selected text. The name <a href="#rfc-keywords">MUST</a> be one of the + <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a> attribute. It contains the + name of the character set encoding used to calculate the + number of bytes of the selected text. The name <a href="#rfc-keywords">MUST</a> be one of the names or aliases listed in the <a href="http://www.iana.org/assignments/character-sets">IANA Character Sets registry</a> <a title="Character
								Sets" href="#ianacharsets">[IANA Character Sets]</a>. The default value is "UTF-8".</p></li><li><p>A <a class="itsmarkup" href="#storageSizeRule.attributes">storageEncodingPointer</a> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node with the exact - same semantics as - <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType">lineBreakType</a> attribute. It indicates what type of line breaks the storage uses. - The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <code>lf</code> for LINE FEED (U+000A), - <code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085). - The default value is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-1" id="EX-storageSize-global-1"></a>Example 90: The <a href="#storagesize">Storage Size</a> data category + same semantics as <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType">lineBreakType</a> attribute. It indicates what + type of line breaks the storage uses. The possible values are: + <code>cr</code> for CARRIAGE RETURN (U+000D), + <code>lf</code> for LINE FEED (U+000A), <code>crlf</code> + for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or + <code>nel</code> for NEXT LINE (U+0085). The default value + is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-1" id="EX-storageSize-global-1"></a>Example 90: The <a href="#storagesize">Storage Size</a> data category expressed globally in XML</div><p>The <a class="itsmarkup" href="#storageSizeRule">storageSizeRule</a> element is used to specify that, when encoded in ISO-8859-1, the content of the <code>country</code> element must not be more than 25 bytes. The name "Papouasie-Nouvelle-Guinée" @@ -3729,17 +3784,19 @@ </fields></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-2.xml">examples/xml/EX-storageSize-global-2.xml</a>]</p></div><p id="storagesize-local">LOCAL: the following local markup is available for the <a href="#storagesize">Storage Size</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a> attribute. It contains the maximum number of bytes the text of the selected node is allowed in - storage.</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a> attribute. It - contains the name of the character set encoding used to - calculate the number of bytes of the selected text. The name - <a href="#rfc-keywords">MUST</a> be one of the names - or aliases listed in the <a href="http://www.iana.org/assignments/character-sets">IANA + storage.</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a> attribute. It contains + the name of the character set encoding used to calculate the + number of bytes of the selected text. The name <a href="#rfc-keywords">MUST</a> be one of the names or + aliases listed in the <a href="http://www.iana.org/assignments/character-sets">IANA Character Sets registry</a> <a title="Character
								Sets" href="#ianacharsets">[IANA Character Sets]</a>. The default value - is "UTF-8".</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType">lineBreakType</a> attribute. It indicates what type of line breaks the storage uses. - The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <code>lf</code> for LINE FEED (U+000A), - <code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085). - The default value is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-local-1" id="EX-storageSize-local-1"></a>Example 92: The <a href="#storagesize">Storage Size</a> data category + is "UTF-8".</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType">lineBreakType</a> attribute. It indicates what + type of line breaks the storage uses. The possible values are: + <code>cr</code> for CARRIAGE RETURN (U+000D), + <code>lf</code> for LINE FEED (U+000A), <code>crlf</code> + for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or + <code>nel</code> for NEXT LINE (U+0085). The default value + is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-local-1" id="EX-storageSize-local-1"></a>Example 92: The <a href="#storagesize">Storage Size</a> data category expressed locally in XML</div><p>The <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a> attribute allows to specify different the maximum storage sizes throughout the document.</p><div class="exampleInner"><pre> <messages @@ -3855,7 +3912,9 @@ category produces for the attribute <a href="#rfc-keywords">MUST</a> match one of the values provided in this table and <a href="#rfc-keywords">MUST</a> be semantically accurate. If a tool can map its internal values to these categories it <a href="#rfc-keywords">MUST</a> do so and <a href="#rfc-keywords">MUST NOT</a> use the value <code>other</code>, - which is reserved strictly for values that cannot be mapped to these values.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="qa-issue-types-tool-specific-mappings">The <a href="http://www.w3.org/International/its/ig/">ITS Interest Group</a> maintains an informative mappings of tools to localization quality issue types. <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings">The ITS IG Wiki</a> provides information on <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings#Update_of_this_page">how to update that list</a>.</p></div><table border="1"><thead><tr><td>Value</td><td>Description</td><td>Example</td><td>Scope</td><td>Notes</td></tr></thead><tbody><tr><td> + which is reserved strictly for values that cannot be mapped to these values.</p><div class="note"><p class="prefix"><b>Note:</b></p><p id="qa-issue-types-tool-specific-mappings">The <a href="http://www.w3.org/International/its/ig/">ITS Interest + Group</a> maintains an informative mappings of tools to localization + quality issue types. <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings">The ITS IG Wiki</a> provides information on <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings#Update_of_this_page">how to update that list</a>.</p></div><table border="1"><thead><tr><td>Value</td><td>Description</td><td>Example</td><td>Scope</td><td>Notes</td></tr></thead><tbody><tr><td> <code>terminology</code> </td><td>An incorrect term or a term from the wrong domain was used or terms are used inconsistently.</td><td> @@ -4329,7 +4388,7 @@ <em>This section is informative.</em> </p><p>Several constraints of ITS markup cannot be validated with ITS schemas. The following <a title="Rule-based validation
							-- Schematron" href="#schematron">[Schematron]</a> document allows for - validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11112" id="d3e11112"></a>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre> + validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11120" id="d3e11120"></a>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -4397,7 +4456,7 @@ </p><p>The following <a title="Namespace-based Validation
							Dispatching Language (NVDL)" href="#nvdl">[NVDL]</a> document allows validation of ITS markup which has been added to a host vocabulary. Only ITS elements and attributes are checked. Elements and attributes of host language are ignored - during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11134" id="d3e11134"></a>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> + during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11142" id="d3e11142"></a>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace ns="http://www.w3.org/2005/11/its"> <validate schema="its-elements.rng"/> </namespace> <namespace ns="http://www.w3.org/2005/11/its" match="attributes"> <validate @@ -4408,7 +4467,11 @@ 29 August 2012</a>.</p><ol class="depth1"><li><p>Added informative appendix mapping <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType">locQualityIssueType</a> values to tool-specific issue types</p></li><li><p>Addition of a <a class="itsmarkup" href="#att.locqualityprecis.attribute.locQualityPrecisVote">locQualityPrecisVote</a> attribute and a <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisVotePointer</a> attribute to <a class="section-ref" href="#lqprecis">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content">clarification</a> of ITS - data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize">Section 6.22: Storage Size</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence">Section 6.20: MT Confidence</a>.</p></li><li><p>Added <a href="#qa-issue-types-tool-specific-mappings">a note</a> about informative mappings of <a href="#lqissue-typevalues">Values for the Localization Quality Issue Type</a> to the <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings">ITS IG wiki</a>.</p></li><li><p>Added a <a href="#its-conformance-2-3">conformance clause</a> about HTML5 versus XML processing.</p></li><li><p>Added links to XML and HTML5 examples to the <a href="#datacategories-overview">data category overvew table</a>.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that + data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize">Section 6.22: Storage Size</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence">Section 6.20: MT Confidence</a>.</p></li><li><p>Added <a href="#qa-issue-types-tool-specific-mappings">a note</a> + about informative mappings of <a href="#lqissue-typevalues">Values for + the Localization Quality Issue Type</a> to the <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings">ITS IG wiki</a>.</p></li><li><p>Added a <a href="#its-conformance-2-3">conformance clause</a> + about HTML5 versus XML processing.</p></li><li><p>Added links to XML and HTML5 examples to the <a href="#datacategories-overview">data category overview + table</a>.</p></li><li><p>Added new kind of user to <a class="section-ref" href="#potential-users">Section 1.3.1: Potential Users of ITS</a>.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120731/">ITS 2.0 Working Draft 31 July 2012</a>.</p><ol class="depth1"><li><p>Added <a class="section-ref" href="#Disambiguation">Section 6.10: Disambiguation</a>.</p></li><li><p>Added <a class="section-ref" href="#preservespace">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#idvalue">Section 6.16: Id Value</a>.</p></li><li><p>Added support for different query language and reworked whole XPath and CSS Selectors integration.</p></li><li><p>Added examples to <a class="section-ref" href="#externalresource">Section 6.14: External Resource</a>.</p></li><li><p>Simplified <a class="section-ref" href="#LocaleFilter">Section 6.11: Locale Filter</a>.</p></li><li><p>Added a note about HTML5 and the attributes <a class="itsmarkup" href="#att.local.no-ns.attribute.dir">dir</a> and
Received on Thursday, 4 October 2012 12:28:49 UTC