CVS WWW/International/multilingualweb/lt/drafts/its20

Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory gil:/tmp/cvs-serv9913

Modified Files:
	its20.html 
Log Message:
more example re-formatting

--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html	2013/07/18 06:36:53	1.478
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html	2013/07/18 06:52:57	1.479
@@ -462,9 +462,11 @@
     <strong class="hl-tag" style="color: #000096">&lt;link</strong> <span class="hl-attribute" style="color: #F5844C">href</span>=<span class="hl-value" style="color: #993300">EX-translateRule-html5-1.xml</span> <span class="hl-attribute" style="color: #F5844C">rel</span>=<span class="hl-value" style="color: #993300">its-rules</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong>
-    <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This sentence should be translated, but code names like the <strong class="hl-tag" style="color: #000096">&lt;code&gt;</strong>span<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong> element should not be translated.
-      Of course there are always exceptions: certain code values should be translated,
-      e.g. to a value in your language like <strong class="hl-tag" style="color: #000096">&lt;code</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">yes</span><strong class="hl-tag" style="color: #000096">&gt;</strong>warning<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This sentence should be translated, but code names like
+      the <strong class="hl-tag" style="color: #000096">&lt;code&gt;</strong>span<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong> element should not be translated.
+      Of course there are always exceptions: certain 
+      code values should be translated, e.g. to a value 
+      in your language like <strong class="hl-tag" style="color: #000096">&lt;code</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">yes</span><strong class="hl-tag" style="color: #000096">&gt;</strong>warning<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong>
 <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-translate-html5-global-1.html" shape="rect">examples/html5/EX-translate-html5-global-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-html5-global-1-rules-file" id="EX-translate-html5-global-1-rules-file" shape="rect"/>Example 7: ITS rules file linked from HTML</div><p>The rules file linked in <a href="#EX-translate-html5-global-1" shape="rect">Example 6</a>.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;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:h</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
@@ -484,9 +486,11 @@
     <strong class="hl-tag" style="color: #000096">&lt;/script&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong>
-    <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This sentence should be translated, but code names like the <strong class="hl-tag" style="color: #000096">&lt;code&gt;</strong>span<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong> element should not be translated.
-      Of course there are always exceptions: certain code values should be translated,
-      e.g. to a value in your language like <strong class="hl-tag" style="color: #000096">&lt;code</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">yes</span><strong class="hl-tag" style="color: #000096">&gt;</strong>warning<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This sentence should be translated, but code names like
+      the <strong class="hl-tag" style="color: #000096">&lt;code&gt;</strong>span<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong> element should not be translated.
+      Of course there are always exceptions: certain
+      code values should be translated, e.g. to a value in
+      your language like <strong class="hl-tag" style="color: #000096">&lt;code</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">yes</span><strong class="hl-tag" style="color: #000096">&gt;</strong>warning<strong class="hl-tag" style="color: #000096">&lt;/code&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong>
 <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-translate-html5-inline-global-1.html" shape="rect">examples/html5/EX-translate-html5-inline-global-1.html</a>]</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="html5-its-local-markup" id="html5-its-local-markup" shape="rect"/>2.5.2 Local approach</h4><p>In HTML, an ITS 2.0 local data category is realized with the prefix <code>its-</code>. 
@@ -1232,13 +1236,16 @@
                 <code>p</code> element is found in the element with <code>id="T2"</code> in the same
               document. In addition, <code class="its-attr-markup">annotatorsRef</code> is used to identify a Web resource
               with information about the QA tool used to generate the <a href="#lqissue" shape="rect">Localization Quality Issue</a> annotation in the document.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;doc</strong> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span>
