Thanks, I understand that working with "exception handling" can be quirky.
I first used that concept under the name of "throw and catch" in OmniMark.
Rob Echlin, 1.613.270.5796 | Skype: rob.echlin.wr | firstname.lastname@example.org
On 13/02/2012 17:57, Echlin, Robert wrote:
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.