Ok. I've just noticed that you use XQJ driver and executeQuery method to run
Sedna updates (by analyzing your stack trace. Actually source code always
matters. Clojure or not - it would have been much faster).
executeQuery method performs an XQuery syntax
check. XQExpression.executeCommand is designed for running updates.
Alas, that's not it, I don't think. It also occurs for CREATE COLLECTION
> 'daily', where the error message begins:
>
> Encountered "COLLECTION" at line 1, column 8.
> Was expecting one of:
> <EOF>
> "%%%" ...
> "=" ...
> "," ...
> "or" ...
>
> Note, no backslashes in the "Encountered..." line.
>
> Also, I executed the command at exactly 12:34. Here's the tail of the log:
>
> LOG 25/08/2011 12:23:45 (TRN brain pid=45787 sid=49 trid=-1)
> [tr_common_funcs.cpp:on_transaction_end:406]: Transaction has been COMMITED
> LOG 25/08/2011 12:23:45 (TRN brain pid=45787 sid=49 trid=-1)
> [tr_common_funcs.cpp:on_transaction_end:406]: Transaction has been COMMITED
> LOG 25/08/2011 12:34:04 (TRN brain pid=46071 sid=48 trid=-1)
> [tr.cpp:TRmain:182]: Session is ready
> LOG 25/08/2011 12:34:04 (TRN brain pid=46071 sid=48 trid=-1)
> [tr_common_funcs.cpp:on_transaction_end:406]: Transaction has been COMMITED
> LOG 25/08/2011 12:34:04 (TRN brain pid=46071 sid=48 trid=-1)
> [tr_common_funcs.cpp:on_transaction_end:406]: Transaction has been COMMITED
>
> I took this directly after the command gave the error, so the last three
> lines, above, must be the relevant log entries.
>
> FYI, I used the same command to execute the query "doc('$documents')", and
> it gave excellent results:
>
> ["<documents><document name=\"$db_security_data\"/><collection
> name=\"$modules\"/><collection name=\"test\"><document
> name=\"four-notecards\"/></collection></documents>"]
>
> Thanks for your help.
>
>
> On Aug 25, 2011, at Aug 25, 6:47, Ivan Shcheklein wrote:
>
> > Hi Gregg,
> >
> > Most likely you have a problem with quotes in your query. Seems that
> Sedna receives double quoted strings. Send us Sedna event logs which should
> contain details of this error (SEDNA_HOME/data/event***.log files).
> >
> > Ivan Shcheklein,
> > Sedna Team
> >
> >
>
>
------------------------------------------------------------------------------
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