RE: Action Item: Editors to write some clarification text explaining inheritance stops at nodes

Hi Christian, all,
 
Sounds fine to me.
 
The only note I have is about "caveat". To me that would suggest a warning about something you should not do rather than a
clarification about the mechanism. In other words that suggest something is "not quite right" about it.
 
The other aspect is that maybe the list of precedence should be re-worked as our clarified interpretation means the behavior is
different depending if you talk about nodes with rules or inheritence.
And there is the #3 where we don't make the distinction between linked external rules and external rules set via tool mechanism.
 
-ys

  _____  

From: public-i18n-its-request@w3.org [mailto:public-i18n-its-request@w3.org] On Behalf Of Lieske, Christian
Sent: Tuesday, December 19, 2006 3:37 AM
To: Felix Sasaki; public-i18n-its@w3.org
Subject: Action Item: Editors to write some clarification text explaining inheritance stops at nodes 



Hi Felix, 

Here's my suggestion for our action item 

        Editors to write some clarification text explaining inheritance stops at nodes 

recorded in  <http://www.w3.org/2006/12/13-i18nits-minutes.html#action10> http://www.w3.org/2006/12/13-i18nits-minutes.html#action10


Let me know what you think. 

I would suggest to add the note to 2.2 (Overriding and Inheritance). On the one hand that's where 
we first extensively talk about inheritance. On the other hand, its non-normative. 

Cheers, 
Christian 
=== 

Caveat Related to Inheritance 

Inheritance is applied only after every other method of establishing a value 
for a data category has been exhausted. Put differently: Values specified by rules 
are given precedence over inherited values. 

Accordingly, the content of the "code" element in the example below is marked as 
"not translatable" (since the value specified in the "translateRule" for "code" 
receives precedence over the inherited value from the local rule on the "par" element). 

<myDoc xmlns:its="http://www.w3.org/2005/11/its"> 
 <head> 
  <its:rules its:version="1.0"> 
   <its:translateRule selector="//code" translate="no"/> 
   <its:translateRule selector="//par" translate="no"/> 
  </its:rules> 
 </head> 
 <body> 
  <par its:translate="yes">This is the paragraph 2. It has some <code>special code 2</code>.</par> 
 </body> 
</myDoc> 

This behaviour is in line with  CSS: a global rule like em { color: blue ; } is overridden by 
<em style ="color: blue;">. However, for the <em> element it is not overridden by a local rule like 
<p style ="color: blue;"> ...<em>. 

Received on Wednesday, 20 December 2006 13:37:59 UTC