- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Tue, 20 Nov 2012 22:08:00 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory gil:/tmp/cvs-serv3075 Modified Files: its20.html its20.odd Log Message: edits related to action-262 and action-302 --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/11/20 21:04:20 1.250 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2012/11/20 22:07:59 1.251 @@ -52,9 +52,9 @@ <div class="toc3">5.2.2 <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="#d0e2157" shape="rect">XPath 1.0</a></div> -<div class="toc3">5.3.3 <a href="#d0e2337" shape="rect">CSS Selectors</a></div> -<div class="toc3">5.3.4 <a href="#d0e2376" shape="rect">Additional query languages</a></div> +<div class="toc3">5.3.2 <a href="#d0e2159" shape="rect">XPath 1.0</a></div> +<div class="toc3">5.3.3 <a href="#d0e2339" shape="rect">CSS Selectors</a></div> +<div class="toc3">5.3.4 <a href="#d0e2378" 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> @@ -271,13 +271,13 @@ the job of vendors easier by standardizing the format and processing expectations of certain relevant markup items, and allowing them to more effectively identify how content should be handled.</p></div><div class="div4"> -<h5><a name="d0e405" id="d0e405" shape="rect"/>1.3.1.4Content producers</h5><p>This type of user comprises authors, translators and other types of content author. +<h5><a name="content-producers" id="content-producers" shape="rect"/>1.3.1.4Content producers</h5><p>This type of user comprises authors, translators and other types of content author. The markup proposed in this specification may be used by them to mark up specific bits of content. Aside: The burden of inserting markup can be removed from content producers by relating the ITS information to relevant bits of content in a global 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 class="div4"> + producers themselves.</p><p id="cms-plain-text-fields">Content producers often work with content management systems (CMS). In various CMS, some of the CMS fields only allow to store plain text. For these fields, the current ITS 2.0 data categories can only be applied globally and not with local attributes. This issue should be addressed in another way, apart from the ITS 2.0 standard. One way would be to allow HTML in these fields if possible, or using an extra field which allows HTML input and save the plain text of this extra field in the plain text field.</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. @@ -333,7 +333,7 @@ <strong class="hl-tag" style="color: #000096"></help></strong> </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="d0e479" id="d0e479" shape="rect"/>Example 4: Use of ITS by information architect</div><p>The <code>translateRule</code> element is used in the header of the document to + not be translated.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e481" id="d0e481" shape="rect"/>Example 4: Use of ITS by information architect</div><p>The <code>translateRule</code> 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"><strong class="hl-tag" style="color: #000096"><help</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -349,7 +349,7 @@ <strong class="hl-tag" style="color: #000096"></body></strong> <strong class="hl-tag" style="color: #000096"></help></strong> </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="d0e504" id="d0e504" shape="rect"/>Example 5: Use of ITS by processor</div><p>A <code>rules</code> element is inserted in the header of the document. It has a XLink + information outside of the document.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e506" id="d0e506" shape="rect"/>Example 5: Use of ITS by processor</div><p>A <code>rules</code> element is inserted in the header of the document. It has a XLink <code>href</code> 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"><strong class="hl-tag" style="color: #000096"><help</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> <strong class="hl-tag" style="color: #000096"><title></strong>Building the Zebulon Toolkit<strong class="hl-tag" style="color: #000096"></title></strong> @@ -362,14 +362,14 @@ <strong class="hl-tag" style="color: #000096"><cmd></strong>Build.bat<strong class="hl-tag" style="color: #000096"></cmd></strong>.<strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> <strong class="hl-tag" style="color: #000096"></help></strong> -</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="d0e525" id="d0e525" shape="rect"/>Example 6: ITS rule file shared by different documents</div><p>The <code>rules</code> element contains several ITS rules that are common to different +</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="d0e527" id="d0e527" shape="rect"/>Example 6: ITS rule file shared by different documents</div><p>The <code>rules</code> element contains several ITS rules that are common to different documents. One of them is a <code>translateRule</code> element that indicates that no <code>path</code> or <code>cmd</code> element should be translated.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//path | //cmd"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></strong> </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><span class="editor-note">[Ed. note: Following schema example has to updated once we have final XSD schema - for ITS 2.0]</span><div class="exampleOuter"><div class="exampleHeader"><a name="d0e556" id="d0e556" shape="rect"/>Example 7: An XSD schema with ITS declaration</div><p>The declarations for the <code>translate</code> attribute is added to a + for ITS 2.0]</span><div class="exampleOuter"><div class="exampleHeader"><a name="d0e558" id="d0e558" shape="rect"/>Example 7: An XSD schema with ITS declaration</div><p>The declarations for the <code>translate</code> attribute is added to a group of common attributes <code>commonAtts</code>. This allows to use the <code>translate</code> 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"><strong class="hl-tag" style="color: #000096"><xs:schema</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:xs</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2001/XMLSchema"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">elementFormDefault</span>=<span class="hl-value" style="color: #993300">"qualified"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><xs:import</strong> <span class="hl-attribute" style="color: #F5844C">namespace</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">schemaLocation</span>=<span class="hl-value" style="color: #993300">"its.xsd"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -657,7 +657,7 @@ and localization of XML schemas and 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 "implementation" 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="d0e1203" id="d0e1203" 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 + <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="d0e1205" id="d0e1205" 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 <code>translate</code> attribute with two possible values: "yes" and "no". An implementation on a schema language specific @@ -684,7 +684,7 @@ object to which it points. Thus in the following example, the translation information specified via the <code>translateRule</code> 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="d0e1284" id="d0e1284" shape="rect"/>Example 14: Selecting the text of a pointer to an external object</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text></strong> + change the words therein.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e1286" id="d0e1286" shape="rect"/>Example 14: Selecting the text of a pointer to an external object</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text></strong> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//p/img/@src"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -937,9 +937,9 @@ actual query language. The query language is set by <code>queryLanguage</code> attribute on <code>rules</code> 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="d0e2157" id="d0e2157" shape="rect"/>5.3.2 XPath 1.0</h4><p>XPath 1.0 is identified by <code>xpath</code> value in <code>queryLanguage</code> +<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="d0e2159" id="d0e2159" shape="rect"/>5.3.2 XPath 1.0</h4><p>XPath 1.0 is identified by <code>xpath</code> value in <code>queryLanguage</code> attribute.</p><div class="div4"> -<h5><a name="d0e2168" id="d0e2168" shape="rect"/>5.3.2.1Absolute selector</h5><p>The absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be an XPath expression +<h5><a name="d0e2170" id="d0e2170" 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"> AbsoluteLocationPath</a>s as described in <a href="#xpath" shape="rect">XPath 1.0</a>. @@ -950,12 +950,12 @@ expression to include a call to any other function.</p></li><li><p>The set of namespace declarations are those in scope on the element which has the attribute in which the expression occurs. This includes the implicit declaration of the prefix <code>xml</code> required by 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="d0e2227" id="d0e2227" shape="rect"/>Example 16: XPath expressions with namespaces</div><p>The <code>term</code> element from the TEI is in a namespace + <code>xmlns</code>) is not part of this set.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e2229" id="d0e2229" 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"><em class="hl-comment" style="color: silver"><!-- Definitions for TEI --></em> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//tei:term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:tei</span>=<span class="hl-value" style="color: #993300">"http://www.tei-c.org/ns/1.0"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></strong> -</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="d0e2245" id="d0e2245" 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"><em class="hl-comment" style="color: silver"><!-- Definitions for DocBook --></em> +</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="d0e2247" id="d0e2247" 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"><em class="hl-comment" style="color: silver"><!-- Definitions for DocBook --></em> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></strong> @@ -975,18 +975,18 @@ with the following changes:</p><ul><li><p>Nodes selected by the expression in the <code>selector</code> 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="d0e2337" id="d0e2337" shape="rect"/>5.3.3 CSS Selectors</h4><div class="note"><p class="prefix"><b>Note:</b></p><p id="css-selectors-feature-at-risk">As of writing the working group has no +<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="d0e2339" id="d0e2339" shape="rect"/>5.3.3 CSS Selectors</h4><div class="note"><p class="prefix"><b>Note:</b></p><p id="css-selectors-feature-at-risk">As of writing the working group has no implememtation commitment for CSS selectors. If this doesn't change CSS selectors will be marked as feature at risk for the candidate recommendation draft.</p></div><p>CSS Selectors are identified by <code>css</code> value in <code>queryLanguage</code> attribute.</p><div class="div4"> -<h5><a name="d0e2351" id="d0e2351" shape="rect"/>5.3.3.1Absolute selector</h5><p>Absolute selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector +<h5><a name="d0e2353" id="d0e2353" 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="d0e2362" id="d0e2362" shape="rect"/>5.3.3.2Relative selector</h5><p>Relative selector <a href="#rfc-keywords" shape="rect">MUST</a> be interpreted as selector +<h5><a name="d0e2364" id="d0e2364" 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 <code>selector</code> 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="d0e2376" id="d0e2376" shape="rect"/>5.3.4 Additional query languages</h4><p>ITS processors <a href="#rfc-keywords" shape="rect">MAY</a> support additional query +<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="d0e2378" id="d0e2378" 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 <code>queryLanguage</code>;</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 nodes.</p></li></ul><p>Future versions of this specification <a href="#rfc-keywords" shape="rect">MAY</a> define additional query languages. The following query language identifiers are reserved: <code>xpath</code>, <code>css</code>, <code>xpath2</code>, <code>xpath3</code>, @@ -1038,7 +1038,7 @@ <strong class="hl-tag" style="color: #000096"></its:rules></strong> <strong class="hl-tag" style="color: #000096"></myFormatInfo></strong> -</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="d0e2542" id="d0e2542" shape="rect"/>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><myDoc></strong> +</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="d0e2544" id="d0e2544" shape="rect"/>Example 20: Document with a link to EX-link-external-rules-1.xml</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><myDoc></strong> <strong class="hl-tag" style="color: #000096"><header></strong> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:xlink</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xlink"</span> <span class="hl-attribute" style="color: #F5844C">xlink:href</span>=<span class="hl-value" style="color: #993300">"EX-link-external-rules-1.xml"</span><strong class="hl-tag" style="color: #000096">></strong> @@ -1052,7 +1052,7 @@ <strong class="hl-tag" style="color: #000096"></body></strong> <strong class="hl-tag" style="color: #000096"></myDoc></strong> </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="d0e2554" id="d0e2554" shape="rect"/>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><myDoc></strong> + following document.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e2556" id="d0e2556" shape="rect"/>Example 21: Document with identical rules as in the case of included rules</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><myDoc></strong> <strong class="hl-tag" style="color: #000096"><header></strong> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//header"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -1082,7 +1082,7 @@ 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 provided via lower precedence is overriden by the higher precedence. E.g. defaults are overridden by inherited values, these are overriden by nodes - selected via global rules, and these are overriden via local markup.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d0e2640" id="d0e2640" shape="rect"/>Example 22: Conflicts between selections of ITS information which are resolved using the + selected via global rules, and these are overriden via local markup.</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="d0e2642" id="d0e2642" 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. In order to make this distinction two @@ -1422,7 +1422,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>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="d0e3716" id="d0e3716" shape="rect"/>Example 27: Defaults, inheritance and overriding behavior of data categories</div><p>In this example, the content of all the <code>data</code> elements is translatable + </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="d0e3718" id="d0e3718" shape="rect"/>Example 27: 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 <code>locNote</code> is not translatable because the default is overridden by the local @@ -1568,7 +1568,7 @@ <strong class="hl-tag" style="color: #000096"><body></strong> <strong class="hl-tag" style="color: #000096"><msg</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"NotFound"</span><strong class="hl-tag" style="color: #000096">></strong>Cannot find {0} on {1}.<strong class="hl-tag" style="color: #000096"></msg></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></myRes></strong></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="d0e4113" id="d0e4113" shape="rect"/>Example 34: The <code>locNoteRefPointer</code> attribute</div><p>The <code>locNoteRefPointer</code> attribute contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the IRI referring to the +<strong class="hl-tag" style="color: #000096"></myRes></strong></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="d0e4115" id="d0e4115" shape="rect"/>Example 34: The <code>locNoteRefPointer</code> attribute</div><p>The <code>locNoteRefPointer</code> attribute contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the IRI referring to the location of the note.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><dataFile></strong> <strong class="hl-tag" style="color: #000096"><prolog></strong> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong> @@ -1589,7 +1589,7 @@ itself.</p></li><li><p>A <code>locNoteRef</code> attribute that contains an IRI referring to the location of the localization note.</p></li></ul></li><li><p>An optional <code>locNoteType</code> attribute with the value"description" or "alert". If the <code>locNoteType</code> 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="d0e4174" id="d0e4174" shape="rect"/>Example 35: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category + be assumed to be "description".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4176" id="d0e4176" shape="rect"/>Example 35: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><msgList</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">xml:space</span>=<span class="hl-value" style="color: #993300">"preserve"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><data</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"LISTFILTERS_VARIANT"</span> <span class="hl-attribute" style="color: #F5844C">its:locNote</span>=<span class="hl-value" style="color: #993300">"Keep the leading space!"</span> <span class="hl-attribute" style="color: #F5844C">its:locNoteType</span>=<span class="hl-value" style="color: #993300">"alert"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><value></strong> Variant {0} = {1} ({2})<strong class="hl-tag" style="color: #000096"></value></strong> @@ -1597,7 +1597,7 @@ <strong class="hl-tag" style="color: #000096"><data</strong> <span class="hl-attribute" style="color: #F5844C">its:locNote</span>=<span class="hl-value" style="color: #993300">"%1\$s is the original text's date in the format YYYY-MM-DD HH:MM always in GMT"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><value></strong>Translated from English content dated <strong class="hl-tag" style="color: #000096"><span</strong> <span class="hl-attribute" style="color: #F5844C">id</span>=<span class="hl-value" style="color: #993300">"version-info"</span><strong class="hl-tag" style="color: #000096">></strong>%1\$s<strong class="hl-tag" style="color: #000096"></span></strong> GMT.<strong class="hl-tag" style="color: #000096"></value></strong> <strong class="hl-tag" style="color: #000096"></data></strong> -<strong class="hl-tag" style="color: #000096"></msgList></strong></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="d0e4187" id="d0e4187" shape="rect"/>Example 36: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category +<strong class="hl-tag" style="color: #000096"></msgList></strong></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="d0e4189" id="d0e4189" shape="rect"/>Example 36: The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -1626,14 +1626,14 @@ "yes" or "no".</p></li><li><p>None or exactly one of the following:</p><ul><li><p>A <code>termInfoPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the terminology information.</p></li><li><p>A <code>termInfoRef</code> attribute that contains an IRI referring to the resource providing information about the term.</p></li><li><p>A <code>termInfoRefPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the - IRI referring to the location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4285" id="d0e4285" shape="rect"/>Example 37: Usage of the <code>termInfoPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text></strong> + IRI referring to the location of the terminology information.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4287" id="d0e4287" shape="rect"/>Example 37: Usage of the <code>termInfoPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text></strong> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">termInfoPointer</span>=<span class="hl-value" style="color: #993300">"id(@def)"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></strong> <strong class="hl-tag" style="color: #000096"><p></strong>We may define <strong class="hl-tag" style="color: #000096"><term</strong> <span class="hl-attribute" style="color: #F5844C">def</span>=<span class="hl-value" style="color: #993300">"TDPV"</span><strong class="hl-tag" style="color: #000096">></strong>discoursal point of view<strong class="hl-tag" style="color: #000096"></term></strong> as <strong class="hl-tag" style="color: #000096"><gloss</strong> <span class="hl-attribute" style="color: #F5844C">xml:id</span>=<span class="hl-value" style="color: #993300">"TDPV"</span><strong class="hl-tag" style="color: #000096">></strong>the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction.<strong class="hl-tag" style="color: #000096"></gloss></strong><strong class="hl-tag" style="color: #000096"></p></strong> -<strong class="hl-tag" style="color: #000096"></text></strong></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="d0e4298" id="d0e4298" shape="rect"/>Example 38: Usage of the <code>termInfoRef</code> attribute</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text></strong> +<strong class="hl-tag" style="color: #000096"></text></strong></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="d0e4300" id="d0e4300" shape="rect"/>Example 38: Usage of the <code>termInfoRef</code> attribute</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text></strong> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term[1]"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">termInfoRef</span>=<span class="hl-value" style="color: #993300">"#TDPV"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -1643,7 +1643,7 @@ structure, between the implied author or some other addresser, and the fiction.<strong class="hl-tag" style="color: #000096"></gloss></strong><strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></text></strong> -</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="d0e4311" id="d0e4311" shape="rect"/>Example 39: Usage of the <code>termInfoRefPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text></strong> +</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="d0e4313" id="d0e4313" shape="rect"/>Example 39: Usage of the <code>termInfoRefPointer</code> attribute</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text></strong> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:termRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//term"</span> <span class="hl-attribute" style="color: #F5844C">term</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">termInfoRefPointer</span>=<span class="hl-value" style="color: #993300">"@target"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -1729,7 +1729,7 @@ <strong class="hl-tag" style="color: #000096"></its:rules></strong> </pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-2.xml" shape="rect">examples/xml/EX-dir-selector-2.xml</a>]</p></div><p id="directionality-local">LOCAL: The following local markup is available for the <a href="#directionality" shape="rect">Directionality</a> data category:</p><ul><li><p>A <code>dir</code> attribute with the value "ltr", - "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4610" id="d0e4610" shape="rect"/>Example 44: The <a href="#directionality" shape="rect">Directionality</a> data category expressed + "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e4612" id="d0e4612" shape="rect"/>Example 44: 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"><strong class="hl-tag" style="color: #000096"><text</strong> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><body></strong> @@ -1738,7 +1738,7 @@ W3C<strong class="hl-tag" style="color: #000096"></quote></strong>.<strong class="hl-tag" style="color: #000096"></par></strong> <strong class="hl-tag" style="color: #000096"></body></strong> <strong class="hl-tag" style="color: #000096"></text></strong> -</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="d0e4631" id="d0e4631" shape="rect"/>Example 45: The <a href="#directionality" shape="rect">Directionality</a> data category expressed +</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="d0e4633" id="d0e4633" shape="rect"/>Example 45: The <a href="#directionality" shape="rect">Directionality</a> data category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue"><!DOCTYPE html></strong> <strong class="hl-tag" style="color: #000096"><html</strong> <span class="hl-attribute" style="color: #F5844C">lang</span>=<span class="hl-value" style="color: #993300">en</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> @@ -1863,7 +1863,7 @@ inheritance. The default is that elements are not within text.</p><p id="withintext-global">GLOBAL: The <code>withinTextRule</code> element contains the following:</p><ul><li><p>A required <code>selector</code> 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 <code>withinText</code> attribute with the value "yes", - "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e5047" id="d0e5047" shape="rect"/>Example 49: Specifying elements within text with a <code>withinTextRule</code> element</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> + "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d0e5049" id="d0e5049" shape="rect"/>Example 49: Specifying elements within text with a <code>withinTextRule</code> element</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:withinTextRule</strong> <span class="hl-attribute" style="color: #F5844C">withinText</span>=<span class="hl-value" style="color: #993300">"yes"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//b | //em | //i"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></strong> </pre></div><p>[Source file: <a href="examples/xml/EX-within-text-implementation-1.xml" shape="rect">examples/xml/EX-within-text-implementation-1.xml</a>]</p></div><p id="withintext-local">LOCAL: The following local markup is available for the <a href="#elements-within-text" shape="rect">Elements Within Text</a> data category:</p><ul><li><p>A <code>withinText</code> attribute with the values "yes", @@ -2977,7 +2977,7 @@ <span class="hl-attribute" style="color: #F5844C">title</span>=<span class="hl-value" style="color: #993300">"A tart with a cart"</span><strong class="hl-tag" style="color: #000096">/></strong> <strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></body></strong> -<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-global-html5-1.html" shape="rect">examples/html5/EX-mtConfidence-global-html5-1.html</a>]</p></div><p>Where the external ITS rules file is as shown:</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e8017" id="d0e8017" shape="rect"/>Example 87: XML file with external rules references from an HTML5 file.</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> +<strong class="hl-tag" style="color: #000096"></html></strong></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-global-html5-1.html" shape="rect">examples/html5/EX-mtConfidence-global-html5-1.html</a>]</p></div><p>Where the external ITS rules file is as shown:</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e8019" id="d0e8019" shape="rect"/>Example 87: XML file with external rules references from an HTML5 file.</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> <strong class="hl-tag" style="color: #000096"><its:rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:h</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.785"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:img[@title='Front gate of Trinity College Dublin']/@title"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -3021,7 +3021,7 @@ generation. In most Content Management Systems, content is divided into several fields, some of which may be restricted to plain text, while in other fields HTML fragments may be allowed. Enforcing such restrictions is outside the scope of this - data category.</p></div><p>The set of characters that are allowed is specified using a regular expression. That + data category. For further information see <a class="section-ref" href="#content-producers" shape="rect">Section 1.3.1.4: Content producers</a>.</p></div><p>The set of characters that are allowed is specified using a regular expression. That is, each character in the selected content <a href="#rfc-keywords" shape="rect">MUST</a> be included in the set specified by the regular expression.</p><p>The regular expression is a character class construct as defined in the section <a href="http://www.w3.org/TR/xmlschema-2/#charcter-classes" shape="rect">Character Classes</a> of XML Schema <a title="XML Schema Part 2:
 Datatypes Second Edition" href="#xmlschema2" shape="rect">[XML Schema Part 2]</a>, with the assumption that the @@ -3543,7 +3543,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="d0e9830" id="d0e9830" shape="rect"/>Example 98: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><schema</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.ascc.net/xml/schematron"</span><strong class="hl-tag" style="color: #000096">></strong> + constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9834" id="d0e9834" shape="rect"/>Example 98: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><schema</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.ascc.net/xml/schematron"</span><strong class="hl-tag" style="color: #000096">></strong> <em class="hl-comment" style="color: silver"><!-- Schematron document to test constraints for global and local ITS markup. For ITS markup definitions, see http://www.w3.org/TR/its/ . --></em> <strong class="hl-tag" style="color: #000096"><ns</strong> <span class="hl-attribute" style="color: #F5844C">prefix</span>=<span class="hl-value" style="color: #993300">"its"</span> <span class="hl-attribute" style="color: #F5844C">uri</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -3590,7 +3590,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="d0e9852" id="d0e9852" shape="rect"/>Example 99: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> + this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d0e9856" id="d0e9856" shape="rect"/>Example 99: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon"><?xml version="1.0" encoding="UTF-8"?></span> <strong class="hl-tag" style="color: #000096"><rules</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><namespace</strong> <span class="hl-attribute" style="color: #F5844C">ns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong> <strong class="hl-tag" style="color: #000096"><validate</strong> <span class="hl-attribute" style="color: #F5844C">schema</span>=<span class="hl-value" style="color: #993300">"its20-elements.rng"</span><strong class="hl-tag" style="color: #000096">/></strong> @@ -3671,7 +3671,7 @@ based relative selector can also be an absolute location path - see the <code>domainPointer</code> attribute in <a href="#EX-domain-2" shape="rect">Example 53</a> and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/282" shape="rect">action-282</a>.</p></li><li><p>Defined <a href="#directionality" shape="rect">Directionality</a> and <a href="#ruby-annotation" shape="rect">Ruby</a> as non-normative features. See <a class="section-ref" href="#relation-to-its10" shape="rect">Section 1.1.1: Relation to ITS 1.0</a>, <a href="#directionality-non-normative-explanation" shape="rect">note on directionality</a>, <a href="#ruby-non-normative-explanation" shape="rect">note on ruby</a>, and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/250" shape="rect">action-250</a>.</p></li><li><p>Update on <a href="#Disambiguation" shape="rect">Disambiguation</a> example <a href="#EX-disambiguation-html5-rdfa-companion-document" shape="rect">Example 56</a>. See <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/266" shape="rect">action-266</a> (<a href="http://www.w3.org/2012/11/01-mlw-lt-irc#T10-53-44"shape="rect">related discussion</a>).</p></li><li><p>Made a simplification of <a href="#disambiguation-global" shape="rect">Disambiguation used globally</a>. See <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/267" shape="rect">action-267</a>.</p></li><li><p>Added <a class="section-ref" href="#its-mime-type" shape="rect">Appendix B: Internationalization Tag Set (ITS) MIME Type</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/251" shape="rect">action-251</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence" shape="rect">Section 6.19: MT Confidence</a>, see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/287" shape="rect">action-287</a> and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/288" shape="rect">action-288</a>.</p></li><li><p>Added <a class="section-ref" href="#its-tool-annotation" shape="rect">Section 5.8: ITS Tools Annotation</a> see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/301" shape="rect">action-301</a>.</p></li><li><p>Added confidence score attributes to<a href="#Disambiguation" shape="rect">Disambiguation</a> and <a href="#mtconfidence" shape="rect">MTConfidence</a> data categories - see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/298" shape="rect">action-298</a> and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/299" shape="rect">action-299</a>.</p></li><li><p>Updated <a class="section-ref" href="#provenance" shape="rect">Section 6.12: Provenance</a> - now called "<span class="quote">Provenance</span>" instead of "<span class="quote">Translation Agent Provenance</span>" - see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/300" shape="rect">action-300</a>.</p></li><li><p>Added <a href="#disambiguation-versus-terminology" shape="rect">a note</a> to differentiate <a href="#Disambiguation" shape="rect">Disambiguation</a> from <a href="#terminology" shape="rect">Terminology</a> data category - see <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/34" shape="rect">action-304</a>.</p></li><li><p>Reworked the <a class="section-ref" href="#lqissue" shape="rect">Section 6.17: Localization Quality Issue</a> for global rules and standoff markup as per - <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/303" shape="rect">action-303</a>.</p></li><li><p>Removed placeholder for <a href="http://www.w3.org/TR/2012/WD-its20-20121023/#TextAnalyisAnnotation" shape="rect">text analysis annotation</a>, since the <a href="http://www.w3.org/TR/2012/WD-its2req-20120524/#textAnalysisAnnotation" shape="rect">text analysis annotation requirement</a> is covered by the <a href="#disambiguation-local" shape="rect">local disambiguation</a> attribute <code>disambigConfidence</code>, in conjunction with <a class="section-ref" href="#its-tool-annotation" shape="rect">Section 5.8: ITS Tools Annotation</a>.</p></li></ol><p id="changelog-since-20120829">The following log records major changes that have been + <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/303" shape="rect">action-303</a>.</p></li><li><p>Removed placeholder for <a href="http://www.w3.org/TR/2012/WD-its20-20121023/#TextAnalyisAnnotation" shape="rect">text analysis annotation</a>, since the <a href="http://www.w3.org/TR/2012/WD-its2req-20120524/#textAnalysisAnnotation" shape="rect">text analysis annotation requirement</a> is covered by the <a href="#disambiguation-local" shape="rect">local disambiguation</a> attribute <code>disambigConfidence</code>, in conjunction with <a class="section-ref" href="#its-tool-annotation" shape="rect">Section 5.8: ITS Tools Annotation</a>.</p></li><li><p>Added explanations about ITS 2.0 and plain text in CMS to <a class="section-ref" href="#content-producers" shape="rect">Section 1.3.1.4: Content producers</a> and <a class="section-ref" href="#allowedchars-definition" shape="rect">Section 6.20.1: Definition</a> - see <a href="https://www.w3.org/International/multilingualweblt/track/actions/262" shape="rect">action-262</a> and <a href="https://www.w3.org/International/multilingualweb/lt/track/actions/302" shape="rect">action-302</a>.</p></li></ol><p id="changelog-since-20120829">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-20120829/" shape="rect">ITS 2.0 Working Draft 29 August 2012</a>.</p><ol class="depth1"><li><p>Added a first draft of <a class="section-ref" href="#provenance" shape="rect">Section 6.12: Provenance</a></p></li><li><p>Added <a class="section-ref" href="#html5-markup" shape="rect">Section 7: Using ITS Markup in HTML5</a>.</p></li><li><p>Removed inline markup declarations.</p></li><li><p>Addition of a <code>locQualityPrecisVote</code> attribute and a <code>locQualityPrecisVotePointer</code> attribute to <a class="section-ref" href="#lqprecis" shape="rect">Section 6.18: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content" shape="rect">clarification</a> of ITS data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars" shape="rect">Section 6.20: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize" shape="rect">Section 6.21: Storage Size</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence" shape="rect">Section 6.19: MT Confidence</a>.</p></li><li><p>Added <a href="#qa-issue-types-tool-specific-mappings" shape="rect">a note</a> about --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/11/20 21:04:20 1.248 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2012/11/20 22:07:59 1.249 @@ -330,7 +330,7 @@ certain relevant markup items, and allowing them to more effectively identify how content should be handled.</p> </div> - <div> + <div xml:id="content-producers"> <head>Content producers</head> <p>This type of user comprises authors, translators and other types of content author. The markup proposed in this specification may be used by them to mark up specific @@ -339,6 +339,7 @@ manner (see <ref target="#selection-global">global, rule-based approach</ref>). This global work, however, may fall to information architects, rather than the content producers themselves.</p> + <p xml:id="cms-plain-text-fields">Content producers often work with content management systems (CMS). In various CMS, some of the CMS fields only allow to store plain text. For these fields, the current ITS 2.0 data categories can only be applied globally and not with local attributes. This issue should be addressed in another way, apart from the ITS 2.0 standard. One way would be to allow HTML in these fields if possible, or using an extra field which allows HTML input and save the plain text of this extra field in the plain text field.</p> </div> <div xml:id="users_machine-translation"> <head>Machine Translation Systems</head> @@ -4355,7 +4356,7 @@ generation. In most Content Management Systems, content is divided into several fields, some of which may be restricted to plain text, while in other fields HTML fragments may be allowed. Enforcing such restrictions is outside the scope of this - data category.</p> + data category. For further information see <ptr target="#content-producers" type="specref"/>.</p> </note> <p>The set of characters that are allowed is specified using a regular expression. That is, each character in the selected content <ref target="#rfc-keywords">MUST</ref> be @@ -5563,6 +5564,7 @@ <item>Reworked the <ptr type="specref" target="#lqissue"/> for global rules and standoff markup as per <ref target="https://www.w3.org/International/multilingualweb/lt/track/actions/303">action-303</ref>.</item> <item>Removed placeholder for <ref target="http://www.w3.org/TR/2012/WD-its20-20121023/#TextAnalyisAnnotation">text analysis annotation</ref>, since the <ref target="http://www.w3.org/TR/2012/WD-its2req-20120524/#textAnalysisAnnotation">text analysis annotation requirement</ref> is covered by the <ref target="#disambiguation-local">local disambiguation</ref> attribute <att>disambigConfidence</att>, in conjunction with <ptr target="#its-tool-annotation" type="specref"/>.</item> + <item>Added explanations about ITS 2.0 and plain text in CMS to <ptr target="#content-producers" type="specref"/> and <ptr target="#allowedchars-definition" type="specref"/> - see <ref target="https://www.w3.org/International/multilingualweb/lt/track/actions/262">action-262</ref> and <ref target="https://www.w3.org/International/multilingualweb/lt/track/actions/302">action-302</ref>.</item> </list> <p xml:id="changelog-since-20120829">The following log records major changes that have been made to this document since the <ref target="http://www.w3.org/TR/2012/WD-its20-20120829/"
Received on Tuesday, 20 November 2012 22:08:08 UTC