Re: [basex-talk] Error handling

2014-05-25 Thread Christian Grün
And another update (feeling like X-Mas ? ;)... http://docs.basex.org/wiki/RESTXQ#XQuery_Errors http://files.basex.org/releases/latest/ On Wed, Mar 26, 2014 at 11:09 AM, Marco Lettere wrote: > Hello all, > the error interception functions are pretty useful. My "feature request" > here is wh

Re: [basex-talk] Error handling

2014-03-27 Thread Christian Grün
Hi Marco, adding wildcard support to the %restxq:error annotation shouldn't be that much effort. We may need to clarify, however, what is going to happen if more than one candidate is found for an error message. I've added an issue [1] Christian [1] https://github.com/BaseXdb/basex/issues/915

[basex-talk] Error handling

2014-03-26 Thread Marco Lettere
Hello all, the error interception functions are pretty useful. My "feature request" here is whether it could be possible to overcome: "XQuery runtime errors can be processed via /error annotations/. A single argument must be supplied, which represents the QName of the error to be caught. A wi