- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 19 Sep 2012 12:20:16 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv30670 Modified Files: its20.html its20.odd Log Message: added mtconfidence section Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.158 retrieving revision 1.159 diff -u -d -r1.158 -r1.159 --- its20.odd 17 Sep 2012 14:53:23 -0000 1.158 +++ its20.odd 19 Sep 2012 12:20:13 -0000 1.159 @@ -5880,10 +5880,159 @@ </div> </div> - <div xml:id="mt-confidence"> + <div xml:id="mtconfidence"> <head>MT Confidence</head> - <p>The MT Confidence data category will be defined in an updated version of this - document.</p> + <div xml:id="mtconfidence-definition"> + <head>Definition</head> + <p>The <ref target="#mtconfidence">MT Confidence</ref> 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> + <note> + <p>Implementers are expected to interpret 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> + </note> + <p>This data category can be used for several purposes, including, but not limited to:</p> + <list> + <item><p>Automated sorting of raw machine translated text for further processing based on empirically set thresholds.</p></item> + <item><p>Provide readers of machine translated text with self-reported relative accuracy prediction.</p></item> + <item><p>Provide translators, post-editors, reviewers and proofreaders with self-reported relative accuracy prediction.</p></item> + <item><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></item> + <item><p>MT confidence can be displayed e.g.:</p> + <list><item><p>on websites machine translated on the fly,</p></item> + <item><p>by simple translation editors, and Computer Aided Translation (CAT) tools. + </p></item></list></item> + </list> + </div> + <div xml:id="mtconfidence-implementation"> + <head>Implementation</head> + <p>The <ref target="#mtconfidence">MT Confidence</ref> data category + can be expressed with global rules, or locally on individual elements. + For elements, the data category information <ref + target="#def-inheritance">inherits</ref> to the textual content of + the element, <emph>including</emph> child elements, but + <emph>excluding</emph> attributes.</p> + <p xml:id="mtconfidence-global">GLOBAL: The <gi>mtConfidenceRule</gi> + element contains the following:</p> + <list type="unordered"> + <item><p>A required <att>selector</att> attribute. It contains an <ref + target="#selectors">absolute selector</ref> which selects + the nodes to which this rule applies.</p></item> + <item><p>A required <att>mtProducer</att> 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></item> + <item><p>An optional <att>mtEngine</att> attribute that contains a string uniquely identifying a specific MT engine on a platform given in mtProducer. Some examples of values are:</p><list><item> + <p>A BCP 47 language tag with t-extension, e.g. <code>ja-t-it</code> for an Italian to Japanese MT engine</p></item> + <item><p>A Domain as per the <ptr target="#domain" type="specref"/></p></item> + <item><p>A privately structured string, eg. <code>Domain:IT-Pair:IT-JA</code>, <code>IT-JA:Medical</code>, etc.</p></item> + </list> + </item></list> + <exemplum xml:id="EX-mtConfidence-global-1"> + <head>Global usage of <gi>mtConfidenceRule</gi>, <att>mtProducer</att>, and <att>mtEngine</att> (specified by BCP 47 t-extension) along with local usage of <att>mtConfidenceScore</att></head> + <egXML xmlns="http://www.tei-c.org/ns/Examples" + target="examples/xml/EX-mtConfidence-global-1.xml"/> + </exemplum> + <exemplum xml:id="EX-mtConfidence-global-2"> + <head>Global usage of <gi>mtConfidenceRule</gi>, <att>mtProducer</att>, and <att>mtEngine</att> (specified with a sample privately structured string) along with local usage of <att>mtConfidenceScore</att></head> + <egXML xmlns="http://www.tei-c.org/ns/Examples" + target="examples/xml/EX-mtConfidence-global-2.xml"/> + </exemplum> + + <p xml:id="mtconfidence-local">LOCAL: the following local markup is + available for the <ref target="#mtconfidence">MT Confidence</ref> + data category:</p> + <list type="unordered"> + <item><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></item> + <item><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 <ref target="#mtconfidence-global">global definition of MT Confidence</ref>.</p></item></list> + <exemplum xml:id="EX-mtConfidence-local-1"> + <head>The <ref target="#mtconfidence">MT Confidence</ref> data + category expressed locally</head> + + <egXML xmlns="http://www.tei-c.org/ns/Examples" + target="examples/xml/EX-mtConfidence-local-1.xml"/> + </exemplum> + <exemplum xml:id="EX-mtConfidence-html5-local-1"> + <head>The <ref target="#mtconfidence">MT Confidence</ref> data + category expressed locally in HTML5</head> + + <egXML xmlns="http://www.tei-c.org/ns/Examples" + target="examples/html5/EX-mtConfidence-html5-local-1.html" type="html5"/> + </exemplum> + </div> + <div xml:id="mtconfidence-markup"> + <head>Markup Declarations for MT Confidence</head> + <specGrp xml:id="spec-its-mtconfidence"> + <elementSpec ident="mtConfidenceRule" + ns="http://www.w3.org/2005/11/its"> + <desc>Rule about the <ref target="#mtconfidence">MT Confidence</ref> data category.</desc> + <classes> + <memberOf key="att.selector"/> + </classes> + <content> + <rng:empty/> + </content> + <attList> + <attDef ident="mtProducer" usage="req"> + <desc>TODO</desc> + <datatype> + <rng:data type="string"/> + </datatype> + </attDef> + <attDef ident="mtEngine" usage="opt"> + <desc>TODO</desc> + <datatype> + <rng:data type="string"/> + </datatype> + </attDef> + </attList> + </elementSpec> + <classSpec ident="att.mtconfidence" type="atts"> + <attList> + <attDef ident="mtProducer" usage="opt" + ns="http://www.w3.org/2005/11/its"> + <desc>TODO</desc> + <datatype> + <rng:data type="string"/> + </datatype> + </attDef> + <attDef ident="mtEngine" usage="opt" + ns="http://www.w3.org/2005/11/its"> + <desc>TODO</desc> + <datatype> + <rng:data type="string"/> + </datatype> + </attDef> + <attDef ident="mtConfidenceScore" usage="opt" + ns="http://www.w3.org/2005/11/its"> + <desc>TODO</desc> + <datatype> + <rng:data type="string"/> + </datatype> + </attDef> + </attList> + </classSpec> + <classSpec ident="att.mtconfidence.html5" type="atts"> + <attList> + <attDef ident="its-mt-producer" usage="opt" + ns="http://www.w3.org/1999/xhtml"> + <desc>TODO</desc> + <datatype> + <rng:data type="string"/> + </datatype> + </attDef> + <attDef ident="its-mt-engine" usage="opt" + ns="http://www.w3.org/1999/xhtml"> + <desc>TODO</desc> + <datatype> + <rng:data type="string"/> + </datatype> + </attDef> + <attDef ident="its-mt-confidence-score" usage="opt" + ns="http://www.w3.org/1999/xhtml"> + <desc>TODO</desc> + <datatype> + <rng:data type="string"/> + </datatype> + </attDef> + </attList> + </classSpec> + </specGrp> + + </div> </div> <div xml:id="allowedchars"> @@ -7687,6 +7836,7 @@ target="#datacategories-defaults-etc"/>.</item> <item>Added <ptr type="specref" target="#allowedchars"/>.</item> <item>Added <ptr type="specref" target="#storagesize"/>.</item> + <item>Added <ptr type="specref" target="#mtconfidence"/>.</item> </list> <p xml:id="changelog-since-20120731">The following log records major changes that have been made to this document since the <ref @@ -7712,7 +7862,7 @@ <item>Added <ptr target="#lqissue" type="specref"/> and the related <ptr target="#lqissue-typevalues" type="specref"/>.</item> <item>Added <ptr target="#lqprecis" type="specref"/>.</item> - <item>Added a placeholder <ptr type="specref" target="#mt-confidence"/>.</item> + <item>Added a placeholder <ptr type="specref" target="#mtconfidence"/>.</item> </list> <p xml:id="changelog-since-20120626">The following log records major changes that have been made to this document since the <ref Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.161 retrieving revision 1.162 diff -u -d -r1.161 -r1.162 --- its20.html 17 Sep 2012 14:53:23 -0000 1.161 +++ its20.html 19 Sep 2012 12:20:12 -0000 1.162 @@ -128,7 +128,10 @@ <div class="toc3">6.19.2 <a href="#lqprecis-implementation" shape="rect">Implementation</a></div> <div class="toc3">6.19.3 <a href="#lqprecis-markup" shape="rect">Markup Declarations for Localization Quality Issue</a></div> </div> -<div class="toc2">6.20 <a href="#mt-confidence" shape="rect">MT Confidence</a></div> +<div class="toc2">6.20 <a href="#mtconfidence" shape="rect">MT Confidence</a><div class="toc3">6.20.1 <a href="#mtconfidence-definition" shape="rect">Definition</a></div> +<div class="toc3">6.20.2 <a href="#mtconfidence-implementation" shape="rect">Implementation</a></div> +<div class="toc3">6.20.3 <a href="#mtconfidence-markup" shape="rect">Markup Declarations for MT Confidence</a></div> +</div> <div class="toc2">6.21 <a href="#allowedchars" shape="rect">Allowed Characters</a><div class="toc3">6.21.1 <a href="#allowedchars-definition" shape="rect">Definition</a></div> <div class="toc3">6.21.2 <a href="#allowedchars-implementation" shape="rect">Implementation</a></div> <div class="toc3">6.21.3 <a href="#allowedchars-markup" shape="rect">Markup Declarations for Allowed Characters</a></div> @@ -3379,8 +3382,98 @@ attribute its-loc-quality-precis-vote { xsd:integer }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityprecis.html5.attribute.its-loc-quality-precis-threshold" id="att.locqualityprecis.html5.attribute.its-loc-quality-precis-threshold" shape="rect"/>[170] </td><td rowspan="1" colspan="1"><code>att.locqualityprecis.html5.attribute.its-loc-quality-precis-threshold</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> attribute its-loc-quality-precis-threshold { xsd:integer }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref" id="att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref" shape="rect"/>[171] </td><td rowspan="1" colspan="1"><code>att.locqualityprecis.html5.attribute.its-loc-quality-precis-profile-ref</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><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" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mt-confidence" id="mt-confidence" shape="rect"/>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" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence" id="mtconfidence" shape="rect"/>6.20 MT Confidence</h3><div class="div3"> +<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-definition" id="mtconfidence-definition" shape="rect"/>6.20.1 Definition</h4><p>The <a href="#mtconfidence" shape="rect">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>Iplementers are expected to interpret 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 Trnslation (CAT) tools. + </p></li></ul></li></ul></div><div class="div3"> +<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-implementation" id="mtconfidence-implementation" shape="rect"/>6.20.2 Implementation</h4><p>The <a href="#mtconfidence" shape="rect">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" shape="rect">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" shape="rect">mtConfidenceRule</a> + element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects + the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer" shape="rect">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" shape="rect">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" shape="rect">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" shape="rect"/>Example 82: Global usage of <a class="itsmarkup" href="#mtConfidenceRule" shape="rect">mtConfidenceRule</a>, <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer" shape="rect">mtProducer</a>, and <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine" shape="rect">mtEngine</a> (specified by BCP 47 t-extension) along with local usage of <a class="itsmarkup" href="#att.mtconfidence.attribute.mtConfidenceScore" shape="rect">mtConfidenceScore</a> + </div><div class="exampleInner"><pre xml:space="preserve"> +<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" shape="rect">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" shape="rect"/>Example 83: Global usage of <a class="itsmarkup" href="#mtConfidenceRule" shape="rect">mtConfidenceRule</a>, <a class="itsmarkup" href="#att.mtconfidence.attribute.mtProducer" shape="rect">mtProducer</a>, and <a class="itsmarkup" href="#att.mtconfidence.attribute.mtEngine" shape="rect">mtEngine</a> (specified with a sample privately structured string) along with local usage of <a class="itsmarkup" href="#att.mtconfidence.attribute.mtConfidenceScore" shape="rect">mtConfidenceScore</a> + </div><div class="exampleInner"><pre xml:space="preserve"> +<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" shape="rect">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" shape="rect">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" shape="rect">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" shape="rect"/>Example 84: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data + category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"> +<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" shape="rect">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" shape="rect"/>Example 85: The <a href="#mtconfidence" shape="rect">MT Confidence</a> data + category expressed locally in HTML5</div><div class="exampleInner"><pre xml:space="preserve"><!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" shape="rect">examples/html5/EX-mtConfidence-html5-local-1.html</a>]</p></div></div><div class="div3"> +<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="mtconfidence-markup" id="mtconfidence-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="mtConfidenceRule" id="mtConfidenceRule" shape="rect"/>[172] </td><td rowspan="1" colspan="1"><code>mtConfidenceRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + element its:mtConfidenceRule + { + mtConfidenceRule.content, + <a href="#mtConfidenceRule.attributes" shape="rect">mtConfidenceRule.attributes</a> + }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="mtConfidenceRule.content" id="mtConfidenceRule.content" shape="rect"/>[173] </td><td rowspan="1" colspan="1"><code>mtConfidenceRule.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="mtConfidenceRule.attributes" id="mtConfidenceRule.attributes" shape="rect"/>[174] </td><td rowspan="1" colspan="1"><code>mtConfidenceRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + + <a href="#att.selector.attributes" shape="rect">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" shape="rect"/>att.mtconfidence</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.mtconfidence.attributes" id="att.mtconfidence.attributes" shape="rect"/>[175] </td><td rowspan="1" colspan="1"><code>att.mtconfidence.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + + <a href="#att.mtconfidence.attribute.mtProducer" shape="rect">att.mtconfidence.attribute.mtProducer</a>, + <a href="#att.mtconfidence.attribute.mtEngine" shape="rect">att.mtconfidence.attribute.mtEngine</a>, + <a href="#att.mtconfidence.attribute.mtConfidenceScore" shape="rect">att.mtconfidence.attribute.mtConfidenceScore</a> + </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.mtconfidence.attribute.mtProducer" id="att.mtconfidence.attribute.mtProducer" shape="rect"/>[176] </td><td rowspan="1" colspan="1"><code>att.mtconfidence.attribute.mtProducer</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> attribute its:mtProducer { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.mtconfidence.attribute.mtEngine" id="att.mtconfidence.attribute.mtEngine" shape="rect"/>[177] </td><td rowspan="1" colspan="1"><code>att.mtconfidence.attribute.mtEngine</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> attribute its:mtEngine { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.mtconfidence.attribute.mtConfidenceScore" id="att.mtconfidence.attribute.mtConfidenceScore" shape="rect"/>[178] </td><td rowspan="1" colspan="1"><code>att.mtconfidence.attribute.mtConfidenceScore</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:mtConfidenceScore { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.mtconfidence.html5" id="att.mtconfidence.html5" shape="rect"/>att.mtconfidence.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.mtconfidence.html5.attributes" id="att.mtconfidence.html5.attributes" shape="rect"/>[179] </td><td rowspan="1" colspan="1"><code>att.mtconfidence.html5.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + + <a href="#att.mtconfidence.html5.attribute.its-mt-producer" shape="rect">att.mtconfidence.html5.attribute.its-mt-producer</a>, + <a href="#att.mtconfidence.html5.attribute.its-mt-engine" shape="rect">att.mtconfidence.html5.attribute.its-mt-engine</a>, + <a href="#att.mtconfidence.html5.attribute.its-mt-confidence-score" shape="rect">att.mtconfidence.html5.attribute.its-mt-confidence-score</a> + </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.mtconfidence.html5.attribute.its-mt-producer" id="att.mtconfidence.html5.attribute.its-mt-producer" shape="rect"/>[180] </td><td rowspan="1" colspan="1"><code>att.mtconfidence.html5.attribute.its-mt-producer</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-mt-producer { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.mtconfidence.html5.attribute.its-mt-engine" id="att.mtconfidence.html5.attribute.its-mt-engine" shape="rect"/>[181] </td><td rowspan="1" colspan="1"><code>att.mtconfidence.html5.attribute.its-mt-engine</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-mt-engine { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.mtconfidence.html5.attribute.its-mt-confidence-score" id="att.mtconfidence.html5.attribute.its-mt-confidence-score" shape="rect"/>[182] </td><td rowspan="1" colspan="1"><code>att.mtconfidence.html5.attribute.its-mt-confidence-score</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-mt-confidence-score { string }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> <h3><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="allowedchars" id="allowedchars" shape="rect"/>6.21 Allowed Characters</h3><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="allowedchars-definition" id="allowedchars-definition" shape="rect"/>6.21.1 Definition</h4><p>The <a href="#allowedchars" shape="rect">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 @@ -3412,7 +3505,7 @@ contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node with the exact same semantics as - <a class="itsmarkup" href="#att.allowedchars.attribute.allowedCharacters" shape="rect">allowedCharacters</a>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1" shape="rect"/>Example 82: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data + <a class="itsmarkup" href="#att.allowedchars.attribute.allowedCharacters" shape="rect">allowedCharacters</a>.</p></li></ul></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-allowedCharacters-global-1" id="EX-allowedCharacters-global-1" shape="rect"/>Example 86: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed globally in XML</div><p>The <a class="itsmarkup" href="#allowedCharactersRule" shape="rect">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 xml:space="preserve"> @@ -3428,7 +3521,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" shape="rect">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" shape="rect"/>Example 83: Mapping the <a href="#allowedchars" shape="rect">Allowed Characters</a> +</myRes></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-1.xml" shape="rect">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" shape="rect"/>Example 87: Mapping the <a href="#allowedchars" shape="rect">Allowed Characters</a> data category in XML</div><p>The attribute <a class="itsmarkup" href="#allowedCharactersRule.attributes" shape="rect">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 @@ -3444,7 +3537,7 @@ </res></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-global-2.xml" shape="rect">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" shape="rect">Allowed Characters</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.allowedchars.attribute.allowedCharacters" shape="rect">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" shape="rect"/>Example 84: The <a href="#allowedchars" shape="rect">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" shape="rect"/>Example 88: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed locally in XML</div><p>The local <a class="itsmarkup" href="#att.allowedchars.attribute.allowedCharacters" shape="rect">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 xml:space="preserve"> @@ -3455,7 +3548,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" shape="rect">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" shape="rect"/>Example 85: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data +</messages></pre></div><p>[Source file: <a href="examples/xml/EX-allowedCharacters-local-1.xml" shape="rect">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" shape="rect"/>Example 89: The <a href="#allowedchars" shape="rect">Allowed Characters</a> data category expressed locally in HTML</div><p>The local <a class="itsmarkup" href="#att.allowedchars.html5.attribute.its-allowed-characters" shape="rect">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 @@ -3471,22 +3564,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" shape="rect">examples/html5/EX-allowedCharacters-html5-local-1.html</a>]</p></div></div><div class="div3"> -<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="allowedchars-markup" id="allowedchars-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="allowedCharactersRule" id="allowedCharactersRule" shape="rect"/>[172] </td><td rowspan="1" colspan="1"><code>allowedCharactersRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> +<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="allowedchars-markup" id="allowedchars-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="allowedCharactersRule" id="allowedCharactersRule" shape="rect"/>[183] </td><td rowspan="1" colspan="1"><code>allowedCharactersRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:allowedCharactersRule { allowedCharactersRule.content, <a href="#allowedCharactersRule.attributes" shape="rect">allowedCharactersRule.attributes</a> - }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="allowedCharactersRule.content" id="allowedCharactersRule.content" shape="rect"/>[173] </td><td rowspan="1" colspan="1"><code>allowedCharactersRule.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="allowedCharactersRule.attributes" id="allowedCharactersRule.attributes" shape="rect"/>[174] </td><td rowspan="1" colspan="1"><code>allowedCharactersRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="allowedCharactersRule.content" id="allowedCharactersRule.content" shape="rect"/>[184] </td><td rowspan="1" colspan="1"><code>allowedCharactersRule.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="allowedCharactersRule.attributes" id="allowedCharactersRule.attributes" shape="rect"/>[185] </td><td rowspan="1" colspan="1"><code>allowedCharactersRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> <a href="#att.selector.attributes" shape="rect">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" shape="rect"/>att.allowedchars</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.attributes" id="att.allowedchars.attributes" shape="rect"/>[175] </td><td rowspan="1" colspan="1"><code>att.allowedchars.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute allowedCharactersPointer { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.allowedchars" id="att.allowedchars" shape="rect"/>att.allowedchars</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.attributes" id="att.allowedchars.attributes" shape="rect"/>[186] </td><td rowspan="1" colspan="1"><code>att.allowedchars.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> <a href="#att.allowedchars.attribute.allowedCharacters" shape="rect">att.allowedchars.attribute.allowedCharacters</a> - </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.attribute.allowedCharacters" id="att.allowedchars.attribute.allowedCharacters" shape="rect"/>[176] </td><td rowspan="1" colspan="1"><code>att.allowedchars.attribute.allowedCharacters</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> - attribute its:allowedCharacters { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.allowedchars.html5" id="att.allowedchars.html5" shape="rect"/>att.allowedchars.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.html5.attributes" id="att.allowedchars.html5.attributes" shape="rect"/>[177] </td><td rowspan="1" colspan="1"><code>att.allowedchars.html5.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.attribute.allowedCharacters" id="att.allowedchars.attribute.allowedCharacters" shape="rect"/>[187] </td><td rowspan="1" colspan="1"><code>att.allowedchars.attribute.allowedCharacters</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:allowedCharacters { string }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.allowedchars.html5" id="att.allowedchars.html5" shape="rect"/>att.allowedchars.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.html5.attributes" id="att.allowedchars.html5.attributes" shape="rect"/>[188] </td><td rowspan="1" colspan="1"><code>att.allowedchars.html5.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> <a href="#att.allowedchars.html5.attribute.its-allowed-characters" shape="rect">att.allowedchars.html5.attribute.its-allowed-characters</a> - </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.html5.attribute.its-allowed-characters" id="att.allowedchars.html5.attribute.its-allowed-characters" shape="rect"/>[178] </td><td rowspan="1" colspan="1"><code>att.allowedchars.html5.attribute.its-allowed-characters</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.allowedchars.html5.attribute.its-allowed-characters" id="att.allowedchars.html5.attribute.its-allowed-characters" shape="rect"/>[189] </td><td rowspan="1" colspan="1"><code>att.allowedchars.html5.attribute.its-allowed-characters</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> attribute its-allowed-characters { string }?</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> <h3><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize" id="storagesize" shape="rect"/>6.22 Storage Size</h3><div class="div3"> <h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize-definition" id="storagesize-definition" shape="rect"/>6.22.1 Definition</h4><p>The <a href="#storagesize" shape="rect">Storage Size</a> data category is used @@ -3517,7 +3610,7 @@ <a class="itsmarkup" href="#att.storagesize.attribute.storageEncoding" shape="rect">storageEncoding</a>.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType" shape="rect">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" shape="rect"/>Example 86: The <a href="#storagesize" shape="rect">Storage Size</a> data category + 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" shape="rect"/>Example 90: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed globally in XML</div><p>The <a class="itsmarkup" href="#storageSizeRule" shape="rect">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" @@ -3532,7 +3625,7 @@ <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" shape="rect">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" shape="rect"/>Example 87: Mapping the <a href="#storagesize" shape="rect">Storage Size</a> data +</db></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-global-1.xml" shape="rect">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" shape="rect"/>Example 91: Mapping the <a href="#storagesize" shape="rect">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" shape="rect">storageSize</a>. There is no character set encoding @@ -3560,7 +3653,7 @@ is "UTF-8".</p></li><li><p>An optional <a class="itsmarkup" href="#att.storagesize.attribute.lineBreakType" shape="rect">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" shape="rect"/>Example 88: The <a href="#storagesize" shape="rect">Storage Size</a> data category + 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" shape="rect"/>Example 92: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed locally in XML</div><p>The <a class="itsmarkup" href="#att.storagesize.attribute.storageSize" shape="rect">storageSize</a> attribute allows to specify different the maximum storage sizes throughout the document.</p><div class="exampleInner"><pre xml:space="preserve"> <messages @@ -3575,7 +3668,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" shape="rect">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" shape="rect"/>Example 89: The <a href="#storagesize" shape="rect">Storage Size</a> data category +</messages></pre></div><p>[Source file: <a href="examples/xml/EX-storageSize-local-1.xml" shape="rect">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" shape="rect"/>Example 93: The <a href="#storagesize" shape="rect">Storage Size</a> data category expressed locally in HTML</div><p>The <a class="itsmarkup" href="#att.storagesize.html5.attribute.its-storage-size" shape="rect">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 xml:space="preserve"> <html lang=en> @@ -3589,34 +3682,34 @@ <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" shape="rect">examples/html5/EX-storageSize-html5-local-1.html</a>]</p></div></div><div class="div3"> -<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize-markup" id="storagesize-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="storageSizeRule" id="storageSizeRule" shape="rect"/>[179] </td><td rowspan="1" colspan="1"><code>storageSizeRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> +<h4><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="storagesize-markup" id="storagesize-markup" shape="rect"/>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 rowspan="1" colspan="1"><a name="storageSizeRule" id="storageSizeRule" shape="rect"/>[190] </td><td rowspan="1" colspan="1"><code>storageSizeRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:storageSizeRule { storageSizeRule.content, <a href="#storageSizeRule.attributes" shape="rect">storageSizeRule.attributes</a> - }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="storageSizeRule.content" id="storageSizeRule.content" shape="rect"/>[180] </td><td rowspan="1" colspan="1"><code>storageSizeRule.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="storageSizeRule.attributes" id="storageSizeRule.attributes" shape="rect"/>[181] </td><td rowspan="1" colspan="1"><code>storageSizeRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="storageSizeRule.content" id="storageSizeRule.content" shape="rect"/>[191] </td><td rowspan="1" colspan="1"><code>storageSizeRule.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="storageSizeRule.attributes" id="storageSizeRule.attributes" shape="rect"/>[192] </td><td rowspan="1" colspan="1"><code>storageSizeRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> <a href="#att.selector.attributes" shape="rect">att.selector.attributes</a>, attribute storageSize { xsd:nonNegativeInteger }?, attribute storageSizePointer { string }?, 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" shape="rect"/>att.storagesize</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attributes" id="att.storagesize.attributes" shape="rect"/>[182] </td><td rowspan="1" colspan="1"><code>att.storagesize.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute lineBreakType { "cr" | "lf" | "crlf" | "nel" }?</code></td></tr></tbody></table></dd><dt class="label"><a name="att.storagesize" id="att.storagesize" shape="rect"/>att.storagesize</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attributes" id="att.storagesize.attributes" shape="rect"/>[193] </td><td rowspan="1" colspan="1"><code>att.storagesize.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> <a href="#att.storagesize.attribute.storageSize" shape="rect">att.storagesize.attribute.storageSize</a>, <a href="#att.storagesize.attribute.storageEncoding" shape="rect">att.storagesize.attribute.storageEncoding</a>, <a href="#att.storagesize.attribute.lineBreakType" shape="rect">att.storagesize.attribute.lineBreakType</a> - </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.storageSize" id="att.storagesize.attribute.storageSize" shape="rect"/>[183] </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.storageSize</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> - attribute its:storageSize { xsd:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.storageEncoding" id="att.storagesize.attribute.storageEncoding" shape="rect"/>[184] </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.storageEncoding</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> - attribute its:storageEncoding { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.lineBreakType" id="att.storagesize.attribute.lineBreakType" shape="rect"/>[185] </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.lineBreakType</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><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" shape="rect"/>att.storagesize.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attributes" id="att.storagesize.html5.attributes" shape="rect"/>[186] </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.storageSize" id="att.storagesize.attribute.storageSize" shape="rect"/>[194] </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.storageSize</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:storageSize { xsd:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.storageEncoding" id="att.storagesize.attribute.storageEncoding" shape="rect"/>[195] </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.storageEncoding</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its:storageEncoding { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.attribute.lineBreakType" id="att.storagesize.attribute.lineBreakType" shape="rect"/>[196] </td><td rowspan="1" colspan="1"><code>att.storagesize.attribute.lineBreakType</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><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" shape="rect"/>att.storagesize.html5</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attributes" id="att.storagesize.html5.attributes" shape="rect"/>[197] </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> <a href="#att.storagesize.html5.attribute.its-storage-size" shape="rect">att.storagesize.html5.attribute.its-storage-size</a>, <a href="#att.storagesize.html5.attribute.its-storage-encoding" shape="rect">att.storagesize.html5.attribute.its-storage-encoding</a>, <a href="#att.storagesize.html5.attribute.its-line-break-type" shape="rect">att.storagesize.html5.attribute.its-line-break-type</a> - </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-storage-size" id="att.storagesize.html5.attribute.its-storage-size" shape="rect"/>[187] </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-storage-size</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> - attribute its-storage-size { xsd:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-storage-encoding" id="att.storagesize.html5.attribute.its-storage-encoding" shape="rect"/>[188] </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-storage-encoding</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> - attribute its-storage-encoding { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-line-break-type" id="att.storagesize.html5.attribute.its-line-break-type" shape="rect"/>[189] </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-line-break-type</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + </code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-storage-size" id="att.storagesize.html5.attribute.its-storage-size" shape="rect"/>[198] </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-storage-size</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-storage-size { xsd:nonNegativeInteger }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-storage-encoding" id="att.storagesize.html5.attribute.its-storage-encoding" shape="rect"/>[199] </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-storage-encoding</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> + attribute its-storage-encoding { string }?</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="att.storagesize.html5.attribute.its-line-break-type" id="att.storagesize.html5.attribute.its-line-break-type" shape="rect"/>[200] </td><td rowspan="1" colspan="1"><code>att.storagesize.html5.attribute.its-line-break-type</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><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" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="normative-references" id="normative-references" shape="rect"/>A References</h2><dl><dt class="label"><a name="bcp47" id="bcp47" shape="rect"/>BCP47</dt><dd>Addison Phillips, Mark Davis. <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect"><cite>Tags for Identifying Languages</cite></a>, September 2009. Available at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt" shape="rect"> @@ -4327,7 +4420,7 @@ <em>This section is informative.</em> </p><p>Several constraints of ITS markup cannot be validated with ITS schemas. The following <a title="Rule-based validation
							-- Schematron" href="#schematron" shape="rect">[Schematron]</a> document allows for - validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11438" id="d3e11438" shape="rect"/>Example 90: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> + validating some of these constraints.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11738" id="d3e11738" shape="rect"/>Example 94: Testing constraints in ITS markup</div><div class="exampleInner"><pre xml:space="preserve"> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron" > <!-- Schematron document to test constraints for global and local ITS markup. @@ -4395,7 +4488,7 @@ </p><p>The following <a title="Namespace-based Validation
							Dispatching Language (NVDL)" href="#nvdl" shape="rect">[NVDL]</a> document allows validation of ITS markup which has been added to a host vocabulary. Only ITS elements and attributes are checked. Elements and attributes of host language are ignored - during validation against this NVDL document/schema.</p><div class="exampleOuter"><div class="exampleHeader"><a name="d3e11460" id="d3e11460" shape="rect"/>Example 91: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><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" shape="rect"/>Example 95: NVDL schema for ITS</div><div class="exampleInner"><pre xml:space="preserve"><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 @@ -4406,11 +4499,11 @@ 29 August 2012</a>.</p><ol class="depth1"><li><p>Added informative appendix mapping <a class="itsmarkup" href="#att.locqualityissue.attribute.locQualityIssueType" shape="rect">locQualityIssueType</a> values to tool-specific issue types</p></li><li><p>Addition of a <a class="itsmarkup" href="#att.locqualityprecis.attribute.locQualityPrecisVote" shape="rect">locQualityPrecisVote</a> attribute and a <a class="itsmarkup" href="#locQualityPrecisRule.attributes" shape="rect">locQualityPrecisVotePointer</a> attribute to <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>A <a href="#its-information_versus_content" shape="rect">clarification</a> of ITS - data category information and processing of content in <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars" shape="rect">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize" shape="rect">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" shape="rect">Section 6.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>.</p></li><li><p>Added <a class="section-ref" href="#allowedchars" shape="rect">Section 6.21: Allowed Characters</a>.</p></li><li><p>Added <a class="section-ref" href="#storagesize" shape="rect">Section 6.22: Storage Size</a>.</p></li><li><p>Added <a class="section-ref" href="#mtconfidence" shape="rect">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/" shape="rect">ITS 2.0 Working Draft 31 July 2012</a>.</p><ol class="depth1"><li><p>Added <a class="section-ref" href="#Disambiguation" shape="rect">Section 6.10: Disambiguation</a>.</p></li><li><p>Added <a class="section-ref" href="#preservespace" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#idvalue" shape="rect">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" shape="rect">Section 6.14: External Resource</a>.</p></li><li><p>Simplified <a class="section-ref" href="#LocaleFilter" shape="rect">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" shape="rect">dir</a> and - <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> to <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.3: Local Selection in an XML Document</a>.</p></li><li><p>Added definition of <a class="itsmarkup" href="#param" shape="rect">param</a> element to <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a>.</p></li><li><p>Added <a class="section-ref" href="#target-pointer" shape="rect">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" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a> and the related <a class="section-ref" href="#lqissue-typevalues" shape="rect">Appendix B: Values for the Localization Quality Issue ype</a>.</p></li><li><p>Added <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>Added a placeholder <a class="section-ref" href="#mt-confidence" shape="rect">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" shape="rect">translate</a> to <a class="section-ref" href="#selection-local" shape="rect">Section 5.2.3: Local Selection in an XML Document</a>.</p></li><li><p>Added definition of <a class="itsmarkup" href="#param" shape="rect">param</a> element to <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a>.</p></li><li><p>Added <a class="section-ref" href="#target-pointer" shape="rect">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" shape="rect">Section 6.17: Preserve Space</a>.</p></li><li><p>Added <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a> and the related <a class="section-ref" href="#lqissue-typevalues" shape="rect">Appendix B: Values for the Localization Quality Issue ype</a>.</p></li><li><p>Added <a class="section-ref" href="#lqprecis" shape="rect">Section 6.19: Localization Quality Précis</a>.</p></li><li><p>Added a placeholder <a class="section-ref" href="#mtconfidence" shape="rect">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/" shape="rect">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" shape="rect">Section 1.5: Out of Scope</a>, <a class="section-ref" href="#design-decisions" shape="rect">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" shape="rect">Section 5.5: Precedence between Selections</a>.</p></li><li><p>Reordered some components in <a class="section-ref" href="#introduction" shape="rect">Section 1: Introduction</a>.</p></li><li><p>Restructured <a class="section-ref" href="#relation-to-its10-and-new-principles" shape="rect">Section 1.1: Relation to ITS 1.0 and New Principles</a>.</p></li><li><p>Added <a class="section-ref" href="#queryLanguage" shape="rect">Section 5.3.1: Choosing Query Language</a> as a stub.</p></li><li><p>Added <a class="section-ref" href="#LocaleFilter" shape="rect">Section 6.11: Locale Filter</a>.</p></li><li><p>Added <a class="sectin-ref" href="#domain" shape="rect">Section 6.9: Domain</a>.</p></li><li><p>Added <a class="section-ref" href="#usage-in-legacy-html" shape="rect">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" shape="rect">Section 6.8: Elements Within Text</a>.</p></li><li><p>Added <a class="section-ref" href="#externalresource" shape="rect">Section 6.14: External Resource</a>.</p></li><li><p>Updated examples to use the <a class="itsmarkup" href="#att.version.attribute.version" shape="rect">version</a> attribute with the value
Received on Wednesday, 19 September 2012 12:20:22 UTC