XQuery problem with Saxonb8-1
Added by Anonymous about 20 years ago
Legacy ID: #2782821 Legacy Poster: Heinrich Rust (hrust)
The following program is not parsed: ********************** declare function
local:SQL($r as xs:string, $t as xs:string) as xs:string { $t }; declare function
local:opt-output($args as node()) as node() { if($args) then $args else
<para>Nothing!</para> }; 1 ********************** The error
message is: ********************** Error XQuery syntax error on line 12 of
file:/home/rust/ttt.xq in ...se <para>Nothing!</para> }; 1
: Duplicate definition of function opt-output Failed to compile query: Query Parsing
failed Query processing failed: net.sf.saxon.xpath.StaticError: Query Parsing failed
*********************** The problem seems to have to do with the specifically chosen
names for the functions: renaming one or the other helps. Thanks for your help!
Replies (1)
RE: XQuery problem with Saxonb8-1 - Added by Anonymous about 20 years ago
Legacy ID: #2783251 Legacy Poster: Michael Kay (mhkay)
Thanks, this error has already been noted at http://sourceforge.net/tracker/index.php?func=detail&aid=1037238&group_id=29872&atid=397617 It's a nasty one, one that justifies a patch release in the next week or so. Michael Kay
Please register to reply