The following program is not parsed:
local:SQL($r as xs:string, $t as xs:string) as xs:string
local:opt-output($args as node()) as node()
if($args) then $args
The error message is:
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
...se <para>Nothing!</para> }; 1
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!
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.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.