Update of /cvsroot/monetdb/pathfinder/tests/BugsViaSourgeforce/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21587
Modified Files:
ID.1652527.stable.err ID.1652527.stable.out
Log Message:
- approving new output. the error is due to the new fn:id() semantics
Index: ID.1652527.stable.err
===================================================================
RCS file:
/cvsroot/monetdb/pathfinder/tests/BugsViaSourgeforce/Tests/ID.1652527.stable.err,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ID.1652527.stable.err 13 Mar 2007 21:36:35 -0000 1.1
+++ ID.1652527.stable.err 25 May 2007 09:56:46 -0000 1.2
@@ -1,69 +1,35 @@
stderr of test 'ID.1652527` in directory 'tests/BugsViaSourgeforce` itself:
-# 10:12:20 >
-# 10:12:20 > Mtimeout -timeout 180 Mserver
"--config=/local_tmp/MonetDB/Linux/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local_tmp/pathfinder/Linux/lib/MonetDB:/local_tmp/MonetDB/Linux/lib/MonetDB"
--set "gdk_dbfarm=/local_tmp/MonetDB/Linux/var/MonetDB/dbfarm" --set
"sql_logdir=/local_tmp/MonetDB/Linux/var/MonetDB/log" --set mapi_port=36932
--set monet_prompt= --trace "--dbname=mTests_tests_BugsViaSourgeforce"
--dbinit="module(pathfinder); pfstart();" ; echo ; echo Over..
-# 10:12:20 >
-
-# builtin opt config = ${prefix}/etc/MonetDB.conf
-# builtin opt gdk_arch = 32biti686-suse-linux
-# builtin opt gdk_version = 4.13.0
-# builtin opt monet_pid = 12238
-# builtin opt prefix = /local_tmp/MonetDB/Linux
-# builtin opt exec_prefix = ${prefix}
-# builtin opt gdk_dbname = tst
-# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
-# builtin opt gdk_debug = 8
-# builtin opt gdk_mem_bigsize = 1048576
-# builtin opt gdk_vm_minsize = 137438953472
-# builtin opt gdk_alloc_map = yes
-# builtin opt monet_admin = adm
-# builtin opt monet_prompt = >
-# builtin opt monet_welcome = yes
-# builtin opt monet_mod_path =
${exec_prefix}/lib/MonetDB:${exec_prefix}/lib/bin
-# builtin opt monet_daemon = yes
-# builtin opt host = localhost
-# builtin opt mapi_port = 50000
-# builtin opt mapi_noheaders = no
-# builtin opt mapi_debug = 0
-# builtin opt mapi_clients = 2
-# builtin opt sql_debug = 0
-# builtin opt sql_logdir = ${prefix}/var/MonetDB/log
-# config opt prefix = /local_tmp/MonetDB/Linux
-# config opt exec_prefix = ${prefix}
-# config opt gdk_dbfarm = ${prefix}/var/MonetDB/dbfarm
-# config opt gdk_dbname = demo
-# config opt gdk_alloc_map = no
-# config opt gdk_embedded = no
-# config opt gdk_debug = 0
-# config opt monet_admin = adm
-# config opt monet_prompt = MonetDB>
-# config opt monet_welcome = yes
-# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB:${exec_prefix}/lib/bin
-# config opt monet_daemon = no
-# config opt mapi_port = 50000
-# config opt mapi_debug = 0
-# config opt sql_debug = 0
-# config opt sql_logdir = ${prefix}/var/MonetDB/log
-# config opt pf_httpd_port = 48080
-# config opt xquery_output = dm
-# config opt xquery_cacheMB = 100
-# cmdline opt config = /local_tmp/MonetDB/Linux/etc/MonetDB.conf
-# cmdline opt gdk_debug = 10
-# cmdline opt monet_mod_path =
/local_tmp/pathfinder/Linux/lib/MonetDB:/local_tmp/MonetDB/Linux/lib/MonetDB
-# cmdline opt gdk_dbfarm = /local_tmp/MonetDB/Linux/var/MonetDB/dbfarm
-# cmdline opt sql_logdir = /local_tmp/MonetDB/Linux/var/MonetDB/log
-# cmdline opt mapi_port = 36932
-# cmdline opt monet_prompt =
-# cmdline opt gdk_dbname = mTests_tests_BugsViaSourgeforce
+# 11:55:19 >
+# 11:55:19 > Mtimeout -timeout 180 Mserver
"--config=/data/home/boncz/monet4/Linux/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/data/home/boncz/monet4/Linux/lib/MonetDB4:/data/home/boncz/monet4/Linux/lib/MonetDB4/lib:/data/home/boncz/monet4/Linux/lib/MonetDB4/bin"
--set "gdk_dbfarm=/data/home/boncz/monet4/Linux/var/MonetDB4/dbfarm" --set
"sql_logdir=/data/home/boncz/monet4/Linux/var/MonetDB4/sql_logs" --set
"xquery_logdir=/data/home/boncz/monet4/Linux/var/MonetDB4/xquery_logs" --set
mapi_port=30815 --set xrpc_port=48470 --set monet_prompt= --trace
"--dbname=mTests_tests_BugsViaSourgeforce" --dbinit=" module(pathfinder);" ;
echo ; echo Over..
+# 11:55:19 >
-# 10:12:20 >
-# 10:12:20 > Mtimeout -timeout 60 MapiClient -lxquery -sxml -umonetdb
-Pmonetdb --host=localhost --port=36932 ID.1491723.xq
-# 10:12:20 >
+# 11:55:20 >
+# 11:55:20 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=30815 ID.1652527.xq
+# 11:55:20 >
+MAPI = [EMAIL PROTECTED]:30815
+QUERY = declare function wrapincertainpxml($node as node()*)
+ as element(prob)
+ {
+ <prob><poss prob="1.0">{$node}</poss></prob>
+ };
+
+ declare function xmltopxml($node as node())
+ as element(prob)
+ {
+ typeswitch($node)
+ case $n as element() return
+ let $name:=exactly-one($n/name())
+ let $newchildren := for $child in $n/child::node() return
xmltopxml($child)
+ return wrapincertainpxml(element {$name} {$newchildren})
+ case $n as attribute() return
+ wrapincertainpxml($n)
+ERROR = !ERROR: err:FORG0005: function fn:exactly-one expects exactly one
value.
-# 10:12:20 >
-# 10:12:20 > Done.
-# 10:12:20 >
+# 11:55:23 >
+# 11:55:23 > Done.
+# 11:55:23 >
Index: ID.1652527.stable.out
===================================================================
RCS file:
/cvsroot/monetdb/pathfinder/tests/BugsViaSourgeforce/Tests/ID.1652527.stable.out,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ID.1652527.stable.out 13 Mar 2007 21:36:35 -0000 1.1
+++ ID.1652527.stable.out 25 May 2007 09:56:46 -0000 1.2
@@ -33,14 +33,12 @@
Over..
-# 10:13:54 >
-# 10:13:54 > Mtimeout -timeout 60 MapiClient -lxquery -sxml -umonetdb
-Pmonetdb --host=localhost --port=36060 ID.1491723.xq
-# 10:13:54 >
+# 11:55:20 >
+# 11:55:20 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=30815 ID.1652527.xq
+# 11:55:20 >
-<?xml version="1.0" encoding="utf-8"?>
-<XQueryResult><a><prob><integrate><config><nonmultiple>title</nonmultiple><nonmultiple>year</nonmultiple></config><one><movie><title>King
Kong</title><year>2005</year></movie></one><two><movie><title>King
Kong</title><year>1933</year></movie></two><mustbe><cand b="15" a="6"/><cand
b="17" a="8"/></mustbe><impossible>6,17 8,15</impossible><sic><list><cand
b="15" a="6"/><cand b="17" a="8"/></list></sic><list
prob="0.48999999999999994"><cand b="15" a="6"/><cand b="17"
a="8"/></list></integrate><poss
prob="1"><movie><prob><integrate><config><nonmultiple>title</nonmultiple><nonmultiple>year</nonmultiple></config><one><title>King
Kong</title></one><two><title>King Kong</title></two><mustbe><cand a="7"
b="16"/></mustbe><impossible/><sic><list><cand b="16" a="7"/></list></sic><list
prob="1"><cand a="7" b="16"/></list></integrate><poss
prob="1"><title><prob><poss prob="1.0">King
Kong</poss></prob></title></poss></prob><prob><integrate><config><nonmultiple>title</nonmultiple><nonmultip
le>year</nonmultiple></config><one><year>2005</year></one><two><year>1933</year></two><mustbe><cand
a="9" b="18"/></mustbe><impossible/><sic><list><cand b="18"
a="9"/></list></sic><list prob="0.5"><cand a="9"
b="18"/></list></integrate><poss prob="1"><year><prob><poss
prob="0.5">2005</poss><poss
prob="0.5">1933</poss></prob></year></poss></prob></movie></poss></prob></a></XQueryResult>
-# 10:13:54 >
-# 10:13:54 > Done.
-# 10:13:54 >
+# 11:55:23 >
+# 11:55:23 > Done.
+# 11:55:23 >
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins