- From: Yves Savourel via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 07 Nov 2012 14:28:03 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv15482 Modified Files: its20.html its20.odd Log Message: Updated the algorithm for Domain Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.214 retrieving revision 1.215 diff -u -d -r1.214 -r1.215 --- its20.odd 30 Oct 2012 21:15:48 -0000 1.214 +++ its20.odd 7 Nov 2012 14:28:01 -0000 1.215 @@ -3007,10 +3007,10 @@ <item>STEP 3-1-2-2: If the first character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</item> <item>STEP 3-1-2-3: If the last character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</item> <item>STEP 3-1-2-4: If the value is empty: Go to STEP 3-1-2.</item> - <item>STEP 3-1-2-5: Check if there is a mapping for the string: + <item>STEP 3-1-2-5: Check if there is a mapping for the string (the mapping is case-insensitive): <list type="slist"> <item>STEP 3-1-2-5-1. If a mapping is found: Add the corresponding value to the result string.</item> - <item>STEP 3-1-2-5-2. Else (if no mapping is found): Add the string to the result string.</item> + <item>STEP 3-1-2-5-2. Else (if no mapping is found): Add the string (in its original cases) to the result string.</item> </list> </item> </list> @@ -3023,10 +3023,10 @@ <item>STEP 3-2-2: If the first character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</item> <item>STEP 3-2-3: If the last character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</item> <item>STEP 3-2-4: If the value is empty: Go to STEP 3.</item> - <item>STEP 3-2-5: Check if there is a mapping for the string: + <item>STEP 3-2-5: Check if there is a mapping for the string (the mapping is case-insensitive): <list type="slist"> <item>STEP 3-2-5-1: If a mapping is found: Add the corresponding value to the result string.</item> - <item>STEP 3-2-5-2: Else (if no mapping is found): Add the string to the result string.</item> + <item>STEP 3-2-5-2: Else (if no mapping is found): Add the string (in its original cases) to the result string.</item> </list> </item> </list> @@ -3047,8 +3047,8 @@ that contains the domain information.</item> <item>An optional <att>domainMapping</att> attribute that contains a comma separated list of mappings between values in the content and - consumer tool specific values. The left part of the pair is part of - the source content and unique within the mapping. The right part of + consumer tool specific values. The left part of the pair corresponds to + the source content and is unique within the mapping and case-insensitive. The right part of the mapping belongs to the consumer tool. Several left parts can map to a single right part. The values in the left or the right part of the mapping may contain spaces; in that case they <ref @@ -5760,6 +5760,7 @@ <item>Clarified usage of <ref target="#domain">Domain</ref> data category in HTML5 in response to <ref target="https://www.w3.org/International/multilingualweb/lt/track/issues/56">issue-56</ref>.</item> <item>Added the <ref target="#lqissueDefs">enabled information</ref> in <ptr type="specref" target="#lqissue"/>.</item> <item>Updated the <ref target="#Disambiguation">Disambiguation</ref> data category.</item> + <item>Fine tuned the algorithm to compute the result values of the <ref target="#domain">Domain</ref> data category.</item> </list> <p xml:id="changelog-since-20120829">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.216 retrieving revision 1.217 diff -u -d -r1.216 -r1.217 --- its20.html 30 Oct 2012 21:15:48 -0000 1.216 +++ its20.html 7 Nov 2012 14:28:00 -0000 1.217 @@ -1964,16 +1964,16 @@ is no default.</p><p>The information provided by this data category is a comma-separated list of one or more values which is obtained by applying the following algorithm:</p><ul><li><p>STEP 1: Set the initial value of the resulting string as a empty string.</p></li><li><p>STEP 2: Get the list of nodes resulting of the evaluation of the <code>domainPointer</code> attribute.</p></li><li><p>STEP 3: For each node: <ul><li><p>STEP 3-1: If the node value contains a COMMA (U+002C): <ul><li><p>STEP 3-1-1: Split the node value into separate strings using the COMMA (U+002C) as separator.</p></li><li><p>STEP 3-1-2: For each string: - <ul><li><p>STEP 3-1-2-1: Trim the leading and trailing white spaces of the string.</p></li><li><p>STEP 3-1-2-2: If the first character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-1-2-3: If the last character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-1-2-4: If the value is empty: Go to STEP 3-1-2.</p></li><li><p>STEP 3-1-2-5: Check if there is a mapping for the string: - <ul><li><p>STEP 3-1-2-5-1. If a mapping is found: Add the corresponding value to the result string.</p></li><li><p>STEP 3-1-2-5-2. Else (if no mapping is found): Add the string to the result string.</p></li></ul></p></li></ul></p></li></ul></p></li><li><p>STEP 3-2: Else (if the node value does not contain a COMMA (U+002C)): - <ul><li><p>STEP 3-2-1: Trim the leading and trailing white spaces of the string.</p></li><li><p>STEP 3-2-2: If the first character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-2-3: If the last character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-2-4: If the value is empty: Go to STEP 3.</p></li><li><p>STEP 3-2-5: Check if there is a mapping for the string: - <ul><li><p>STEP 3-2-5-1: If a mapping is found: Add the corresponding value to the result string.</p></li><li><p>STEP 3-2-5-2: Else (if no mapping is found): Add the string to the result string.</p></li></ul></p></li></ul></p></li></ul></p></li><li><p>STEP 4: Remove duplicated values from the resulting string.</p></li><li><p>STEP 5: Return the resulting string.</p></li></ul><p id="domain-global">GLOBAL: The <code>domainRule</code> element contains + <ul><li><p>STEP 3-1-2-1: Trim the leading and trailing white spaces of the string.</p></li><li><p>STEP 3-1-2-2: If the first character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-1-2-3: If the last character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-1-2-4: If the value is empty: Go to STEP 3-1-2.</p></li><li><p>STEP 3-1-2-5: Check if there is a mapping for the string (the mapping is case-insensitive): + <ul><li><p>STEP 3-1-2-5-1. If a mapping is found: Add the corresponding value to the result string.</p></li><li><p>STEP 3-1-2-5-2. Else (if no mapping is found): Add the string (in its original cases) to the result string.</p></li></ul></p></li></ul></p></li></ul></p></li><li><p>STEP 3-2: Else (if the node value does not contain a COMMA (U+002C)): + <ul><li><p>STEP 3-2-1: Trim the leading and trailing white spaces of the string.</p></li><li><p>STEP 3-2-2: If the first character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-2-3: If the last character of the value is an APOSTROPHE (U+0027) or a QUOTATION MARK (U+0022): Remove it.</p></li><li><p>STEP 3-2-4: If the value is empty: Go to STEP 3.</p></li><li><p>STEP 3-2-5: Check if there is a mapping for the string (the mapping is case-insensitive): + <ul><li><p>STEP 3-2-5-1: If a mapping is found: Add the corresponding value to the result string.</p></li><li><p>STEP 3-2-5-2: Else (if no mapping is found): Add the string (in its original cases) to the result string.</p></li></ul></p></li></ul></p></li></ul></p></li><li><p>STEP 4: Remove duplicated values from the resulting string.</p></li><li><p>STEP 5: Return the resulting string.</p></li></ul><p id="domain-global">GLOBAL: The <code>domainRule</code> element contains the following:</p><ul><li><p>A required <code>selector</code> 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 <code>domainPointer</code> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that contains the domain information.</p></li><li><p>An optional <code>domainMapping</code> attribute that contains a comma separated list of mappings between values in the content and - consumer tool specific values. The left part of the pair is part of - the source content and unique within the mapping. The right part of + consumer tool specific values. The left part of the pair corresponds to + the source content and is unique within the mapping and case-insensitive. The right part of the mapping belongs to the consumer tool. Several left parts can map to a single right part. The values in the left or the right part of the mapping may contain spaces; in that case they <a href="#rfc-keywords" shape="rect">MUST</a> be delimited by quotation @@ -3931,7 +3931,7 @@ </html></span></pre></div></div><p>Case 3: The NLP annotation created in NIF starts in one region and ends in another. Solution: No straight mapping is possible; a mapping can be created if both regions have the same parent.</p></div><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="revisionlog" id="revisionlog" shape="rect"/>H Revision Log (Non-Normative)</h2><p id="changelog-since-20121023">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-20121023/" shape="rect">ITS 2.0 Working Draft - 23 October 2012</a>.</p><ul><li><p>Clarified usage of <a href="#domain" shape="rect">Domain</a> data category in HTML5 in response to <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/56" shape="rect">issue-56</a>.</p></li><li><p>Added the <a href="#lqissueDefs" shape="rect">enabled information</a> in <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a>.</p></li><li><p>Updated the <a href="#Disambiguation" shape="rect">Disambiguation</a> data category.</p></li></ul><p id="changelog-since-20120829">The following log records major changes that + 23 October 2012</a>.</p><ul><li><p>Clarified usage of <a href="#domain" shape="rect">Domain</a> data category in HTML5 in response to <a href="https://www.w3.org/International/multilingualweb/lt/track/issues/56" shape="rect">issue-56</a>.</p></li><li><p>Added the <a href="#lqissueDefs" shape="rect">enabled information</a> in <a class="section-ref" href="#lqissue" shape="rect">Section 6.18: Localization Quality Issue</a>.</p></li><li><p>Updated the <a href="#Disambiguation" shape="rect">Disambiguation</a> data category.</p></li><li><p>Fine tuned the algorithm to compute the result values of the <a href="#domain" shape="rect">Domain</a> data category.</p></li></ul><p id="changelog-since-20120829">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-20120829/" shape="rect">ITS 2.0 Working Draft 29 August 2012</a>.</p><ol class="depth1"><li><p>Added a first draft of <a class="section-ref" href="#translation-agent-provenance" shape="rect">Section 6.12: Translation Agent Provenance</a></p></li><li><p>Added <a class="section-ref" href="#html5-markup" shape="rect">Section 7: Using ITS Markup in HTML5</a>.</p></li><li><p>Removed inline markup declarations.</p></li><li><p>Addition of a <code>locQualityPrecisVote</code> attribute and a <code>locQualityPrecisVotePointer</code> 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
Received on Wednesday, 7 November 2012 14:28:09 UTC