Update of /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13547/Tests

Modified Files:
        All inspect05.stable.out 
Added Files:
        xml03.stable.err xml03.stable.out 
Log Message:
The basic routines are working. 


--- NEW FILE: xml03.stable.err ---
stderr of test 'xml03` in directory 'src/modules/mal` itself:


# 22:58:13 >  
# 22:58:13 >  Mtimeout -timeout 60  mserver5 
"--config=/ufs/mk/monet5/Linux/etc/monetdb5.conf" --debug=10 --set 
"monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set 
"sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs" --set 
"xquery_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/xquery_logs" --set 
mapi_open=true --set xrpc_open=true --set mapi_port=30843 --set xrpc_port=48688 
--set monet_prompt= --trace --dbname=mTests_src_modules_mal  xml03.mal
# 22:58:13 >  

#warning: please don't forget to set your vault key!
#(see /ufs/mk/monet5/Linux/etc/monetdb5.conf)

# 22:58:13 >  
# 22:58:13 >  Done.
# 22:58:13 >  


--- NEW FILE: xml03.stable.out ---
stdout of test 'xml03` in directory 'src/modules/mal` itself:


# 22:58:13 >  
# 22:58:13 >  Mtimeout -timeout 60  mserver5 
"--config=/ufs/mk/monet5/Linux/etc/monetdb5.conf" --debug=10 --set 
"monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set 
"sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs" --set 
"xquery_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/xquery_logs" --set 
mapi_open=true --set xrpc_open=true --set mapi_port=30843 --set xrpc_port=48688 
--set monet_prompt= --trace --dbname=mTests_src_modules_mal  xml03.mal
# 22:58:13 >  

# MonetDB server v5.1.0, based on kernel v1.19.0
# Serving database 'mTests_src_modules_mal'
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically linked
# Copyright (c) 1993-2007 CWI, all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://gio.ins.cwi.nl:30843/
#b:= bat.new(:oid,:str);
#bat.insert(b,[EMAIL PROTECTED],"Mary Ann Walker");
#bat.insert(b,[EMAIL PROTECTED],"Annie Chapman");
#h:= bat.new(:oid,:str);
#bat.insert(h,[EMAIL PROTECTED],"brown");
#bat.insert(h,[EMAIL PROTECTED],"curly dark brown");
#
#io.print(b);
#
#bs:= xml.xml(b);
#bc:= xml.element("name",bs);
#bj:= xml.str(bc);
#io.print(bj);
#hs:= xml.xml(h);
#hc:= xml.element("hair",hs);
#hj:= xml.str(hc);
#io.print(hj);
#
#hh:= xml.concat(bc,hc);
#
#aa:= xml.element("victim",hh);
#as:= xml.str(aa);
#io.print(as);
#
function user.main():void;      # 0  (main:void)
    b := bat.new(:oid,:str);    # 1 CMDBATnew 
(b:bat[:oid,:str])<-(_2:oid)(_3:str)
    bat.insert(b,[EMAIL PROTECTED],"Mary Ann Walker");  # 2 BKCinsert_bun 
(_4:void)<-(b:bat[:oid,:str])(_5:oid)(_6:str)
    bat.insert(b,[EMAIL PROTECTED],"Annie Chapman");    # 3 BKCinsert_bun 
(_7:void)<-(b:bat[:oid,:str])(_8:oid)(_9:str)
    h := bat.new(:oid,:str);    # 4 CMDBATnew 
(h:bat[:oid,:str])<-(_2:oid)(_3:str)
    bat.insert(h,[EMAIL PROTECTED],"brown");    # 5 BKCinsert_bun 
(_11:void)<-(h:bat[:oid,:str])(_5:oid)(_12:str)
    bat.insert(h,[EMAIL PROTECTED],"curly dark brown"); # 6 BKCinsert_bun 
(_13:void)<-(h:bat[:oid,:str])(_8:oid)(_14:str)
    io.print(b);        # 7 IOprint_val (_15:void)<-(b:bat[:oid,:str])
    bs := xml.xml(b);   # 8 BATXMLstr2xml 
(bs:bat[:oid,:xml])<-(b:bat[:oid,:str])
    bc := xml.element("name",bs);       # 9 BATXMLelementSmall 
(bc:bat[:oid,:xml])<-(_18:str)(bs:bat[:oid,:xml])
    bj := xml.str(bc);  # 10 BATXMLxml2str 
(bj:bat[:oid,:str])<-(bc:bat[:oid,:xml])
    io.print(bj);       # 11 IOprint_val (_20:void)<-(bj:bat[:oid,:str])
    hs := xml.xml(h);   # 12 BATXMLstr2xml 
