The problem disappeared when I created a new database. I do not know why, but for some reason the old database is not functioning correctly. I have performed the same actions in different databases, and here is the result:
LOG 05/12/2013 13:09:55 (SM RAVANA5 pid=10740) [sm.cpp:main:671]: SM has been started LOG 05/12/2013 13:10:00 (TRN RAVANA5 pid=2588 sid=49 trid=-1) [tr.cpp:TRmain:184]: Session is ready LOG 05/12/2013 13:10:00 (TRN RAVANA5 pid=2588 sid=49 trid=-1) [tr_common_funcs.cpp:on_transaction_end:414]: Transaction has been COMMITED LOG 05/12/2013 13:10:12 (TRN RAVANA5 pid=2588 sid=49 trid=49) [tr_functions.cpp:on_user_statement_begin:102]: User query: --- CREATE DOCUMENT 'test' LOG 05/12/2013 13:10:12 (TRN RAVANA5 pid=2588 sid=49 trid=-1) [tr_common_funcs.cpp:on_transaction_end:414]: Transaction has been COMMITED LOG 05/12/2013 13:10:25 (TRN RAVANA5 pid=2588 sid=49 trid=49) [tr_functions.cpp:on_user_statement_begin:102]: User query: --- update insert <test /> into doc('test') LOG 05/12/2013 13:10:25 (TRN RAVANA5 pid=2588 sid=49 trid=-1) [tr_common_funcs.cpp:on_transaction_end:414]: Transaction has been COMMITED LOG 05/12/2013 13:10:28 (TRN RAVANA5 pid=2588 sid=49 trid=49) [tr_functions.cpp:on_user_statement_begin:102]: User query: --- CREATE TRIGGER "testtrigger" --- --- AFTER INSERT --- --- ON doc("test")//test --- --- FOR EACH NODE --- --- DO --- --- { --- --- (); --- --- } ERROR 05/12/2013 13:10:28 (TRN RAVANA5 pid=2588 sid=49 trid=49) [XQueryDriver.cpp:sedna::XQueryDriver::emitErrors:87]: (XPST0003) It is a static error if an expression is not a valid instance of the grammar defined in A.1 EBNF. Details: at (1:320), syntax error, unexpected QName, expecting "," or ) --- ERROR 05/12/2013 13:10:28 (TRN RAVANA5 pid=2588 sid=49 trid=49) [XQuerytoLR.cpp:build_subquery_qep:169]: (SE1003) Sedna internal error. Details: Error on parsing internal subquery! LOG 05/12/2013 13:10:28 (TRN RAVANA5 pid=2588 sid=49 trid=-1) [tr_common_funcs.cpp:on_transaction_end:416]: Transaction has been ROLLED BACK INFO 05/12/2013 13:11:15 (SM RAVANA5 pid=10740) [bm_core.cpp:bm_log_out_io_statistics:537]: IO block reads:39, writes:0 LOG 05/12/2013 13:11:15 (TRN RAVANA5 pid=2588 sid=49 trid=-1) [tr.cpp:TRmain:456]: Session is closed LOG 05/12/2013 13:11:24 (TRN testdb pid=14976 sid=49 trid=-1) [tr.cpp:TRmain:184]: Session is ready LOG 05/12/2013 13:11:24 (TRN testdb pid=14976 sid=49 trid=-1) [tr_common_funcs.cpp:on_transaction_end:414]: Transaction has been COMMITED LOG 05/12/2013 13:11:36 (TRN testdb pid=14976 sid=49 trid=49) [tr_functions.cpp:on_user_statement_begin:102]: User query: --- create document "test" LOG 05/12/2013 13:11:36 (TRN testdb pid=14976 sid=49 trid=-1) [tr_common_funcs.cpp:on_transaction_end:414]: Transaction has been COMMITED LOG 05/12/2013 13:11:52 (TRN testdb pid=14976 sid=49 trid=49) [tr_functions.cpp:on_user_statement_begin:102]: User query: --- update insert <test /> into doc('test') LOG 05/12/2013 13:11:52 (TRN testdb pid=14976 sid=49 trid=-1) [tr_common_funcs.cpp:on_transaction_end:414]: Transaction has been COMMITED LOG 05/12/2013 13:11:57 (TRN testdb pid=14976 sid=49 trid=49) [tr_functions.cpp:on_user_statement_begin:102]: User query: --- CREATE TRIGGER "testtrigger" --- --- AFTER INSERT --- --- ON doc("test")//test --- --- FOR EACH NODE --- --- DO --- --- { --- --- (); --- --- } LOG 05/12/2013 13:11:57 (TRN testdb pid=14976 sid=49 trid=-1) [tr_common_funcs.cpp:on_transaction_end:414]: Transaction has been COMMITED ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Sedna-discussion mailing list Sedna-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sedna-discussion