CVS WWW/International/multilingualweb/lt/drafts/its20/TR-version

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

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

--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html	2013/07/18 06:41:03	1.102
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html	2013/07/18 06:52:58	1.103
@@ -1252,13 +1252,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">Localization Quality Issue</a> annotation in the document.</p><div class="exampleInner"><pre><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">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"></a>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
@@ -1347,14 +1350,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">SHOULD</a> use the syntax described in <a class="section-ref" href="#html5-markup">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">DOM Consistency
-            HTML Design Principle</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xhtml-markup-1" id="EX-xhtml-markup-1"></a>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><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"></a>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><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>
@@ -1672,7 +1677,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">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
@@ -1732,7 +1739,8 @@
               attribute specified <a href="#rfc2119">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">Terminology</a> data category. See <a class="section-ref" href="#its-tool-annotation">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"></a>Example 40: The <a href="#terminology">Terminology</a> data category expressed
-                locally, including term information reference and confidence score.</div><div class="exampleInner"><pre><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><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>
     ... 
@@ -3070,8 +3078,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">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"></a>Example 81: XML file with external rules references from an HTML file.</div><div class="exampleInner"><pre><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">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
@@ -3079,7 +3089,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">XML Schema
                     double data type</a> with the constraining facets <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-minInclusive">minInclusive</a> set to 0 and <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#rf-maxInclusive">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"></a>Example 82: The <a href="#mtconfidence">MT Confidence</a> data category expressed
-                locally for the content of a span in an XML document.</div><div class="exampleInner"><pre><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><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
@@ -5278,7 +5289,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>
@@ -5333,7 +5345,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>
@@ -5583,24 +5596,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>
@@ -5627,12 +5643,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:01 UTC