Bugs item #2836091, was opened at 2009-08-12 18:14
Message generated for change (Tracker Item Submitted) made by justinjohansson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2836091&group_id=129076

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: API
Group: Sedna (development)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Justin Johansson (justinjohansson)
Assigned to: Nobody/Anonymous (nobody)
Summary: LOAD OR REPLACE MODULE fails with JavaDriver

Initial Comment:
LOAD OR REPLACE MODULE with multiple files specified works with
command line client (se_term) but exactly same load statement fails
with JavaDriver client as per transcript below.

I tried loading both files separately with one file specified per LOAD OR 
REPLACE MODULE statement
with the JavaDriver (just to be sure that each file path and file contents were 
okay) and that test was successful.

The problem is definitely related to specifying more than one file path in the
LOAD OR REPLACE MODULE statement.

I haven't tested scenario with LOAD MODULE file1, file2.

Transcript of database session follows:

LinuxMint Release 7 Gloria
Sedna Governor Version 3.2.43

LOAD OR REPLACE MODULE "modules/b.xqlib", "modules/a.xqlib"

ru.ispras.sedna.driver.DriverException
SEDNA Message
ERROR SE3008
Unknown message from server.

ru.ispras.sedna.driver.DriverException
SEDNA Message
ERROR SE3009
Unknown message from client.


a.xqlib contains:

xquery version "1.0";

module namespace my = "http://foobar.com/";;

declare function my:a() {
    ()
};


b.xqlib contains:

xquery version "1.0";

module namespace my = "http://foobar.com/";;

declare function my:b() {
    ()
};


Cheers
Justin Johansson



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2836091&group_id=129076

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to