Pointing to stuff that's not there

Suppose we have global rules such as 

<its:rules its:version="1.0">
  <its:translateRule selector="//msg/notes" translate="no"/>
  <its:locNoteRule locNoteType="description" selector="//msg/data" 
   locNotePointer="../notes"/>
  </its:rules>


And that the content looks like this:

<msg id="FileNotFound">
  <notes>Indicates that the resource file {0} could not be loaded.</notes>
  <data>Cannot find the file {0}.</data>
  </msg>
 <msg id="DivByZero">
  <data>Invalid parameter.</data>
  </msg>

There is no notes field in the second msg element.  Do we say somewhere in the spec what is supposed to happen in this case (since there *is* an element that matches the selector attribute)?

RI


============
Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)

http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/

Received on Friday, 27 October 2006 18:29:39 UTC