Hi Michael,
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

 

Rob Echlin, 1.613.270.5796 | Skype: rob.echlin.wr | robert.echlin@windriver.com

 

From: Michael Kay [mailto:mike@saxonica.com]
Sent: Monday, February 13, 2012 2:49 PM
To: saxon-help@lists.sourceforge.net
Subject: Re: [saxon] XPTY0020: Axis step child::element(frame, xs:anyType) cannot be used here

 

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.