- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Thu, 18 Jul 2013 06:52:58 +0000
- To: public-multilingualweb-lt-commits@w3.org
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"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">></strong>Text translated with tool T1<strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"><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">></strong>text also translated with tool T1<strong class="hl-tag" style="color: #000096"></p></strong> - <strong class="hl-tag" style="color: #000096"><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">></strong> Text translated + <strong class="hl-tag" style="color: #000096"><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">></strong> Text translated with tool T2<strong class="hl-tag" style="color: #000096"></p></strong> <strong class="hl-tag" style="color: #000096"></doc></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"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"></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"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong> <strong class="hl-tag" style="color: #000096"><title></strong>XHTML and ITS2.0<strong class="hl-tag" style="color: #000096"></title></strong> <strong class="hl-tag" style="color: #000096"></head></strong> <strong class="hl-tag" style="color: #000096"><body></strong> <strong class="hl-tag" style="color: #000096"><h1></strong>XHTML and ITS2.0<strong class="hl-tag" style="color: #000096"></h1></strong> - <strong class="hl-tag" style="color: #000096"><p></strong>Don't use <strong class="hl-tag" style="color: #000096"><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">></strong>ITS<strong class="hl-tag" style="color: #000096"></span></strong> prefixed + <strong class="hl-tag" style="color: #000096"><p></strong>Don't use + <strong class="hl-tag" style="color: #000096"><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">></strong>ITS<strong class="hl-tag" style="color: #000096"></span></strong> prefixed attributes inside the content, like its:locNote.<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> @@ -1672,7 +1677,9 @@ <strong class="hl-tag" style="color: #000096"><title></strong>LocNote test: Default<strong class="hl-tag" style="color: #000096"></title></strong> <strong class="hl-tag" style="color: #000096"></head></strong> <strong class="hl-tag" style="color: #000096"><body></strong> - <strong class="hl-tag" style="color: #000096"><p></strong>This is a <strong class="hl-tag" style="color: #000096"><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">></strong>motherboard<strong class="hl-tag" style="color: #000096"></span></strong>.<strong class="hl-tag" style="color: #000096"></p></strong> + <strong class="hl-tag" style="color: #000096"><p></strong>This is a + <strong class="hl-tag" style="color: #000096"><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">></strong> + motherboard<strong class="hl-tag" style="color: #000096"></span></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-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"><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">></strong> + locally, including term information reference and confidence score.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><head></strong>...<strong class="hl-tag" style="color: #000096"></head></strong> <strong class="hl-tag" style="color: #000096"><body></strong> ... @@ -3070,8 +3078,10 @@ <strong class="hl-tag" style="color: #000096"></html></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"><?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> - <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.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">/></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> + <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.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">/></strong> <strong class="hl-tag" style="color: #000096"></its:rules></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"><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">></strong> + locally for the content of a span in an XML document.</div><div class="exampleInner"><pre><strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><body></strong> <strong class="hl-tag" style="color: #000096"><p></strong> <strong class="hl-tag" style="color: #000096"><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">></strong>Dublin is the capital city of @@ -5278,7 +5289,8 @@ <strong class="hl-tag" style="color: #000096"></data></strong> <strong class="hl-tag" style="color: #000096"></define></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> - <strong class="hl-tag" style="color: #000096"><a:documentation></strong>The Translate data category information to be attached to the current node<strong class="hl-tag" style="color: #000096"></a:documentation></strong> + <strong class="hl-tag" style="color: #000096"><a:documentation></strong>The Translate data category information + to be attached to the current node<strong class="hl-tag" style="color: #000096"></a:documentation></strong> <strong class="hl-tag" style="color: #000096"><choice></strong> <strong class="hl-tag" style="color: #000096"><value></strong>yes<strong class="hl-tag" style="color: #000096"></value></strong> <strong class="hl-tag" style="color: #000096"><a:documentation></strong>The nodes need to be translated<strong class="hl-tag" style="color: #000096"></a:documentation></strong> @@ -5333,7 +5345,8 @@ <strong class="hl-tag" style="color: #000096"><a:documentation></strong>States whether current context is regarded as "within text"<strong class="hl-tag" style="color: #000096"></a:documentation></strong> <strong class="hl-tag" style="color: #000096"><choice></strong> <strong class="hl-tag" style="color: #000096"><value></strong>yes<strong class="hl-tag" style="color: #000096"></value></strong> - <strong class="hl-tag" style="color: #000096"><a:documentation></strong>The element and its content are part of the flow of its parent element<strong class="hl-tag" style="color: #000096"></a:documentation></strong> + <strong class="hl-tag" style="color: #000096"><a:documentation></strong>The element and its content are part of the flow of + its parent element<strong class="hl-tag" style="color: #000096"></a:documentation></strong> <strong class="hl-tag" style="color: #000096"><value></strong>no<strong class="hl-tag" style="color: #000096"></value></strong> <strong class="hl-tag" style="color: #000096"><a:documentation></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"></a:documentation></strong> @@ -5583,24 +5596,27 @@ <strong class="hl-tag" style="color: #000096"><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">></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"></assert></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"></assert></strong> <strong class="hl-tag" style="color: #000096"></rule></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">></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"></assert></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"></assert></strong> <strong class="hl-tag" style="color: #000096"></rule></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> - <strong class="hl-tag" style="color: #000096"><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">></strong> + <strong class="hl-tag" style="color: #000096"><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">></strong> There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096"></assert></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096"></assert></strong> <strong class="hl-tag" style="color: #000096"></rule></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> - <strong class="hl-tag" style="color: #000096"><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">></strong> + <strong class="hl-tag" style="color: #000096"><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">></strong> There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096"></assert></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> There MUST NOT be two different versions of ITS in the same document.<strong class="hl-tag" style="color: #000096"></assert></strong> @@ -5627,12 +5643,13 @@ <strong class="hl-tag" style="color: #000096"><title></strong>ITS Tools Annotation<strong class="hl-tag" style="color: #000096"></title></strong> <strong class="hl-tag" style="color: #000096"><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">></strong> <strong class="hl-tag" style="color: #000096"><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">></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"></assert></strong> <strong class="hl-tag" style="color: #000096"></rule></strong> <strong class="hl-tag" style="color: #000096"></pattern></strong>
Received on Thursday, 18 July 2013 06:53:01 UTC