Update of /cvsroot/monetdb/pathfinder/compiler/xmlimport
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14781/compiler/xmlimport

Modified Files:
      Tag: M5XQ
        xml2lalg.c 
Log Message:
propagated changes of Thursday Nov 05 2009 - Monday Nov 09 2009
from the development trunk to the M5XQ branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/11/05 - singhan: compiler/xmlimport/xml2lalg.c,1.40
  XQuery full-text search support initial version!
  
  This initial version provides support to
  
  -ftcontains keyword,
  
  e.g., for $f in doc("menu.xml")//food[./name ftcontains "Belgian Waffles"]
  return $f
  The above query will return all the food nodes that has some relevancy over 
"Belgian Waffles"
  
  -initial score variable support
  
  e.g., for $f score $s in doc("menu.xml")//food[./name ftcontains "Belgian 
Waffles"]
  return $s
  The above query will return the relevancy score of all the matched food 
nodes, however since its an initial version, the support to this score variable 
is very limited.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: xml2lalg.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/xmlimport/xml2lalg.c,v
retrieving revision 1.32.2.6
retrieving revision 1.32.2.7
diff -u -d -r1.32.2.6 -r1.32.2.7
--- xml2lalg.c  5 Oct 2009 12:16:06 -0000       1.32.2.6
+++ xml2lalg.c  9 Nov 2009 00:05:07 -0000       1.32.2.7
@@ -2,11 +2,11 @@
 
 /**
  * @file
- * 
- * Importing of XML-serialized logical Algebra Plans. 
- *  
- * The XML Importer makes use of the libxml2 xpath facilities: 
- *  - http://xmlsoft.org/html/libxml-xpath.html 
+ *
+ * Importing of XML-serialized logical Algebra Plans.
+ *
[...2643 lines suppressed...]
 
 
     /* lookup the two child node ids in the xml document */
-    xmlXPathObjectPtr xpathObjPtr =  
+    xmlXPathObjectPtr xpathObjPtr =
         PFxml2la_xpath_evalXPathFromNodeCtx(
             ctx->docXPathCtx, nodePtr, "//edge/@to");
     if (xpathObjPtr)
@@ -3213,9 +3213,9 @@
         for (int i = 0; i <size; i++)
         {
 
-            xmlNodePtr nodePtr = nodeSetPtr->nodeTab[i];   
+            xmlNodePtr nodePtr = nodeSetPtr->nodeTab[i];
 
-            int childNodeID = PFxml2la_xpath_getIntValue( 
+            int childNodeID = PFxml2la_xpath_getIntValue(
                 PFxml2la_xpath_getAttributeValueFromAttributeNode(nodePtr ));
             printf("\t edge-to: %i\n", childNodeID);
 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to