- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 19 Sep 2012 12:20:17 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version In directory hutz:/tmp/cvs-serv30670/TR-version Modified Files: Overview.html Log Message: added mtconfidence section Index: Overview.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/TR-version/Overview.html,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- Overview.html 17 Sep 2012 10:14:44 -0000 1.45 +++ Overview.html 19 Sep 2012 12:20:14 -0000 1.46 @@ -168,7 +168,10 @@ <div class="toc3">6.19.2 <a href="#lqprecis-implementation">Implementation</a></div> <div class="toc3">6.19.3 <a href="#lqprecis-markup">Markup Declarations for Localization Quality Issue</a></div> </div> -<div class="toc2">6.20 <a href="#mt-confidence">MT Confidence</a></div> +<div class="toc2">6.20 <a href="#mtconfidence">MT Confidence</a><div class="toc3">6.20.1 <a href="#mtconfidence-definition">Definition</a></div> +<div class="toc3">6.20.2 <a href="#mtconfidence-implementation">Implementation</a></div> +<div class="toc3">6.20.3 <a href="#mtconfidence-markup">Markup Declarations for MT Confidence</a></div> +</div> <div class="toc2">6.21 <a href="#allowedchars">Allowed Characters</a><div class="toc3">6.21.1 <a href="#allowedchars-definition">Definition</a></div> <div class="toc3">6.21.2 <a href="#allowedchars-implementation">Implementation</a></div> <div class="toc3">6.21.3 <a href="#allowedchars-markup">Markup Declarations for Allowed Characters</a></div> @@ -1451,7 +1454,7 @@ but excluding attributes</td><td>tbd</td></tr><tr><td> <a href="#storagesize">Storage Size</a> </td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td><td> - <code>its:storageSizeEncoding="UTF-8"</code> + <code>its:storageEncoding="UTF-8"</code> </td><td>None</td><td>tbd</td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="d3e3538" id="d3e3538"></a>Example 24: Defaults, inheritance and overriding behavior of data categories</div><p>In this example, the content of all the <code>data</code> elements is translatable because the default for the <a href="#trans-datacat">Translate</a> data category in elements is "yes". The @@ -3419,8 +3422,98 @@ attribute its-loc-quality-precis-vote { xsd:integer }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.locqualityprecis.html5.attribute.its-loc-quality-precis-threshold" id="att.locqualityprecis.html5.attribute.its-loc-quality-precis-threshold"/>[170] </td><td><code>att.locqualityprecis.html5.attribute.its-loc-quality-precis-threshold</code></td><td> ::= </td><td><code> attribute its-loc-quality-precis-threshold { xsd:integer }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref" id="att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref"/>[171] </td><td><code>att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref</code></td><td> ::= </td><td><code> attribute its-loc-quality-precis-profile-ref { xsd:anyURI }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> -<h3><a href="#contents"><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="mt-confidence" id="mt-confidence"></a>6.20 MT Confidence</h3><p>The MT Confidence data category will be defined in an updated version of this - document.</p></div><div class="div2"> +<h3><a href="#contents"><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="mtconfidence" id="mtconfidence"></a>6.20 MT Confidence</h3><div class="div3"> +<h4><a href="#contents"><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="mtconfidence-definition" id="mtconfidence-definition"></a>6.20.1 Definition</h4><p>The <a href="#mtconfidence">MT Confidence</a> data category is used to communicate the self-reported confidence of a specific machine translation engine. It is not intended as comparable between machine translation engines and platforms. It is solely for providing self-reported confidence by the specific system that produced the actually used raw machine translation. This data category does NOT aim to establish any sort of correlation between the self-reported confidence and either human evaluation of MT usefulness, or post-editing cognitive effort. For harmonization’s sake, MT Confidence is provided as a (rational) number from the interval <0;1>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>Implementers are expected to interpre the floating point number and present it to human and other consumers in other convenient forms, such as percentage (0-100%) with up to 2 decimal digits, font or background color coding etc.</p></div><p>This data category can be used for several purposes, including, but not limited to:</p><ul><li><p>Automated sorting of raw machine translated text for further processing based on empirically set thresholds.</p></li><li><p>Provide readers of machine translated text with self-reported relative accuracy prediction.</p></li><li><p>Provide translators, post-editors, reviewers and proofreaders with self-reported relative accuracy prediction.</p></li><li><p>Human consumers using often machine translation for the same source should be able to predict usefulness of a machine translated segments at a glance.</p></li><li><p>MT confidence can be displayed e.g.:</p><ul><li><p>on websites machine translated on the fly,</p></li><li><p>by simple translation editors, and Computer Aided Translation (CAT) tools. + </p></li></ul></li></ul></div><div class="div3"> +<h4><a href="#contents"><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="mtconfidence-implementation" id="mtconfidence-implementation"></a>6.20.2 Implementation</h4><p>The <a href="#mtconfidence">MT Confidence</a> data category + can be expressed with global rules, or locally on individual elements. + For elements, the data category information <a href="#def-inheritance">inherits</a> to the textual content of + the element, <em>including</em> child elements, but + <em>excluding</em> attributes.</p><p id="mtconfidence-global">GLOBAL: The <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a> + element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector">selector</a> attribute. It contains an <a href="#selectors">absolute selector</a> which selects + the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a> attribute that contains a human readable string identifying the Machine Translation Platform, e.g. <code>"Bing Translator"</code>, <code>"Google Translate"</code>, <code>"DCU Matrex"</code>, <code>"vanilla Moses"</code> etc.</p></li><li><p>An optional <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> attribute that contains a string uniquely identifying a specific MT engine on a platform given in mtProducer. Some examples of values are:</p><ul><li><p>A BCP 47 language tag with t-extension, e.g. <code>ja-t-it</code> for an Italian to Japanese MT engine</p></li><li><p>A Domain as per the <a class="section-ref" href="#domain">Section 6.9: Domain</a> + </p></li><li><p>A privately structured string, eg. <code>Domain:IT-Pair:IT-JA</code>, <code>IT-JA:Medical</code>, etc.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-1" id="EX-mtConfidence-global-1"></a>Example 82: Global usage of <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a>, <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a>, and <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> (specified by BCP 47 t-extension) along with local usage of <a class="itsmarkup" href="#att.mtconfidence.attribute.mtConfidenceScore">mtConfidenceScore</a> + </div><div class="exampleInner"><pre> +<text + xmlns:its="http://www.w3.org/2005/11/its" > + <its:rules version="2.0"> + <its:mtConfidenceRule selector="/text/body/p/" + its:mtProducer="Bing Translator" + its:mtEngine="en-t-cs"/> + </its:rules> + <body> + <p> + <span + its:mtConfidenceScore="0.8982">Dublin is the capital city of Ireland.</span> + </p> + </body> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-global-1.xml">examples/xml/EX-mtConfidence-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-global-2" id="EX-mtConfidence-global-2"></a>Example 83: Global usage of <a class="itsmarkup" href="#mtConfidenceRule">mtConfidenceRule</a>, <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer">mtProducer</a>, and <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine">mtEngine</a> (specified with a sample privately structured string) along with local usage of <a class="itsmarkup" href="#att.mtconfidence.attribute.mtConfidenceScore">mtConfidenceScore</a> + </div><div class="exampleInner"><pre> +<text + xmlns:its="http://www.w3.org/2005/11/its" > + <its:rules version="2.0"> + <its:mtConfidenceRule selector="/text/body/p/" + its:mtProducer="vanilla Moses" + its:mtEngine="medical:EN-ES_LA"/> + </its:rules> + <body> + <p> + <span + its:mtConfidenceScore="0.9876543"> Lavar y secar bien las manos es fundamental para prevenir la propagación de gérmenes.</span> + </p> + </body> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-global-2.xml">examples/xml/EX-mtConfidence-global-2.xml</a>]</p></div><p id="mtconfidence-local">LOCAL: the following local markup is + available for the <a href="#mtconfidence">MT Confidence</a> + data category:</p><ul><li><p>An mtProducer attribute that contains a string identifying the Machine Translation Platform, e.g. “Bing Translator”, “Google Translate”, “DCU Matrex”, “vanilla Moses” etc.</p></li><li><p>An mtEngine attribute that contains a string uniquely identifying a specific MT engine on a platform given in mtProducer. Some examples of values are given for the <a href="#mtconfidence-global">global definition of MT Confidence</a>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-local-1" id="EX-mtConfidence-local-1"></a>Example 84: The <a href="#mtconfidence">MT Confidence</a> data + category expressed locally</div><div class="exampleInner"><pre> +<text + xmlns:its="http://www.w3.org/2005/11/its" > + <body> + <p> + <span + its:mtProducer="Bing Translator" + its:mtEngine="en-t-cs" + its:mtConfidenceScore="0.8982">Dublin is the capital city of Ireland.</span> + </p> + </body> +</text></pre></div><p>[Source file: <a href="examples/xml/EX-mtConfidence-local-1.xml">examples/xml/EX-mtConfidence-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-mtConfidence-html5-local-1" id="EX-mtConfidence-html5-local-1"></a>Example 85: The <a href="#mtconfidence">MT Confidence</a> data + category expressed locally in HTML5</div><div class="exampleInner"><pre><!DOCTYPE html>
 + <html lang=en> + <head> + <meta charset=utf-8> + <title>Sentences about Dublin and Prague MTed from Czech with mtConfidence locally.</title> + </head> + <body> + <p> + <span its-mt-confidence-score=0.8982 its-mt-engine=en-t-cs its-mt-producer="Bing Translator"> Dublin is the capital of Ireland.</span> + <span its-mt-confidence-score=0.8536 its-mt-engine=en-t-cs its-mt-producer="Bing Translator"> The capital of the Czech Republic is Prague.</span> + </p> + </body> + </html></pre></div><p>[Source file: <a href="examples/html5/EX-mtConfidence-html5-local-1.html">examples/html5/EX-mtConfidence-html5-local-1.html</a>]</p></div></div><div class="div3"> +<h4><a href="#contents"><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="mtconfidence-markup" id="mtconfidence-markup"></a>6.20.3 Markup Declarations for MT Confidence</h4><dl><dt class="label">mtConfidenceRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="mtConfidenceRule" id="mtConfidenceRule"/>[172] </td><td><code>mtConfidenceRule</code></td><td> ::= </td><td><code> + element its:mtConfidenceRule + { + mtConfidenceRule.content, + <a href="#mtConfidenceRule.attributes">mtConfidenceRule.attributes</a> + }</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="mtConfidenceRule.content" id="mtConfidenceRule.content"/>[173] </td><td><code>mtConfidenceRule.content</code></td><td> ::= </td><td><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="mtConfidenceRule.attributes" id="mtConfidenceRule.attributes"/>[174] </td><td><code>mtConfidenceRule.attributes</code></td><td> ::= </td><td><code> + + <a href="#att.selector.attributes">att.selector.attributes</a>, + attribute mtProducer { string }, + attribute mtEngine { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.mtconfidence" id="att.mtconfidence"></a>att.mtconfidence</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.mtconfidence.attributes" id="att.mtconfidence.attributes"/>[175] </td><td><code>att.mtconfidence.attributes</code></td><td> ::= </td><td><code> + + <a href="#att.mtconfidence.attribute.mtProducer">att.mtconfidence.attribute.mtProducer</a>, + <a href="#att.mtconfidence.attribute.mtEngine">att.mtconfidence.attribute.mtEngine</a>, + <a href="#att.mtconfidence.attribute.mtConfidenceScore">att.mtconfidence.attribute.mtConfidenceScore</a> + </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.mtconfidence.attribute.mtProducer" id="att.mtconfidence.attribute.mtProducer"/>[176] </td><td><code>att.mtconfidence.attribute.mtProducer</code></td><td> ::= </td><td><code> attribute its:mtProducer { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.mtconfidence.attribute.mtEngine" id="att.mtconfidence.attribute.mtEngine"/>[177] </td><td><code>att.mtconfidence.attribute.mtEngine</code></td><td> ::= </td><td><code> attribute its:mtEngine { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.mtconfidence.attribute.mtConfidenceScore" id="att.mtconfidence.attribute.mtConfidenceScore"/>[178] </td><td><code>att.mtconfidence.attribute.mtConfidenceScore</code></td><td> ::= </td><td><code> + attribute its:mtConfidenceScore { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.mtconfidence.html5" id="att.mtconfidence.html5"></a>att.mtconfidence.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.mtconfidence.html5.attributes" id="att.mtconfidence.html5.attributes"/>[179] </td><td><code>att.mtconfidence.html5.attributes</code></td><td> ::= </td><td><code> + + <a href="#att.mtconfidence.html5.attribute.its-mt-producer">att.mtconfidence.html5.attribute.its-mt-producer</a>, + <a href="#att.mtconfidence.html5.attribute.its-mt-engine">att.mtconfidence.html5.attribute.its-mt-engine</a>, + <a href="#att.mtconfidence.html5.attribute.its-mt-confidence-score">att.mtconfidence.html5.attribute.its-mt-confidence-score</a> + </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.mtconfidence.html5.attribute.its-mt-producer" id="att.mtconfidence.html5.attribute.its-mt-producer"/>[180] </td><td><code>att.mtconfidence.html5.attribute.its-mt-producer</code></td><td> ::= </td><td><code> + attribute its-mt-producer { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.mtconfidence.html5.attribute.its-mt-engine" id="att.mtconfidence.html5.attribute.its-mt-engine"/>[181] </td><td><code>att.mtconfidence.html5.attribute.its-mt-engine</code></td><td> ::= </td><td><code> + attribute its-mt-engine { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.mtconfidence.html5.attribute.its-mt-confidence-score" id="att.mtconfidence.html5.attribute.its-mt-confidence-score"/>[182] </td><td><code>att.mtconfidence.html5.attribute.its-mt-confidence-score</code></td><td> ::= </td><td><code> + attribute its-mt-confidence-score { string }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> <h3><a href="#contents"><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="allowedchars" id="allowedchars"></a>6.21 Allowed Characters</h3><div class="div3"> <h4><a href="#contents"><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="allowedchars-definition" id="allowedchars-definition"></a>6.21.1 Definition</h4><p>The <a href="#allowedchars">Allowed Characters</a> data category is used to specify what characters are allowed in a given content.</p><p>This data category can be used for various purposes, including the @@ -3452,7 +3545,7 @@ contains a <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as - <a class="itsmarkup" href="#att.allowedchars.attribute.allowedCharacters">allowedCharacters</a>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1"></a>Example 82: The <a href="#allowedchars">Allowed Characters</a> data + <a class="itsmarkup" href="#att.allowedchars.attribute.allowedCharacters">allowedCharacters</a>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1"></a>Example 86: The <a href="#allowedchars">Allowed Characters</a> data category expressed globally in XML</div><p>The <a class="itsmarkup" href="#allowedCharactersRule">allowedCharactersRule</a> element states that the translated content of elements <code>content</code> must not contain the characters <code>*</code> and <code>+</code>.</p><div class="exampleInner"><pre> @@ -3468,7 +3561,7 @@ sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</content> </body> -</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-1.xml">examples/xml/EX-allowedCharacters-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-2" id="EX-allowedCharacters-global-2"></a>Example 83: Mapping the <a href="#allowedchars">Allowed Characters</a> +</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-1.xml">examples/xml/EX-allowedCharacters-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-2" id="EX-allowedCharacters-global-2"></a>Example 87: Mapping the <a href="#allowedchars">Allowed Characters</a> data category in XML</div><p>The attribute <a class="itsmarkup" href="#allowedCharactersRule.attributes">allowedCharactersPointer</a> is used to map the data category to the non-ITS attribute <code>set</code> in this document. The attribute has the same semantics as @@ -3484,7 +3577,7 @@ </res></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-2.xml">examples/xml/EX-allowedCharacters-global-2.xml</a>]</p></div><p id="allowedchars-local">LOCAL: the following local markup is available for the <a href="#allowedchars">Allowed Characters</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.allowedchars.attribute.allowedCharacters">allowedCharacters</a> attribute that contains the - regular expression indicating the allowed characters.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-local-1" id="EX-allowedCharacters-local-1"></a>Example 84: The <a href="#allowedchars">Allowed Characters</a> data + regular expression indicating the allowed characters.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-local-1" id="EX-allowedCharacters-local-1"></a>Example 88: The <a href="#allowedchars">Allowed Characters</a> data category expressed locally in XML</div><p>The local <a class="itsmarkup" href="#att.allowedchars.attribute.allowedCharacters">allowedCharacters</a> attribute specifies that the translated content of element <code>panelmsg</code> must contain only Unicode characters between U+0020 and U+00FE.</p><div class="exampleInner"><pre> @@ -3495,7 +3588,7 @@ <panelmsg its:allowedCharacters="[ -þ]">CONTINUE</panelmsg> Button on the printer panel</msg> -</messages></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-local-1.xml">examples/xml/EX-allowedCharacters-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-html5-local-1" id="EX-allowedCharacters-html5-local-1"></a>Example 85: The <a href="#allowedchars">Allowed Characters</a> data +</messages></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-local-1.xml">examples/xml/EX-allowedCharacters-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-html5-local-1" id="EX-allowedCharacters-html5-local-1"></a>Example 89: The <a href="#allowedchars">Allowed Characters</a> data category expressed locally in HTML</div><p>The local <a class="itsmarkup" href="#att.allowedchars.html5.attribute.its-allowed-characters">its-allowed-characters</a> attribute specifies that the translated content of element <code>code</code> must not contain the characters other than 'a' to 'z' in any case and the characters @@ -3511,22 +3604,22 @@ For example: <code its-allowed-characters=[a-zA-Z_\-]>Huck_Finn</code>.</p> </body> </html></pre></div><p>[Source file: <a href="examples/html5/EX-allowedCharacters-html5-local-1.html">examples/html5/EX-allowedCharacters-html5-local-1.html</a>]</p></div></div><div class="div3"> -<h4><a href="#contents"><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="allowedchars-markup" id="allowedchars-markup"></a>6.21.3 Markup Declarations for Allowed Characters</h4><dl><dt class="label">allowedCharactersRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="allowedCharactersRule" id="allowedCharactersRule"/>[172] </td><td><code>allowedCharactersRule</code></td><td> ::= </td><td><code> +<h4><a href="#contents"><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="allowedchars-markup" id="allowedchars-markup"></a>6.21.3 Markup Declarations for Allowed Characters</h4><dl><dt class="label">allowedCharactersRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="allowedCharactersRule" id="allowedCharactersRule"/>[183] </td><td><code>allowedCharactersRule</code></td><td> ::= </td><td><code> element its:allowedCharactersRule { allowedCharactersRule.content, <a href="#allowedCharactersRule.attributes">allowedCharactersRule.attributes</a> - }</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="allowedCharactersRule.content" id="allowedCharactersRule.content"/>[173] </td><td><code>allowedCharactersRule.content</code></td><td> ::= </td><td><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="allowedCharactersRule.attributes" id="allowedCharactersRule.attributes"/>[174] </td><td><code>allowedCharactersRule.attributes</code></td><td> ::= </td><td><code> + }</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="allowedCharactersRule.content" id="allowedCharactersRule.content"/>[184] </td><td><code>allowedCharactersRule.content</code></td><td> ::= </td><td><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="allowedCharactersRule.attributes" id="allowedCharactersRule.attributes"/>[185] </td><td><code>allowedCharactersRule.attributes</code></td><td> ::= </td><td><code> <a href="#att.selector.attributes">att.selector.attributes</a>, attribute allowedCharacters { string }?, - attribute allowedCharactersPointer { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.allowedchars" id="att.allowedchars"></a>att.allowedchars</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.allowedchars.attributes" id="att.allowedchars.attributes"/>[175] </td><td><code>att.allowedchars.attributes</code></td><td> ::= </td><td><code> + attribute allowedCharactersPointer { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.allowedchars" id="att.allowedchars"></a>att.allowedchars</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.allowedchars.attributes" id="att.allowedchars.attributes"/>[186] </td><td><code>att.allowedchars.attributes</code></td><td> ::= </td><td><code> <a href="#att.allowedchars.attribute.allowedCharacters">att.allowedchars.attribute.allowedCharacters</a> - </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.allowedchars.attribute.allowedCharacters" id="att.allowedchars.attribute.allowedCharacters"/>[176] </td><td><code>att.allowedchars.attribute.allowedCharacters</code></td><td> ::= </td><td><code> - attribute its:allowedCharacters { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.allowedchars.html5" id="att.allowedchars.html5"></a>att.allowedchars.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.allowedchars.html5.attributes" id="att.allowedchars.html5.attributes"/>[177] </td><td><code>att.allowedchars.html5.attributes</code></td><td> ::= </td><td><code> + </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.allowedchars.attribute.allowedCharacters" id="att.allowedchars.attribute.allowedCharacters"/>[187] </td><td><code>att.allowedchars.attribute.allowedCharacters</code></td><td> ::= </td><td><code> + attribute its:allowedCharacters { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.allowedchars.html5" id="att.allowedchars.html5"></a>att.allowedchars.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.allowedchars.html5.attributes" id="att.allowedchars.html5.attributes"/>[188] </td><td><code>att.allowedchars.html5.attributes</code></td><td> ::= </td><td><code> <a href="#att.allowedchars.html5.attribute.its-allowed-characters">att.allowedchars.html5.attribute.its-allowed-characters</a> - </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.allowedchars.html5.attribute.its-allowed-characters" id="att.allowedchars.html5.attribute.its-allowed-characters"/>[178] </td><td><code>att.allowedchars.html5.attribute.its-allowed-characters</code></td><td> ::= </td><td><code> + </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.allowedchars.html5.attribute.its-allowed-characters" id="att.allowedchars.html5.attribute.its-allowed-characters"/>[189] </td><td><code>att.allowedchars.html5.attribute.its-allowed-characters</code></td><td> ::= </td><td><code> attribute its-allowed-characters { string }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> <h3><a href="#contents"><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="storagesize" id="storagesize"></a>6.22 Storage Size</h3><div class="div3"> <h4><a href="#contents"><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="storagesize-definition" id="storagesize-definition"></a>6.22.1 Definition</h4><p>The <a href="#storagesize">Storage Size</a> data category is used @@ -3545,16 +3638,19 @@ allowed in storage.</p></li><li><p>A <a class="itsmarkup" href="#storageSizeRule.attributes">storageSizePointer</a> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as - <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.storagesize.attribute.storageSizeEncoding">storageSizeEncoding</a> attribute. It contains + <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a>.</p></li></ul></li><li><p>None or exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a> attribute. It contains the name of the character set encoding used to calculate the number of bytes of the selected text. The name <a href="#rfc-keywords">MUST</a> be one of the names or aliases listed in the <a href="http://www.iana.org/assignments/character-sets">IANA Character Sets registry</a> <a title="Character
								Sets" href="#ianacharsets">[IANA Character Sets]</a>. The default - value is "UTF-8".</p></li><li><p>A <a class="itsmarkup" href="#storageSizeRule.attributes">storageSizeEncodingPointer</a> attribute that + value is "UTF-8".</p></li><li><p>A <a class="itsmarkup" href="#storageSizeRule.attributes">storageEncodingPointer</a> attribute that contains a <a href="#selectors">relative selector</a> pointing to a node with the exact same semantics as - <a class="itsmarkup" href="#att.storagesize.attribute.storageSizeEncoding">storageSizeEncoding</a>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-1" id="EX-storageSize-global-1"></a>Example 86: The <a href="#storagesize">Storage Size</a> data category + <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType">lineBreakType</a> attribute. It indicates what type of line breaks the storage uses. + The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <code>lf</code> for LINE FEED (U+000A), + <code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085). + The default value is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-1" id="EX-storageSize-global-1"></a>Example 90: The <a href="#storagesize">Storage Size</a> data category expressed globally in XML</div><p>The <a class="itsmarkup" href="#storageSizeRule">storageSizeRule</a> element is used to specify that, when encoded in ISO-8859-1, the content of the <code>country</code> element must not be more than 25 bytes. The name "Papouasie-Nouvelle-Guinée" @@ -3563,13 +3659,13 @@ <db xmlns:its="http://www.w3.org/2005/11/its" > <its:rules version="2.0"> - <its:storageSizeRule selector="//country" storageSize="25" storageSizeEncoding="ISO-8859-1"/> + <its:storageSizeRule selector="//country" storageSize="25" storageEncoding="ISO-8859-1"/> </its:rules> <data> <country id="123">Papouasie-Nouvelle-Guinée</country> <country id="139">République Dominicaine</country> </data> -</db></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-1.xml">examples/xml/EX-storageSize-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-2" id="EX-storageSize-global-2"></a>Example 87: Mapping the <a href="#storagesize">Storage Size</a> data +</db></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-1.xml">examples/xml/EX-storageSize-global-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-global-2" id="EX-storageSize-global-2"></a>Example 91: Mapping the <a href="#storagesize">Storage Size</a> data category in XML</div><p>The <code>storageSizePointer</code> attribute is used to map the non-ITS attribute <code>max</code> to the same functionality as <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a>. There is no character set encoding @@ -3587,14 +3683,17 @@ </fields></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-2.xml">examples/xml/EX-storageSize-global-2.xml</a>]</p></div><p id="storagesize-local">LOCAL: the following local markup is available for the <a href="#storagesize">Storage Size</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a> attribute. It contains the maximum number of bytes the text of the selected node is allowed in - storage.</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.storageSizeEncoding">storageSizeEncoding</a> attribute. It + storage.</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding">storageEncoding</a> attribute. It contains the name of the character set encoding used to calculate the number of bytes of the selected text. The name <a href="#rfc-keywords">MUST</a> be one of the names or aliases listed in the <a href="http://www.iana.org/assignments/character-sets">IANA Character Sets registry</a> <a title="Character
								Sets" href="#ianacharsets">[IANA Character Sets]</a>. The default value - is "UTF-8".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-local-1" id="EX-storageSize-local-1"></a>Example 88: The <a href="#storagesize">Storage Size</a> data category + is "UTF-8".</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType">lineBreakType</a> attribute. It indicates what type of line breaks the storage uses. + The possible values are: <code>cr</code> for CARRIAGE RETURN (U+000D), <code>lf</code> for LINE FEED (U+000A), + <code>crlf</code> for CARRIAGE RETURN (U+000D) followed by LINE FEED (U+000A), or <code>nel</code> for NEXT LINE (U+0085). + The default value is <code>lf</code>.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-local-1" id="EX-storageSize-local-1"></a>Example 92: The <a href="#storagesize">Storage Size</a> data category expressed locally in XML</div><p>The <a class="itsmarkup" href="#att.storagesize.attribute.storageSize">storageSize</a> attribute allows to specify different the maximum storage sizes throughout the document.</p><div class="exampleInner"><pre> <messages @@ -3609,7 +3708,7 @@ <var num="panelB5_Cancel" its:storageSize="12" its:storageEncoding="UTF-16">CANCEL</var> -</messages></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-local-1.xml">examples/xml/EX-storageSize-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-html5-local-1" id="EX-storageSize-html5-local-1"></a>Example 89: The <a href="#storagesize">Storage Size</a> data category +</messages></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-local-1.xml">examples/xml/EX-storageSize-local-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-storageSize-html5-local-1" id="EX-storageSize-html5-local-1"></a>Example 93: The <a href="#storagesize">Storage Size</a> data category expressed locally in HTML</div><p>The <a class="itsmarkup" href="#att.storagesize.html5.attribute.its-storage-size">its-storage-size</a> is used here to specify the maximum number of bytes the two editable strings can have in UTF-8.</p><div class="exampleInner"><pre> <html lang=en> @@ -3623,30 +3722,35 @@ <p id=139 contenteditable=true its-storage-size=25>Dominican Replubic</p> </body> </html></pre></div><p>[Source file: <a href="examples/html5/EX-storageSize-html5-local-1.html">examples/html5/EX-storageSize-html5-local-1.html</a>]</p></div></div><div class="div3"> -<h4><a href="#contents"><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="storagesize-markup" id="storagesize-markup"></a>6.22.3 Markup Declarations for Allowed Characters</h4><dl><dt class="label">storageSizeRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="storageSizeRule" id="storageSizeRule"/>[179] </td><td><code>storageSizeRule</code></td><td> ::= </td><td><code> +<h4><a href="#contents"><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="storagesize-markup" id="storagesize-markup"></a>6.22.3 Markup Declarations for Allowed Characters</h4><dl><dt class="label">storageSizeRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="storageSizeRule" id="storageSizeRule"/>[190] </td><td><code>storageSizeRule</code></td><td> ::= </td><td><code> element its:storageSizeRule { storageSizeRule.content, <a href="#storageSizeRule.attributes">storageSizeRule.attributes</a> - }</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="storageSizeRule.content" id="storageSizeRule.content"/>[180] </td><td><code>storageSizeRule.content</code></td><td> ::= </td><td><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="storageSizeRule.attributes" id="storageSizeRule.attributes"/>[181] </td><td><code>storageSizeRule.attributes</code></td><td> ::= </td><td><code> + }</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="storageSizeRule.content" id="storageSizeRule.content"/>[191] </td><td><code>storageSizeRule.content</code></td><td> ::= </td><td><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="storageSizeRule.attributes" id="storageSizeRule.attributes"/>[192] </td><td><code>storageSizeRule.attributes</code></td><td> ::= </td><td><code> <a href="#att.selector.attributes">att.selector.attributes</a>, attribute storageSize { xsd:nonNegativeInteger }?, attribute storageSizePointer { string }?, - attribute storageSizeEncoding { string }?, - attribute storageSizeEncodingPointer { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.storagesize" id="att.storagesize"></a>att.storagesize</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.storagesize.attributes" id="att.storagesize.attributes"/>[182] </td><td><code>att.storagesize.attributes</code></td><td> ::= </td><td><code> + attribute storageEncoding { string }?, + attribute storageEncodingPointer { string }?, + attribute lineBreakType { "cr" | "lf" | "crlf" | "nel" }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.storagesize" id="att.storagesize"></a>att.storagesize</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.storagesize.attributes" id="att.storagesize.attributes"/>[193] </td><td><code>att.storagesize.attributes</code></td><td> ::= </td><td><code> <a href="#att.storagesize.attribute.storageSize">att.storagesize.attribute.storageSize</a>, - <a href="#att.storagesize.attribute.storageSizeEncoding">att.storagesize.attribute.storageSizeEncoding</a> - </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.attribute.storageSize" id="att.storagesize.attribute.storageSize"/>[183] </td><td><code>att.storagesize.attribute.storageSize</code></td><td> ::= </td><td><code> - attribute its:storageSize { xsd:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.attribute.storageSizeEncoding" id="att.storagesize.attribute.storageSizeEncoding"/>[184] </td><td><code>att.storagesize.attribute.storageSizeEncoding</code></td><td> ::= </td><td><code> - attribute its:storageSizeEncoding { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.storagesize.html5" id="att.storagesize.html5"></a>att.storagesize.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.storagesize.html5.attributes" id="att.storagesize.html5.attributes"/>[185] </td><td><code>att.storagesize.html5.attributes</code></td><td> ::= </td><td><code> + <a href="#att.storagesize.attribute.storageEncoding">att.storagesize.attribute.storageEncoding</a>, + <a href="#att.storagesize.attribute.lineBreakType">att.storagesize.attribute.lineBreakType</a> + </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.attribute.storageSize" id="att.storagesize.attribute.storageSize"/>[194] </td><td><code>att.storagesize.attribute.storageSize</code></td><td> ::= </td><td><code> + attribute its:storageSize { xsd:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.attribute.storageEncoding" id="att.storagesize.attribute.storageEncoding"/>[195] </td><td><code>att.storagesize.attribute.storageEncoding</code></td><td> ::= </td><td><code> + attribute its:storageEncoding { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.attribute.lineBreakType" id="att.storagesize.attribute.lineBreakType"/>[196] </td><td><code>att.storagesize.attribute.lineBreakType</code></td><td> ::= </td><td><code> + attribute lineBreakType { "cr" | "lf" | "crlf" | "nel" }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.storagesize.html5" id="att.storagesize.html5"></a>att.storagesize.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td><a name="att.storagesize.html5.attributes" id="att.storagesize.html5.attributes"/>[197] </td><td><code>att.storagesize.html5.attributes</code></td><td> ::= </td><td><code> <a href="#att.storagesize.html5.attribute.its-storage-size">att.storagesize.html5.attribute.its-storage-size</a>, - <a href="#att.storagesize.html5.attribute.its-storage-size-encoding">att.storagesize.html5.attribute.its-storage-size-encoding</a> - </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.html5.attribute.its-storage-size" id="att.storagesize.html5.attribute.its-storage-size"/>[186] </td><td><code>att.storagesize.html5.attribute.its-storage-size</code></td><td> ::= </td><td><code> - attribute its-storage-size { xsd:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.html5.attribute.its-storage-size-encoding" id="att.storagesize.html5.attribute.its-storage-size-encoding"/>[187] </td><td><code>att.storagesize.html5.attribute.its-storage-size-encoding</code></td><td> ::= </td><td><code> - attribute its-storage-size-encoding { string }?</code></td></tr></tbody></table></dd></dl></div></div></div></div><div class="back"><div class="div1"> + <a href="#att.storagesize.html5.attribute.its-storage-encoding">att.storagesize.html5.attribute.its-storage-encoding</a>, + <a href="#att.storagesize.html5.attribute.its-line-break-type">att.storagesize.html5.attribute.its-line-break-type</a> + </code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.html5.attribute.its-storage-size" id="att.storagesize.html5.attribute.its-storage-size"/>[198] </td><td><code>att.storagesize.html5.attribute.its-storage-size</code></td><td> ::= </td><td><code> + attribute its-storage-size { xsd:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.html5.attribute.its-storage-encoding" id="att.storagesize.html5.attribute.its-storage-encoding"/>[199] </td><td><code>att.storagesize.html5.attribute.its-storage-encoding</code></td><td> ::= </td><td><code> + attribute its-storage-encoding { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td><a name="att.storagesize.html5.attribute.its-line-break-type" id="att.storagesize.html5.attribute.its-line-break-type"/>[200] </td><td><code>att.storagesize.html5.attribute.its-line-break-type</code></td><td> ::= </td><td><code> + attribute its-line-break-type { "cr" | "lf" | "crlf" | "nel" }?</code></td></tr></tbody></table></dd></dl></div></div></div></div><div class="back"><div class="div1"> <h2><a href="#contents"><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="normative-references" id="normative-references"></a>A References</h2><dl><dt class="label"><a name="bcp47" id="bcp47"/>BCP47</dt><dd>Addison Phillips, Mark Davis. <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"><cite>Tags for Identifying Languages</cite></a>, September 2009. Available at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt"> http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>.</dd><dt class="label"><a name="ianacharsets" id="ianacharsets"/>IANA Character Sets</dt><dd> @@ -4356,7 +4460,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">[Schematron]</a> document allows for - validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11378" id="d3e11378"></a>Example 90: Testing constraints in ITS markup</div><div class="exampleInner"><pre> + validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11738" id="d3e11738"></a>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -4424,7 +4528,7 @@ </p><p>The following <a title="Namespace-based Validation
							Dispatching Language (NVDL)" href="#nvdl">[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="d3e11400" id="d3e11400"></a>Example 91: NVDL schema for ITS</div><div class="exampleInner"><pre><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> + during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11760" id="d3e11760"></a>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre><rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"> <namespace ns="http://www.w3.org/2005/11/its"> <validate schema="its-elements.rng"/> </namespace> <namespace ns="http://www.w3.org/2005/11/its" match="attributes"> <validate @@ -4435,11 +4539,11 @@ 29 August 2012</a>.</p><ol class="depth1"><li><p>Added informative appendix mapping <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType">locQualityIssueType</a> values to tool-specific issue types</p></li><li><p>Addition of a <a class="itsmarkup" href="#att.locqualityprecis.attribute.locQualityPrecisVote">locQualityPrecisVote</a> attribute and a <a class="itsmarkup" href="#locQualityPrecisRule.attributes">locQualityPrecisVotePointer</a> attribute to <a class="section-ref" href="#lqprecis">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content">clarification</a> of ITS - data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize">Section 6.22: Storage Size</a>.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that + data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize">Section 6.22: Storage Size</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence">Section 6.20: MT Confidence</a>.</p></li></ol><p id="changelog-since-20120731">The following log records major changes that have been made to this document since the <a href="http://www.w3.org/TR/2012/WD-its20-20120731/">ITS 2.0 Working Draft 31 July 2012</a>.</p><ol class="depth1"><li><p>Added <a class="section-ref" href="#Disambiguation">Section 6.10: Disambiguation</a>.</p></li><li><p>Added <a class="section-ref" href="#preservespace">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#idvalue">Section 6.16: Id Value</a>.</p></li><li><p>Added support for different query language and reworked whole XPath and CSS Selectors integration.</p></li><li><p>Added examples to <a class="section-ref" href="#externalresource">Section 6.14: External Resource</a>.</p></li><li><p>Simplified <a class="section-ref" href="#LocaleFilter">Section 6.11: Locale Filter</a>.</p></li><li><p>Added a note about HTML5 and the attributes <a class="itsmarkup" href="#att.local.no-ns.attribute.dir">dir</a> and - <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> to <a class="section-ref" href="#selection-local">Section 5.2.3: Local Selection in an XML Document</a>.</p></li><li><p>Added definition of <a class="itsmarkup" href="#param">param</a> element to <a class="section-ref" href="#selection-global">Section 5.2.1: Global, Rule-based Selection</a>.</p></li><li><p>Added <a class="section-ref" href="#target-pointer">Section 6.15: Target Pointer</a>.</p></li><li><p>Original Ruby markup model changed to HTML5 Ruby model.</p></li><li><p>Updated references.</p></li><li><p>Added <a class="section-ref" href="#preservespace">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#lqissue">Section 6.18: Localization Quality Issue</a> and the related <a class="section-ref" href="#lqissue-typevalues">Appendix B: Values for the Localization Quality Issue Type</a>.</p></li><li><p>Added <a class="section-ref" href="#lqprecis">Section 6.19: Localization Qualiy Précis</a>.</p></li><li><p>Added a placeholder <a class="section-ref" href="#mt-confidence">Section 6.20: MT Confidence</a>.</p></li></ol><p id="changelog-since-20120626">The following log records major changes that + <a class="itsmarkup" href="#att.local.no-ns.attribute.translate">translate</a> to <a class="section-ref" href="#selection-local">Section 5.2.3: Local Selection in an XML Document</a>.</p></li><li><p>Added definition of <a class="itsmarkup" href="#param">param</a> element to <a class="section-ref" href="#selection-global">Section 5.2.1: Global, Rule-based Selection</a>.</p></li><li><p>Added <a class="section-ref" href="#target-pointer">Section 6.15: Target Pointer</a>.</p></li><li><p>Original Ruby markup model changed to HTML5 Ruby model.</p></li><li><p>Updated references.</p></li><li><p>Added <a class="section-ref" href="#preservespace">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#lqissue">Section 6.18: Localization Quality Issue</a> and the related <a class="section-ref" href="#lqissue-typevalues">Appendix B: Values for the Localization Quality Issue Type</a>.</p></li><li><p>Added <a class="section-ref" href="#lqprecis">Section 6.19: Localization Qualiy Précis</a>.</p></li><li><p>Added a placeholder <a class="section-ref" href="#mtconfidence">Section 6.20: MT Confidence</a>.</p></li></ol><p id="changelog-since-20120626">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-20120626/">ITS 2.0 Working Draft 26 June 2012</a>.</p><ol class="depth1"><li><p>Various editorial changes (non-normative references update, style & grammar fixes).</p></li><li><p>Made clarifications to <a class="section-ref" href="#out-of-scope">Section 1.5: Out of Scope</a>, <a class="section-ref" href="#design-decisions">Section 1.6: Important Design Principles</a>.</p></li><li><p>Added explanatory note on precedence and overriding in <a class="section-ref" href="#selection-precedence">Section 5.5: Precedence between Selections</a>.</p></li><li><p>Reordered some components in <a class="section-ref" href="#introduction">Section 1: Introduction</a>.</p></li><li><p>Restructured <a class="section-ref" href="#relation-to-its10-and-new-principles">Section 1.1: Relation to ITS 1.0 and New Principles</a>.</p></li><li><p>Added <a class="section-ref" href="#queryLanguage">Section 5.3.1: Choosing Query Language</a> as a stub.</p></li><li><p>Added <a class="section-ref" href="#LocaleFilter">Section 6.11: Locale Filter</a>.</p></li><li><p>Added <a class="section-ref" href="#domain">Section 6.9: Domain</a>.</p></li><li><p>Added <a class="section-ref href="#usage-in-legacy-html">Section 1.4.1: Support for legacy HTML content</a>.</p></li><li><p>Added local markup in <a class="section-ref" href="#elements-within-text">Section 6.8: Elements Within Text</a>.</p></li><li><p>Added <a class="section-ref" href="#externalresource">Section 6.14: External Resource</a>.</p></li><li><p>Updated examples to use the <a class="itsmarkup" href="#att.version.attribute.version">version</a> attribute with the value
Received on Wednesday, 19 September 2012 12:20:25 UTC