W3C home > Mailing lists > Public > public-multilingualweb-lt-commits@w3.org > April 2013

CVS WWW/International/multilingualweb/lt/drafts/its20

From: CVS User fsasaki <cvsmail@w3.org>
Date: Wed, 03 Apr 2013 20:06:07 +0000
Message-Id: <E1UNTwd-0003vT-Mr@gil.w3.org>
To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory gil:/tmp/cvs-serv15061

Modified Files:
	its20.html its20.odd 
Log Message:
implemented change for issue-70, see http://lists.w3.org/Archives/Public/public-multilingualweb-lt-comments/2013Apr/0003.html 

--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html	2013/04/03 19:38:20	1.374
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html	2013/04/03 20:06:07	1.375
@@ -1534,17 +1534,16 @@
                      </td></tr><tr><td rowspan="1" colspan="1">
                         <a href="#storagesize" shape="rect">Storage Size</a> (<code>storage-size</code>) </td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">Yes</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">None</td><td rowspan="1" colspan="1">
                         <a href="#EX-storageSize-local-1" shape="rect">local</a>, <a href="#EX-storageSize-global-1" shape="rect">global</a>
-                     </td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="EX-datacat-behavior-1" id="EX-datacat-behavior-1" shape="rect"/>Example 30: 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" shape="rect">Translate</a> data category
-              in elements is "yes". The content of <code>revision</code> and
-                <code class="its-elem-markup">locNote</code> is not translatable because the default is overridden by the local
-                <code>its:translate="no"</code> attribute in the <code>prolog</code> element, and
-              that value is inherited by all the children of <code>prolog</code>.</p><p>The localization note for the two first <code>data</code> elements is the text
-              defined globally with the <code class="its-elem-markup">locNoteRule</code> element. And this note is overridden
-              for the last <code>data</code> element by the local <code class="its-attr-markup">locNote</code> attribute.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;Res</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
+                     </td></tr></tbody></table><div class="exampleOuter"><div class="exampleHeader"><a name="EX-datacat-behavior-1" id="EX-datacat-behavior-1" shape="rect"/>Example 30: Defaults, inheritance and overriding behavior of data categories</div><p>In this example, the content of all the <code>data</code> elements is translatable and none of the attributes are translatable, because the default for the <a href="#trans-datacat" shape="rect">Translate</a> data category in elements is "yes" and in attributes is "no", and neither of their values are overridden at all. The first <code class="its-elem-markup">translateRule</code> is overridden by the local <code>its:translate="no"</code> attribute. The content of <code>revision</code>, <code>profile</code>, <code>reviser</code> and <code>locNote</code> elements are not translatable. This is because the default is overridden by the same <code>its:translate="no"</code> that these elements inherit from the local ITS markup in the <code>prolog</code> elemen. The exception is the  <code>field</code> element where the second <code class="its-elem-markup">translateRule</code> takes precedence over the inherited value. The last <code class="its-elem-markup">translateRule</code> indicates that the content of <code>type</code> is not translatable because the global rule takes precedence over the default value.</p><p>The localization note for the two first <code>data</code> elements is the text defined globally with the <code class="its-elem-markup">locNoteRule</code> element. This note is overridden for the last <code>data</code> element by the local <code class="its-attr-markup">locNote</code> attribute.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;Res</strong> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span> <span class="hl-attribute" style="color: #F5844C">its:version</span>=<span class="hl-value" styl="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;prolog</strong> <span class="hl-attribute" style="color: #F5844C">its:translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;revision&gt;</strong>Sep-07-2006<strong class="hl-tag" style="color: #000096">&lt;/revision&gt;</strong>
-    <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
+	<strong class="hl-tag" style="color: #000096">&lt;profile&gt;</strong>
+		<strong class="hl-tag" style="color: #000096">&lt;reviser&gt;</strong>John Doe<strong class="hl-tag" style="color: #000096">&lt;/reviser&gt;</strong>
+		<strong class="hl-tag" style="color: #000096">&lt;field&gt;</strong>Computing Engineering<strong class="hl-tag" style="color: #000096">&lt;/field&gt;</strong>
+	<strong class="hl-tag" style="color: #000096">&lt;/profile&gt;</strong>
+	<strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
+	  <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//prolog"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>
+	  <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"/Res/prolog/profile/field"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"yes"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg/type"</span> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>
       <strong class="hl-tag" style="color: #000096">&lt;its:locNoteRule</strong> <span class="hl-attribute" style="color: #F5844C">locNoteType</span>=<span class="hl-value" style="color: #993300">"description"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//msg/data"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
         <strong class="hl-tag" style="color: #000096">&lt;its:locNote&gt;</strong>The variable {0} is the name of the host.<strong class="hl-tag" style="color: #000096">&lt;/its:locNote&gt;</strong>
