Example 25

Hi all,

Looking at the locNote examples, I noticed that our example 25 is wrong. The syntax is fine, but it specifies the loc notes for the
string elements rather than the data elements.

<data>
 <prolog>
  <its:rules its:version="1.0">
   <its:locInfoRule
     locInfoType="description"
     selector="//string"
     locInfoRefPointer="@noteFile"/>
  </its:rules>
 </prolog>
 <body>
  <string id="FileNotFound" noteFile="Comments.html/#FileNotFound">
   <data>Cannot find the file {0}.</data>
  </string>
  <string id="DivByZero" noteFile="Comments.html/#DivByZero">
   <data>Invalid parameter.</data>
  </string>
 </body>
</data>

It should be:

  <its:rules its:version="1.0">
   <its:locInfoRule
     locInfoType="description"
     selector="//string/data"
     locInfoRefPointer="../@noteFile"/>
  </its:rules>

My bad: I wrote that one.
Felix: I'll send you a corrected file (along with the edited examples)
By the way: We also still have to fix the missing xmlns:its in the auto-generation.

Cheers,
-yves

Received on Friday, 21 July 2006 17:51:00 UTC