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

Modified Files:
        inspect05.stable.out xml06.mal 
Log Message:
XMLoptions requires some more study of the standard to get the semantics
right upon code generation.


Index: xml06.mal
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/xml06.mal,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xml06.mal   25 Aug 2007 08:59:27 -0000      1.1
+++ xml06.mal   25 Aug 2007 13:38:11 -0000      1.2
@@ -6,5 +6,9 @@
 io.print(b);
 bx:= xml.xml(b);
 
-bc:= xml.options("abscent",bx);
+bc:= xml.options("author","abscent",bx);
+io.print(bc);
+bc:= xml.options("author","empty",bx);
+io.print(bc);
+bc:= xml.options("author","nil",bx);
 io.print(bc);

Index: inspect05.stable.out
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests/inspect05.stable.out,v
retrieving revision 1.327
retrieving revision 1.328
diff -u -d -r1.327 -r1.328
--- inspect05.stable.out        25 Aug 2007 07:48:31 -0000      1.327
+++ inspect05.stable.out        25 Aug 2007 13:38:03 -0000      1.328
@@ -46,7 +46,7 @@
 [ "comment",                             "command",      "xml",          
"(val:bat[:oid,:str]):bat[:oid,:xml] ",                                         
                                                        "BATXMLcomment;"        
                ]
 [ "concat",                      "pattern",      "xml",          
"(val:xml...):xml ",                                                            
                                        "XMLconcat;"                            
        ]
 [ "comment",                             "command",      "xml",          
"(val:str):xml ",                                                               
                                                        "XMLcomment;"           
                ]
-[ "element",                     "command",      "xml",          
"(name:str,ns:bat[:oid,:str],attr:bat[:oid,:xml],s:bat[:oid,:xml]):bat[:oid,:xml]
 ",                                    "BATXMLelement;"                         
       ]
+[ "element",                     "command",      "xml",          
"(name:str,ns:xml,attr:xml,s:bat[:oid,:xml]):bat[:oid,:xml] ",                  
                                        "BATXMLelement;"                        
        ]
 [ "element",                             "command",      "xml",          
"(name:str,s:bat[:oid,:xml]):bat[:oid,:xml] ",                                  
                                "BATXMLtag;"                                    
]
 [ "element",                             "command",      "xml",          
"(name:str,s:xml):xml ",                                                        
                                "XMLelementSmall;"                              
]
 [ "element",                             "command",      "xml",          
"(name:str,ns:str,attr:str,s:xml):xml ",                                        
                                "XMLelement;"                                   
]
@@ -54,6 +54,7 @@
 [ "forest",                      "pattern",      "xml",          
"(val:xml...):xml ",                                                            
                                        "XMLforest;"                            
        ]
 [ "isdocument",                                  "command",      "xml",        
  "(val:bat[:oid,:str]):bat[:oid,:bit] ",                                       
                                                          "BATXMLisdocument;"   
                  ]
 [ "isdocument",                                  "command",      "xml",        
  "(val:str):bit ",                                                             
                                                          "XMLisdocument;"      
                  ]
+[ "options",                     "command",      "xml",          
"(tag:str,option:str,left:bat[:oid,:xml]):bat[:oid,:xml] ",                     
                                        "BATXMLoptions;"                        
        ]
 [ "pi",                                          "command",      "xml",        
  "(operator:str,ret:bat[:oid,:xml]):bat[:oid,:xml] ",                          
                                                          "XMLpi;"              
                  ]
 [ "parse",                               "command",      "xml",          
"(val:bat[:oid,:str]):bat[:oid,:xml] ",                                         
                                                        "BATXMLparse;"          
                ]
 [ "pi",                                          "command",      "xml",        
  "(nme:str,val:str):xml ",                                                     
                                                          "XMLpi;"              
                  ]


-------------------------------------------------------------------------
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