- 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 In directory hutz:/tmp/cvs-serv32573 Modified Files: its20.html its20.odd Log Message: New user: mt. See text at http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2012Oct/0037.html Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.166 retrieving revision 1.167 diff -u -d -r1.166 -r1.167 --- its20.odd 1 Oct 2012 16:18:02 -0000 1.166 +++ its20.odd 4 Oct 2012 12:28:39 -0000 1.167 @@ -370,6 +370,10 @@ information architects, rather than the content producers themselves.</p> </div> + <div xml:id="users_machine-translation"> + <head>Machine Translation systems</head> + <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 xml:id="ways-to-use-its"> <head>Ways to Use ITS</head> @@ -7584,6 +7588,7 @@ <item><p>Added links to XML and HTML5 examples to the <ref target="#datacategories-overview">data category overview table</ref>.</p></item> + <item><p>Added new kind of user to <ptr target="#potential-users" type="specref"/>.</p></item> </list> <p xml:id="changelog-since-20120731">The following log records major changes that Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.169 retrieving revision 1.170 diff -u -d -r1.169 -r1.170 --- its20.html 2 Oct 2012 07:29:29 -0000 1.169 +++ its20.html 4 Oct 2012 12:28:38 -0000 1.170 @@ -51,9 +51,9 @@ <div class="toc3">5.2.3 <a href="#selection-local" shape="rect">Local Selection in an XML Document</a></div> </div> <div class="toc2">5.3 <a href="#selectors" shape="rect">Query Language of Selectors</a><div class="toc3">5.3.1 <a href="#queryLanguage" shape="rect">Choosing Query Language</a></div> -<div class="toc3">5.3.2 <a href="#d3e2406" shape="rect">XPath 1.0</a></div> -<div class="toc3">5.3.3 <a href="#d3e2586" shape="rect">CSS Selectors</a></div> -<div class="toc3">5.3.4 <a href="#d3e2622" shape="rect">Additional query languages</a></div> +<div class="toc3">5.3.2 <a href="#d3e2411" shape="rect">XPath 1.0</a></div> +<div class="toc3">5.3.3 <a href="#d3e2591" shape="rect">CSS Selectors</a></div> +<div class="toc3">5.3.4 <a href="#d3e2627" shape="rect">Additional query languages</a></div> <div class="toc3">5.3.5 <a href="#its-param" shape="rect">Variables in selectors</a></div> </div> <div class="toc2">5.4 <a href="#link-external-rules" shape="rect">Link to External Rules</a></div> @@ -309,7 +309,8 @@ manner (see <a href="#selection-global" shape="rect">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" shape="rect"/>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><iv class="div3"> <h4><a href="#contents" shape="rect"><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" shape="rect"/>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 @@ -334,7 +335,7 @@ </body> </help></pre></div><p>[Source file: <a href="examples/xml/EX-ways-to-use-its-1.xml" shape="rect">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" shape="rect"/>Example 4: Use of ITS by information architect</div><p>The <a class="itsmarkup" href="#translateRule" shape="rect">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" shape="rect"/>Example 4: Use of ITS by information architect</div><p>The <a class="itsmarkup" href="#translateRule" shape="rect">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 xml:space="preserve"> <help @@ -352,7 +353,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" shape="rect">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" shape="rect"/>Example 5: Use of ITS by processor</div><p>A <a class="itsmarkup" href="#rules" shape="rect">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" shape="rect"/>Example 5: Use of ITS by processor</div><p>A <a class="itsmarkup" href="#rules" shape="rect">rules</a> element is inserted in the header of the document. It has a XLink <a class="itsmarkup" href="#rules.attributes" shape="rect">href</a> attribute used to link to an <a href="#link-external-rules" shape="rect">ITS external rule</a> document.</p><div class="exampleInner"><pre xml:space="preserve"> <help @@ -368,7 +369,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" shape="rect">examples/xml/EX-ways-to-use-its-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e485" id="d3e485" shape="rect"/>Example 6: ITS rule file shared by different documents</div><p>The <a class="itsmarkup" href="#rules" shape="rect">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" shape="rect">examples/xml/EX-ways-to-use-its-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e490" id="d3e490" shape="rect"/>Example 6: ITS rule file shared by different documents</div><p>The <a class="itsmarkup" href="#rules" shape="rect">rules</a> element contains several ITS rules that are common to different documents. One of them is a <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a> element that indicates that no <code>path</code> or <code>cmd</code> element should be translated.</p><div class="exampleInner"><pre xml:space="preserve"> @@ -377,7 +378,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" shape="rect">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" shape="rect"/>Example 7: An XSD schema with ITS declaration</div><p>The declarations for the <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> attribute + content should not be translated.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e518" id="d3e518" shape="rect"/>Example 7: An XSD schema with ITS declaration</div><p>The declarations for the <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">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" shape="rect">translate</a> attribute within the documents like in <a href="#EX-ways-to-use-its-1" shape="rect">Example 3</a>.</p><div class="exampleInner"><pre xml:space="preserve"> @@ -721,7 +722,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" shape="rect">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" shape="rect">Section 6: Description of Data Categories</a></p></li><li><p>schema language specific implementations, see <a class="section-ref" href="#its-schemas" shape="rect">Appendix E: Schemas for ITS</a></p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e1177" id="d3e1177" shape="rect"/>Example 13: A data category and its implementation</div><p>The <a href="#trans-datacat" shape="rect">Translate</a> data category conveys + declarations" subsections in <a class="section-ref" href="#datacategory-description" shape="rect">Section 6: Description of Data Categories</a></p></li><li><p>schema language specific implementations, see <a class="section-ref" href="#its-schemas" shape="rect">Appendix E: Schemas for ITS</a></p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e1182" id="d3e1182" shape="rect"/>Example 13: A data category and its implementation</div><p>The <a href="#trans-datacat" shape="rect">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" shape="rect">translate</a> attribute with @@ -750,7 +751,7 @@ points. Thus in the following example, the translation information specified via the <a class="itsmarkup" href="#translateRule" shape="rect">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" shape="rect"/>Example 14: Selecting the text of a pointer to an external object</div><div class="exampleInner"><pre xml:space="preserve"> + graphic and change the words therein.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e1265" id="d3e1265" shape="rect"/>Example 14: Selecting the text of a pointer to an external object</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -960,7 +961,8 @@ attribute its:version { xsd:string { pattern = "[0-9]+\.[0-9]+" } }</code></td></tr></tbody></table></dd></dl></div><div class="div3"> <h4><a href="#contents" shape="rect"><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="selection-global-html5" id="selection-global-html5" shape="rect"/>5.2.2 Global selection within HTML5</h4><span class="editor-note">[Ed. note: This should be probably merged with 5.4 "Link to External Rules"]</span><p>Global rules work in HTML5 as follows.</p><ol class="depth1"><li><p>Global rules will be attached externally using the - <code>link</code> element, with the link relation<code>its-rules</code>.</p></li><li><p>In global rules XPath 1.0 will be used for selection.</p></li><li><p>If users prefer easier selection mechanism, they can switch query + <code>link</code> element, with the link relation + <code>its-rules</code>.</p></li><li><p>In global rules XPath 1.0 will be used for selection.</p></li><li><p>If users prefer easier selection mechanism, they can switch query language to CSS selectors by using the <a class="itsmarkup" href="#rules.attributes" shape="rect">queryLanguage</a> attribute, see <a class="section-ref" href="#queryLanguage" shape="rect">Section 5.3.1: Choosing Query Language</a>.</p></li></ol><div class="note"><p class="prefix"><b>Note:</b></p><p>Using XPath in global rules linked from HTML5 documents does not create an additional burden to implementers. Parsing HTML5 content @@ -1073,9 +1075,9 @@ by <a class="itsmarkup" href="#rules.attributes" shape="rect">queryLanguage</a> attribute on <a class="itsmarkup" href="#rules" shape="rect">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" shape="rect"><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" shape="rect"/>5.3.2 XPath 1.0</h4><p>XPath 1.0 is identified by <code>xpath</code> value in +<h4><a href="#contents" shape="rect"><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" shape="rect"/>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" shape="rect">queryLanguage</a> attribute.</p><div class="div4"> -<h5><a name="d3e2417" id="d3e2417" shape="rect"/>5.3.2.1Absolute selector</h5><p>The absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be an +<h5><a name="d3e2422" id="d3e2422" shape="rect"/>5.3.2.1Absolute selector</h5><p>The absolute selector <a href="#rfc-keywords" shape="rect">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" shape="rect"> AbsoluteLocationPath</a> or union of <a href="http://www.w3.org/TR/xpath/#NT-AbsoluteLocationPath" shape="rect"> @@ -1090,7 +1092,7 @@ occurs. This includes the implicit declaration of the prefix <code>xml</code> required by the the <a href="#xmlns" shape="rect">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" shape="rect"/>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" shape="rect"/>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 xml:space="preserve"> <!-- Definitions for TEI --> @@ -1098,7 +1100,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" shape="rect">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2495" id="d3e2495" shape="rect"/>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" shape="rect">examples/xml/EX-selection-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2500" id="d3e2500" shape="rect"/>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 xml:space="preserve"> <!-- Definitions for DocBook --> @@ -1106,7 +1108,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" shape="rect">examples/xml/EX-selection-global-2.xml</a>]</p></div></div><div class="div4"> -<h5><a name="d3e2510" id="d3e2510" shape="rect"/>5.3.2.2Relative selector</h5><p>The relative selector <a href="#rfc-keywords" shape="rect">MUST</a> use a +<h5><a name="d3e2515" id="d3e2515" shape="rect"/>5.3.2.2Relative selector</h5><p>The relative selector <a href="#rfc-keywords" shape="rect">MUST</a> use a <a href="http://www.w3.org/TR/xpath/#NT-RelativeLocationPath" shape="rect">RelativeLocationPath</a> as described in <a href="#xpath" shape="rect">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" shape="rect">locNotePointer</a>, @@ -1123,16 +1125,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" shape="rect"><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" shape="rect"/>5.3.3 CSS Selectors</h4><p>CSS Selectors are identified by <code>css</code> value in +<h4><a href="#contents" shape="rect"><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" shape="rect"/>5.3.3 CSS Selectors</h4><p>CSS Selectors are identified by <code>css</code> value in <a class="itsmarkup" href="#rules.attributes" shape="rect">queryLanguage</a> attribute.</p><div class="div4"> -<h5><a name="d3e2597" id="d3e2597" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be +<h5><a name="d3e2602" id="d3e2602" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector as defined in <a href="#css3-selectors" shape="rect">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" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be +<h5><a name="d3e2613" id="d3e2613" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector as defined in <a href="#css3-selectors" shape="rect">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" shape="rect">selector</a> attribute.</p></div></div><div class="div3"> -<h4><a href="#contents" shape="rect"><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" shape="rect"/>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords" shape="rect">MAY</a> support additional +<h4><a href="#contents" shape="rect"><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" shape="rect"/>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords" shape="rect">MAY</a> support additional query languages. For each additional query language processor <a href="#rfc-keywords" shape="rect">MUST</a> define:</p><ul><li><p>identifier of query language used in <a class="itsmarkup" href="#rules.attributes" shape="rect">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 @@ -1192,7 +1194,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" shape="rect">examples/xml/EX-link-external-rules-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2789" id="d3e2789" shape="rect"/>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre xml:space="preserve"> +</myFormatInfo></pre></div><p>[Source file: <a href="examples/xml/EX-link-external-rules-1.xml" shape="rect">examples/xml/EX-link-external-rules-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2794" id="d3e2794" shape="rect"/>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre xml:space="preserve"> <myDoc xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" > @@ -1207,7 +1209,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" shape="rect">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" shape="rect"/>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre xml:space="preserve"> + the following document.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e2806" id="d3e2806" shape="rect"/>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre xml:space="preserve"> <myDoc xmlns:its="http://www.w3.org/2005/11/its" > <header> @@ -1247,7 +1249,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" shape="rect">[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" shape="rect"/>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" shape="rect"/>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. @@ -1479,7 +1481,7 @@ <a href="#storagesize" shape="rect">Storage Size</a> </td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1"> <code>its:storageEncoding="UTF-8"</code> - </td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td><td rowspan="1" colspan="1">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3759" id="d3e3759" shape="rect"/>Example 24: Defaults, inheritance and overriding behavior of data + </td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">tbd</td><td rowspan="1" colspan="1">tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3764" id="d3e3764" shape="rect"/>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" shape="rect">Translate</a> data category in elements is "yes". The content of <code>revision</code> and <a class="itsmarkup" href="#locNote" shape="rect">locNote</a> is not translatable @@ -1675,7 +1677,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" shape="rect">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4250" id="d3e4250" shape="rect"/>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node +</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRef-attribute-1.xml" shape="rect">examples/xml/EX-locNoteRef-attribute-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4255" id="d3e4255" shape="rect"/>Example 31: The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute</div><p>The <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the URI referring to the location of the note.</p><div class="exampleInner"><pre xml:space="preserve"> <dataFile xmlns:its="http://www.w3.org/2005/11/its" > @@ -1699,7 +1701,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" shape="rect">locNoteType</a> attribute with the value "description" or "alert". If the <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType" shape="rect">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" shape="rect"/>Example 32: The <a href="#locNote-datacat" shape="rect">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" shape="rect"/>Example 32: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"> <msgList xmlns:its="http://www.w3.org/2005/11/its" xml:space="preserve" @@ -1713,7 +1715,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" shape="rect">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4325" id="d3e4325" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data +</msgList></pre></div><p>[Source file: <a href="examples/xml/EX-locNote-selector-2.xml" shape="rect">examples/xml/EX-locNote-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4330" id="d3e4330" shape="rect"/>Example 33: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!DOCTYPE html>
 <html lang=en> <head> @@ -1773,7 +1775,7 @@ term.</p></li><li><p>A <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">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" shape="rect"/>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> + location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4569" id="d3e4569" shape="rect"/>Example 34: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1784,7 +1786,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" shape="rect">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4577" id="d3e4577" shape="rect"/>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-1.xml" shape="rect">examples/xml/EX-terms-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4582" id="d3e4582" shape="rect"/>Example 35: Usage of the <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1795,7 +1797,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" shape="rect">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4590" id="d3e4590" shape="rect"/>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-2.xml" shape="rect">examples/xml/EX-terms-selector-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4595" id="d3e4595" shape="rect"/>Example 36: Usage of the <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute</div><div class="exampleInner"><pre xml:space="preserve"> <text xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> @@ -1900,7 +1902,7 @@ available for the <a href="#directionality" shape="rect">Directionality</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.dir" shape="rect">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" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">Directionality</a> data + "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4943" id="d3e4943" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">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 xml:space="preserve"> <text @@ -1911,7 +1913,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" shape="rect">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4962" id="d3e4962" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data +</text></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-3.xml" shape="rect">examples/xml/EX-dir-selector-3.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4967" id="d3e4967" shape="rect"/>Example 42: The <a href="#directionality" shape="rect">Directionality</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!DOCTYPE html>
 <html lang=en> <head> @@ -2078,7 +2080,7 @@ within text.</p><p id="withintext-global">GLOBAL: The <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">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" shape="rect">withinText</a> attribute with the value - "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5646" id="d3e5646" shape="rect"/>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> + "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5651" id="d3e5651" shape="rect"/>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element</div><div class="exampleInner"><pre xml:space="preserve"> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> @@ -4346,7 +4348,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" shape="rect">[Schematron]</a> document allows for - validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11115" id="d3e11115" shape="rect"/>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> + validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11120" id="d3e11120" shape="rect"/>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -4414,7 +4416,7 @@ </p><p>The following <a title="Namespace-based Validation
							Dispatching Language (NVDL)" href="#nvdl" shape="rect">[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="d3e11137" id="d3e11137" shape="rect"/>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><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" shape="rect"/>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><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 @@ -4429,7 +4431,7 @@ about informative mappings of <a href="#lqissue-typevalues" shape="rect">Values for the Localization Quality Issue Type</a> to the <a href="http://www.w3.org/International/its/wiki/Tool_specific_mappings" shape="rect">ITS IG wiki</a>.</p></li><li><p>Added a <a href="#its-conformance-2-3" shape="rect">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" shape="rect">data category overview - table</a>.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that + table</a>.</p></li><li><p>Added new kind of user to <a class="section-ref" href="#potential-users" shape="rect">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/" shape="rect">ITS 2.0 Working Draft 31 July 2012</a>.</p><ol class="depth1"><li><p>Added <a class="section-ref" href="#Disambiguation" shape="rect">Section 6.10: Disambiguation</a>.</p></li><li><p>Added <a class="section-ref" href="#preservespace" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#idvalue" shape="rect">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" shape="rect">Section 6.14: External Resource</a>.</p></li><li><p>Simplified <a class="section-ref" href="#LocaleFilter" shape="rect">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" shape="rect">dir</a> and
Received on Thursday, 4 October 2012 12:28:44 UTC