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
Saxonica
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to