Bugs item #1896776, was opened at 2008-02-19 10:16
Message generated for change (Settings changed) made by tvervest
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1896776&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XML
Group: (zombie: MonetDB4 4.20)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Vervest (tvervest)
Assigned to: Nobody/Anonymous (nobody)
>Summary: error FORG0005 when updating xml file

Initial Comment:
When I call the function save-export (see below) via XRPC I get the following 
error: "!ERROR: err:FORG0005: function fn:exactly-one expects exactly one 
value."

This is the function i am calling:

------------------------------
declare updating function epv:save-export($title as xs:string
                                         ,$query as node()*)

{
   let $seq := <sequence name="$title"></sequence>
   return do insert $seq as last into doc("saved_exports.xml")/doc/saves
};
------------------------------

I've included the XRPC request I'm sending and the file which will be updated.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1896776&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to