@@ -1565,7 +1564,8 @@
       <strong class="hl-tag" style="color: #000096">&lt;data</strong> <span class="hl-attribute" style="color: #F5844C">its:locNote</span>=<span class="hl-value" style="color: #993300">"{0} is a filename"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>{0} not found.<strong class="hl-tag" style="color: #000096">&lt;/data&gt;</strong>
     <strong class="hl-tag" style="color: #000096">&lt;/msg&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong>
-<strong class="hl-tag" style="color: #000096">&lt;/Res&gt;</strong></pre></div><p>[Source file: <a href="examples/xml/EX-datacat-behavior-1.xml" shape="rect">examples/xml/EX-datacat-behavior-1.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The data categories differ with respect to defaults. This is due to existing
+<strong class="hl-tag" style="color: #000096">&lt;/Res&gt;</strong>
+</pre></div><p>[Source file: <a href="examples/xml/EX-datacat-behavior-1.xml" shape="rect">examples/xml/EX-datacat-behavior-1.xml</a>]</p></div><div class="note"><p class="prefix"><b>Note:</b></p><p>The data categories differ with respect to defaults. This is due to existing
               standards and practices. It is common practice for example that information about
               translation refers only to textual content of an element. Thus, the default selection
               for the <a href="#trans-datacat" shape="rect">Translate</a> data category is the textual
--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd	2013/04/03 19:38:21	1.369
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd	2013/04/03 20:06:07	1.370
@@ -2342,15 +2342,8 @@
           </table>
           <exemplum xml:id="EX-datacat-behavior-1">
             <head>Defaults, inheritance and overriding behavior of data categories</head>
-            <p>In this example, the content of all the <code>data</code> elements is translatable
-              because the default for the <ref target="#trans-datacat">Translate</ref> data category
-              in elements is <val>yes</val>. The content of <code>revision</code> and
-                <gi>locNote</gi> is not translatable because the default is overridden by the local
-                <code>its:translate="no"</code> attribute in the <code>prolog</code> element, and
-              that value is inherited by all the children of <code>prolog</code>.</p>
-            <p>The localization note for the two first <code>data</code> elements is the text
-              defined globally with the <gi>locNoteRule</gi> element. And this note is overridden
-              for the last <code>data</code> element by the local <att>locNote</att> attribute.</p>
+            <p>In this example, the content of all the <code>data</code> elements is translatable and none of the attributes are translatable, because the default for the <ref target="#trans-datacat">Translate</ref> data category in elements is <val>yes</val> and in attributes is <val>no</val>, and neither of their values are overridden at all. The first <gi>translateRule</gi> is overridden by the local <code>its:translate="no"</code> attribute. The content of <code>revision</code>, <code>profile</code>, <code>reviser</code> and <code>locNote</code> elements are not translatable. This is because the default is overridden by the same <code>its:translate="no"</code> that these elements inherit from the local ITS markup in the <code>prolog</code> element. The exception is the  <code>field</code> element where the second <gi>translateRule</gi> takes precedence over the inherited value. The last <gi>translateRule</gi> indicates that the content of <code>type</code> is not translatable because the global rule taes precedence over the default value.</p>
+            <p>The localization note for the two first <code>data</code> elements is the text defined globally with the <gi>locNoteRule</gi> element. This note is overridden for the last <code>data</code> element by the local <att>locNote</att> attribute.</p>
             <egXML xmlns="http://www.tei-c.org/ns/Examples"
               target="examples/xml/EX-datacat-behavior-1.xml"/>
             <!--<eg><xi:include href="EX-datacat-behavior-1.xml" parse="text"/></eg>-->
Received on Wednesday, 3 April 2013 20:06:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:41 UTC