Hi--I'm doing some Sedna programming in Clojure, so showing you source code 
won't do any good. The function I'm using has gotten XQueries regarding the db 
content into Sedna and Sedna has returned valid answers, so I don't think the 
interface code is the problem.

However, things aren't working when I try to add a collection (using this 
command: CREATE COLLECTION 'DELETE-THIS') or load a document into a collection 
(LOAD "/Users/gw/gwtemp.xml" "twocards" "daily"). Both give similar 
messages--the former chokes on the word "COLLECTION" and the latter on 
"/Users/gw/gwtemp.xml".

For the second command (LOAD "/Users/gw/gwtemp.xml" "twocards" "daily"), the 
error message is shown at the end of this message.

Searches of the Sedna mailing list and the rest of the Internet turned up 
nothing.

Any ideas what might be causing this? Many thanks.

--Gregg Williams   (error message below)

-----
Encountered "\"/Users/gw/gwtemp.xml\"" at line 1, column 6.
Was expecting one of:
    <EOF> 
    "%%%" ...
    "=" ...
    "," ...
    "or" ...
    "and" ...
    "to" ...
    "*" ...
    "div" ...
    "idiv" ...
    "mod" ...
    "union" ...
    "|" ...
    "intersect" ...
    "except" ...
    "instance" ...
    "treat" ...
    "castable" ...
    "cast" ...
    "!=" ...
    "<=" ...
    ">" ...
    ">=" ...
    "eq" ...
    "ne" ...
    "lt" ...
    "le" ...
    "gt" ...
    "ge" ...
    "is" ...
    "<<" ...
    ">>" ...
    "[" ...
    "-" ...
    "+" ...
    "<" ...
    "/" ...
    "//" ...
    "(" ...
    
  [Thrown class javax.xml.xquery.XQException]

Restarts:
 0: [QUIT] Quit to the SLIME top level

Backtrace:
  0: net.cfoster.sedna.xqj.bin.O.a(Unknown Source)
  1: net.cfoster.sedna.xqj.bin.bW.a(Unknown Source)
  2: net.cfoster.sedna.xqj.bin.bW.executeQuery(Unknown Source)
  3: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4: 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  5: 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  6: java.lang.reflect.Method.invoke(Method.java:597)
  7: clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90)
  8: clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
  9: infwb.sedna$SYSrun_query.invoke(sedna.clj:187)
 10: infwb.sedna$SYSload_file.invoke(sedna.clj:208)

----- end -----



------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to