-    <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T1 localization-quality-issue|http://www.qalsp-ex.com/qatools/transcheckv1.3"</span>
+    <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=
+    <span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T1 localization-quality-issue
+    |http://www.qalsp-ex.com/qatools/transcheckv1.3"</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">&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.78"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Text translated with tool T1<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.55"</span> <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueType</span>=<span class="hl-value" style="color: #993300">"typographical"</span>
         <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueComment</span>=<span class="hl-value" style="color: #993300">"Sentence without capitalization"</span>
         <span class="hl-attribute" style="color: #F5844C">its:locQualityIssueSeverity</span>=<span class="hl-value" style="color: #993300">"50"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>text also translated with tool T1<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
-    <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.34"</span> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T2"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> Text translated
+    <strong class="hl-tag" style="color: #000096">&lt;p</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.34"</span> 
+      <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T2"</span><strong class="hl-tag" style="color: #000096">&gt;</strong> Text translated
         with tool T2<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
 <strong class="hl-tag" style="color: #000096">&lt;/doc&gt;</strong>
 </pre></div><p>[Source file: <a href="examples/xml/EX-its-tool-annotation-2.xml" shape="rect">examples/xml/EX-its-tool-annotation-2.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-its-tool-annotation-html5-1" id="EX-its-tool-annotation-html5-1" shape="rect"/>Example 25: Example of ITS Tool Annotation</div><p>The <code class="its-attr-markup">its-annotators-ref</code> attributes are used in this HTML document to
@@ -1327,14 +1334,16 @@
             <em>This section is normative.</em>
          </p><p>XHTML documents aimed at public consumption by Web browsers, including HTML5 documents in
           XHTML syntax, <a href="#rfc2119" shape="rect">SHOULD</a> use the syntax described in <a class="section-ref" href="#html5-markup" shape="rect">Section 6: Using ITS Markup in HTML</a> in order to adhere to <a href="http://www.w3.org/TR/html-design-principles/#dom-consistency" shape="rect">DOM Consistency
-            HTML Design Principle</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xhtml-markup-1" id="EX-xhtml-markup-1" shape="rect"/>Example 26: Using ITS 2.0 markup in XHTML</div><p>This example illustrates the use of ITS 2.0 local markup in XHTML.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;</strong>
+            HTML Design Principle</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xhtml-markup-1" id="EX-xhtml-markup-1" shape="rect"/>Example 26: Using ITS 2.0 markup in XHTML</div><p>This example illustrates the use of ITS 2.0 local markup in XHTML.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;</strong>
 <strong class="hl-tag" style="color: #000096">&lt;html</strong> <span class="hl-attribute" style="color: #F5844C">xmlns</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/1999/xhtml"</span> <span class="hl-attribute" style="color: #F5844C">xml:lang</span>=<span class="hl-value" style="color: #993300">"en"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong>
         <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>XHTML and ITS2.0<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong>
         <strong class="hl-tag" style="color: #000096">&lt;h1&gt;</strong>XHTML and ITS2.0<strong class="hl-tag" style="color: #000096">&lt;/h1&gt;</strong>
-        <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Don't use <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-note</span>=<span class="hl-value" style="color: #993300">"Internationalization Tag Set"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>ITS<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> prefixed
+        <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Don't use 
+          <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-note</span>=<span class="hl-value" style="color: #993300">"Internationalization Tag Set"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>ITS<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong> prefixed
             attributes inside the content, like its:locNote.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong>
 <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong>
@@ -1652,7 +1661,9 @@
     <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>LocNote test: Default<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong>
-    <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This is a <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-note</span>=<span class="hl-value" style="color: #993300">"Check with terminology engineer"</span> <span class="hl-attribute" style="color: #F5844C">its-loc-note-type</span>=<span class="hl-value" style="color: #993300">alert</span><strong class="hl-tag" style="color: #000096">&gt;</strong>motherboard<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>This is a 
+    <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its-loc-note</span>=<span class="hl-value" style="color: #993300">"Check with terminology engineer"</span> <span class="hl-attribute" style="color: #F5844C">its-loc-note-type</span>=<span class="hl-value" style="color: #993300">alert</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
+     motherboard<strong class="hl-tag" style="color: #000096">&lt;/span&gt;</strong>.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong>
 <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong></pre></div><p>[Source file: <a href="examples/html5/EX-locNote-html5-local-1.html" shape="rect">examples/html5/EX-locNote-html5-local-1.html</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>It is generally recommended to avoid using attributes to store text, however,
                 in this specific case, the need to provide the notes without interfering with the
@@ -1712,7 +1723,8 @@
               attribute specified <a href="#rfc2119" shape="rect">MUST</a> be contained in an element with
               the <code class="its-attr-markup">annotatorsRef</code> (or in HTML <code class="its-attr-markup">its-annotators-ref</code>) attribute
               specified for the <a href="#terminology" shape="rect">Terminology</a> data category. See <a class="section-ref" href="#its-tool-annotation" shape="rect">Section 5.8: ITS Tools Annotation</a> for more information.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-terms-selector-4" id="EX-terms-selector-4" shape="rect"/>Example 40: The <a href="#terminology" shape="rect">Terminology</a> data category expressed
-                locally, including term information reference and confidence score.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;book</strong> <span class="hl-attribute" style="color: #F5844C">its: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">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"terminology|http://example.com/term-tool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
+                locally, including term information reference and confidence score.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;book</strong> <span class="hl-attribute" style="color: #F5844C">its: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">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"terminology|http://example.com/term-tool"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong>...<strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong>
     ... 
@@ -3050,8 +3062,10 @@
 <strong class="hl-tag" style="color: #000096">&lt;/html&gt;</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="EX-mtconfidence-global-html5-1-external-rules" id="EX-mtconfidence-global-html5-1-external-rules" shape="rect"/>Example 81: XML file with external rules references from an HTML file.</div><div class="exampleInner"><pre xml:space="preserve"><span class="hl-directive" style="color: maroon">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span>
 <strong class="hl-tag" style="color: #000096">&lt;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">&gt;</strong>
-    <strong class="hl-tag" style="color: #000096">&lt;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">/&gt;</strong>        
-    <strong class="hl-tag" style="color: #000096">&lt;its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.805"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:img[@title='A tart with a cart']/@title"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>        
+    <strong class="hl-tag" style="color: #000096">&lt;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">/&gt;</strong>        
+    <strong class="hl-tag" style="color: #000096">&lt;its:mtConfidenceRule</strong> <span class="hl-attribute" style="color: #F5844C">mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.805"</span> 
+      <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//h:img[@title='A tart with a cart']/@title"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>        
 <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong>
 
 </pre></div><p>[Source file: <a href="examples/html5/EX-mtconfidence-global-html5-1-external-rules.xml" shape="rect">examples/html5/EX-mtconfidence-global-html5-1-external-rules.xml</a>]</p></div><p id="mtconfidence-local">LOCAL: the following local markup is available for the
@@ -3059,7 +3073,8 @@
                   translation confidence score as a rational number in the interval 0 to 1
                   (inclusive). The value follows the <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#double" shape="rect">XML Schema
                     double data type</a> with the constraining facets <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive" shape="rect">minInclusive</a> set to 0 and <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive" shape="rect">maxInclusive</a> set to 1.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1" shape="rect"/>Example 82: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data category expressed
-                locally for the content of a span in an XML document.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;text</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> <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
+                locally for the content of a span in an XML document.</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;text</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>
+  <span class="hl-attribute" style="color: #F5844C">its:annotatorsRef</span>=<span class="hl-value" style="color: #993300">"mt-confidence|file:///tools.xml#T1"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;span</strong> <span class="hl-attribute" style="color: #F5844C">its:mtConfidence</span>=<span class="hl-value" style="color: #993300">"0.8982"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>Dublin is the capital city of
@@ -5258,7 +5273,8 @@
     <strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/define&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;define</strong> <span class="hl-attribute" style="color: #F5844C">name</span>=<span class="hl-value" style="color: #993300">"its-translate.type"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
-    <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The Translate data category information to be attached to the current node<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The Translate data category information 
+      to be attached to the current node<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>yes<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The nodes need to be translated<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong>
@@ -5313,7 +5329,8 @@
     <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>States whether current context is regarded as "within text"<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;choice&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>yes<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong>
-      <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The element and its content are part of the flow of its parent element<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong>
+      <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The element and its content are part of the flow of 
+        its parent element<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;value&gt;</strong>no<strong class="hl-tag" style="color: #000096">&lt;/value&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;a:documentation&gt;</strong>The element splits the text flow of its parent element and its content 
         is an independent text flow<strong class="hl-tag" style="color: #000096">&lt;/a:documentation&gt;</strong>
@@ -5563,24 +5580,27 @@
       <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"ancestor-or-self::*/@its:version | //its:rules/@version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>The version is indicated by the 
         ITS version attribute.
         This attribute is mandatory for the rules element, where it MUST be in no namespace.
-        If there is no rules element in an XML document, a prefixed ITS version attribute (e.g. its:version) MUST
-        be on the element where the ITS markup is used, or on one of its ancestors.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
+        If there is no rules element in an XML document, a prefixed ITS version attribute 
+        (e.g. its:version) MUST be on the element where the ITS markup is used,
+        or on one of its ancestors.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"its:provenanceRecords | its:locQualityIssues"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"self::*/@version | ancestor::*/@its:version | //its:rules/@version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>The version is indicated by the
         ITS version attribute. This attribute is mandatory for the rules element, where it MUST be in no namespace.
-        If there is no rules element in an XML document, a prefixed ITS version attribute (e.g. its:version) MUST be
-        on the element where the ITS markup is used, or on one of its ancestors.
-        For standoff markup unprefixed version attribute is used.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
+        If there is no rules element in an XML document, a prefixed ITS version attribute 
+        (e.g. its:version) MUST be on the element where the ITS markup is used, or
+        on one of its ancestors. For standoff markup unprefixed version attribute is used.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"*[@its:version]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
-      <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"if (@its:version and //its:rules/@version) then //its:rules/@version = @its:version else true()"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
+      <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"if (@its:version and //its:rules/@version) 
+        then //its:rules/@version = @its:version else true()"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
         There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"every $v in //*/@its:version satisfies $v = @its:version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
         There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"its:provenanceRecords | its:locQualityIssues"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
-      <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"if (@version and //its:rules/@version) then //its:rules/@version = @version else true()"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
+      <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"if (@version and //its:rules/@version) 
+        then //its:rules/@version = @version else true()"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
         There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"every $v in //*/@its:version satisfies $v = @version"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
         There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
@@ -5607,12 +5627,13 @@
     <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>ITS Tools Annotation<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;rule</strong> <span class="hl-attribute" style="color: #F5844C">context</span>=<span class="hl-value" style="color: #993300">"*[@its:annotatorsRef]"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;assert</strong> <span class="hl-attribute" style="color: #F5844C">test</span>=<span class="hl-value" style="color: #993300">"every $ref in tokenize(@its:annotatorsRef, '\s+') satisfies 
-        matches($ref, '(translate|localization-note|terminology|directionality|language-information|
+        matches($ref, '
+        (translate|localization-note|terminology|directionality|language-information|
         elements-within-text|domain|text-analysis|locale-filter|provenance|external-resource|
         target-pointer|id-value|preserve-space|localization-quality-issue|localization-quality-rating|
         mt-confidence|allowed-characters|storage-size)\|.+')"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
-        The value of annotatorsRef is a space-separated list of references where each reference is
-        composed of two parts: a data category identifier and an IRI.
+        The value of annotatorsRef is a space-separated list of references where 
+        each reference is composed of two parts: a data category identifier and an IRI.
         These two parts are separated by a character | VERTICAL LINE (U+007C).<strong class="hl-tag" style="color: #000096">&lt;/assert&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;/rule&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/pattern&gt;</strong>

Received on Thursday, 18 July 2013 06:53:00 UTC