RE: [XQuery]&[F&O] fn:error: function parameters

> 
> So, is it an error in specification?
> As I think, providing function 
> 
> fn:error($error as xs:string) as none
> 
> will be quite useful for various applications of XQuery.
> 

Perhaps when you make the error of calling error() with a string parameter
rather than a QName, a user-friendly processor will output your string,
rather than telling you that you should have supplied a QName. If there is
more than one error then it's implementation-defined which one is reported.

Michael Kay

Received on Friday, 3 September 2004 17:53:52 UTC