[xquery-talk] problem with saxon PE support of XQuery 3.0 try/catch

Michael Kay mike at saxonica.com
Thu Dec 22 16:01:15 PST 2011

> Up until a couple drafts ago, the syntax of try/catch was different, 
> and the various $err:* variables were not auto-declared:
> http://www.w3.org/TR/2009/WD-xquery-11-20091215/#id-try-catch
> Perhaps that's the version of try/catch that the processor supports.
There's a note in the source code that the catch variables are not yet 
supported - I think they were omitted because the spec was in flux at 
the time, and failure to implement them in 9.4 was an oversight (aided 
and abetted by the absence of any tests in the test suite).

Michael Kay

More information about the talk mailing list