Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16:/tmp/cvs-serv3165/runtime

Modified Files:
        xrpc_client.mx 
Log Message:
propagated changes of Thursday Apr 12 2007 - Friday Apr 27 2007
from the XQuery_0-16 branch to the development trunk


Index: xrpc_client.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_client.mx,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- xrpc_client.mx      25 Apr 2007 21:21:07 -0000      1.31
+++ xrpc_client.mx      27 Apr 2007 09:45:59 -0000      1.32
@@ -183,13 +183,13 @@
             var kind  := pre_kind.fetch(pre);
             var prop  := pre_prop.fetch(pre);
 
-            if ( and(level=seq_node_level, kind='\000') ) {
+            if ( and(level = seq_node_level, kind='\000') ){
                 var loc := qn_loc.fetch(prop);
                 var uri := qn_uri.fetch(prop);
                 if (and((loc = "sequence"), (uri = xrpc_ns))) {
                     itercnt :+= 1; # A new iteration starts
                 }
-            } else if ( and(level = tpe_node_level, kind = '\000') ) {
+            } else if ( and(level = tpe_node_level, kind='\000') ){
                 var tpe_node_ns := qn_uri.fetch(prop);
                 if (tpe_node_ns != xrpc_ns) {
                     ERROR("[get_rpc_res]: (pre=%d): " +
@@ -236,8 +236,8 @@
                     res_kind.append(k);
                 }
             } else if (level = val_node_level) {
-                # 'tpe' was set during the previous iteration
-                if ( and(tpe="element", kind='\000') ){
+                # 'tpe' was set during the previous iteration of 'batloop'
+                if ( and(tpe = "element", kind='\000') ){
                     res_iter.append(oid(itercnt));
                     res_item.append(pre);
                     var k := 
set_kind(local_name.leftjoin(reverse(ws.fetch(CONT_NAME))).tmark([EMAIL 
PROTECTED]), ELEM);


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

Reply via email to