(hs:bat[:oid,:xml])<-(h:bat[:oid,:str])
    hc := xml.element("hair",hs);       # 13 BATXMLelementSmall 
(hc:bat[:oid,:xml])<-(_23:str)(hs:bat[:oid,:xml])
    hj := xml.str(hc);  # 14 BATXMLxml2str 
(hj:bat[:oid,:str])<-(hc:bat[:oid,:xml])
    io.print(hj);       # 15 IOprint_val (_25:void)<-(hj:bat[:oid,:str])
    hh := xml.concat(bc,hc);    # 16 BATXMLconcat 
(hh:bat[:oid,:xml])<-(bc:bat[:oid,:xml])(hc:bat[:oid,:xml])
    aa := xml.element("victim",hh);     # 17 BATXMLelementSmall 
(aa:bat[:oid,:xml])<-(_28:str)(hh:bat[:oid,:xml])
    as := xml.str(aa);  # 18 BATXMLxml2str 
(as:bat[:oid,:str])<-(aa:bat[:oid,:xml])
    io.print(as);       # 19 IOprint_val (_30:void)<-(as:bat[:oid,:str])
end main;       # 20  
#---------------------------------#
# h     t                         # name
# void  str                       # type
#---------------------------------#
[ [EMAIL PROTECTED],      "Mary Ann Walker"       ]
[ [EMAIL PROTECTED],      "Annie Chapman"         ]
#-----------------------------------------#
# h     t                                 # name
# void  str                               # type
#-----------------------------------------#
[ [EMAIL PROTECTED],      "<name>Mary Ann Walker</name>"  ]
[ [EMAIL PROTECTED],      "<name>Annie Chapman</name>"    ]
#-------------------------------------------------#
# h     t                                         # name
# void  str                                       # type
#-------------------------------------------------#
[ [EMAIL PROTECTED],      "<hair>brown</hair>"                    ]
[ [EMAIL PROTECTED],      "<hair>curly dark brown</hair>"         ]
#-----------------------------------------------------------------------------------------#
# h     t                                                                       
          # name
# void  str                                                                     
          # type
#-----------------------------------------------------------------------------------------#
[ [EMAIL PROTECTED],      "<victim><name>Mary Ann 
Walker</name><hair>brown</hair></victim>"               ]
[ [EMAIL PROTECTED],      "<victim><name>Annie Chapman</name><hair>curly dark 
brown</hair></victim>"      ]

# 22:58:13 >  
# 22:58:13 >  Done.
# 22:58:13 >  


Index: All
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/All,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- All 21 Aug 2007 20:52:54 -0000      1.41
+++ All 23 Aug 2007 21:17:43 -0000      1.42
@@ -42,3 +42,4 @@
 xml01
 xml02
 xml03
+xml04

Index: inspect05.stable.out
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/inspect05.stable.out,v
retrieving revision 1.324
retrieving revision 1.325
diff -u -d -r1.324 -r1.325
--- inspect05.stable.out        22 Aug 2007 21:18:02 -0000      1.324
+++ inspect05.stable.out        23 Aug 2007 21:17:44 -0000      1.325
@@ -60,7 +60,7 @@
 [ "query",                       "command",      "xml",          
"(val:bat[:oid,:str],expr:str):bat[:oid,:xml] ",                                
                                        "BATXMLxquery;"                         
        ]
 [ "root",                                "command",      "xml",          
"(val:xml,version:str,standalone:str):xml ",                                    
                                                        "XMLroot;"              
                ]
 [ "serialize",                   "command",      "xml",          
"(val:bat[:oid,:str]):bat[:oid,:xml] ",                                         
                                        "BATXMLxml2str;"                        
        ]
-[ "str",                                 "pattern",      "xml",          
"(src:bat[:oid,:xml]):bat[:oid,:str] ",                                         
                                                        "BATXMLxml2str;"        
                ]
+[ "str",                         "command",      "xml",          
"(src:bat[:oid,:xml]):bat[:oid,:str] ",                                         
                                        "BATXMLxml2str;"                        
        ]
 [ "str",                         "command",      "xml",          
"(src:xml):str ",                                                               
                                        "XMLxml2str;"                           
        ]
 [ "text",                        "command",      "xml",          
"(val:bat[:oid,:str]):bat[:oid,:xml] ",                                         
                                        "BATXMLxml2str;"                        
        ]
 [ "tag",                         "command",      "xml",          
"(nme:str,val:bat[:oid,:xml]):bat[:oid,:xml] ",                                 
                                        "BATXMLtag;"                            
        ]


-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to