Update of /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32146
Modified Files:
xml10.mal
Log Message:
Corrected the syntax errors. Only the last xmlagg should be tested.
Index: xml10.mal
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/xml10.mal,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xml10.mal 25 Aug 2007 07:48:40 -0000 1.1
+++ xml10.mal 8 Sep 2007 08:11:59 -0000 1.2
@@ -32,23 +32,28 @@
te:= xml.element("title",tx);
g:= bat.new(:oid,:oid);
bat.insert(g,[EMAIL PROTECTED],[EMAIL PROTECTED]);
-bat.insert(g,[EMAIL PROTECTED],[EMAIL PROTECTED]);
-bat.insert(g,[EMAIL PROTECTED],[EMAIL PROTECTED]);
+bat.insert(g,[EMAIL PROTECTED],[EMAIL PROTECTED]);
+bat.insert(g,[EMAIL PROTECTED],[EMAIL PROTECTED]);
k:= algebra.join(g,te);
io.print(k);
l:= algebra.sort(k);
io.print(l);
-ag:= xml.agg(g,te);
+ag:= xml.agg(te,g);
io.print(ag);
-j2:= algebra.join(g,ax);
+
+gr:= bat.reverse(g);
+j2:= algebra.join(gr,ax);
k2:=algebra.kunique(j2);
io.print(k2);
cc:= xml.concat(k2,ag);
io.print(cc);
+io.print("author construction");
ae:= xml.element("author",cc);
+io.print(ae);
+io.print("book construction");
be:= xml.agg(ae);
doc:= xml.element("books",be);
io.print(doc);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins