On 13/02/2012 17:57, Echlin, Robert wrote:

Hi Michael,

Sorry, I was unclear.

I think that Saxon reported the line number of the error incorrectly.

Xtylesheet already posted.


Thanks, I'll see if I can improve it. Dynamic errors are reported at the location where the error is caught, which occasionally is at the level of the template or function rather than the individual instruction.