Update of /cvsroot/monetdb/pathfinder/runtime/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32074
Modified Files:
serialization.milS serialization.stable.out
Log Message:
added attribute to serialization test
Index: serialization.stable.out
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/Tests/serialization.stable.out,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- serialization.stable.out 1 Sep 2007 16:52:48 -0000 1.11
+++ serialization.stable.out 1 Sep 2007 17:03:46 -0000 1.12
@@ -13,6 +13,7 @@
# query for all output modes (contains all different kinds)
var query := "(1, 2.3, attribute attr { \"val\" }, 3E1, \"string\",
doc(\"nodekinds.xml\")/descendant-or-self::node())";
+var query_no_attr := "(1, 2.3, 3E1, \"string\",
doc(\"nodekinds.xml\")/descendant-or-self::node())";
# current different XML modes
#
Index: serialization.milS
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/Tests/serialization.milS,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- serialization.milS 15 Dec 2006 20:15:33 -0000 1.7
+++ serialization.milS 1 Sep 2007 17:03:46 -0000 1.8
@@ -2,6 +2,7 @@
# query for all output modes (contains all different kinds)
var query := "(1, 2.3, attribute attr { \"val\" }, 3E1, \"string\",
doc(\"nodekinds.xml\")/descendant-or-self::node())";
+var query_no_attr := "(1, 2.3, 3E1, \"string\",
doc(\"nodekinds.xml\")/descendant-or-self::node())";
# current different XML modes
#
@@ -25,6 +26,9 @@
# does not work for xml-typed mode
xquery("xml-root-name" ,query , 0).printf();
+# does not work for xml-typed mode
+xquery("xml-xrpc" ,query , 0).printf();
+
# data model modes:
#
@@ -39,6 +43,28 @@
xquery("seq" ,query , 0).print();
+# text mode w/ top-level attribute
+#
+xquery("text" ,query , 0).print();
+
+xquery("mapi-text" ,query , 0).print();
+
+# text mode w/o top-level attribute
+#
+xquery("text" ,query_no_attr , 0).print();
+
+xquery("mapi-text" ,query_no_attr , 0).print();
+
+
+# sax modes
+#
+xquery("sax" ,query , 0).print();
+
+xquery("sax-noroot" ,query , 0).print();
+
+xquery("sax-root-name" ,query , 0).print();
+
+
# default mode is xml mode (it also works with mapi
# -- all other mode arguments are ignored)
#
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins