Diff for /parser3/src/classes/xnode.C between versions 1.26 and 1.28

version 1.26, 2002/01/14 15:29:41 version 1.28, 2002/01/21 13:04:02
Line 18 Line 18
   
 extern "C" {  extern "C" {
 #include "gdomecore/gdome-xml-node.h"  #include "gdomecore/gdome-xml-node.h"
 };  
 #include "gdomecore/gdome-xml-document.h"  #include "gdomecore/gdome-xml-document.h"
   };
 #include "gdome.h"  #include "gdome.h"
 #include "libxml/xpath.h"  #include "libxml/xpath.h"
   
Line 405  static void _selectX(Request& r, const S Line 405  static void _selectX(Request& r, const S
         xmlXPathObject_auto_ptr res(          xmlXPathObject_auto_ptr res(
                 xmlXPathEvalExpression(BAD_CAST pool.transcode(expression)->str, ctxt.get()));                  xmlXPathEvalExpression(BAD_CAST pool.transcode(expression)->str, ctxt.get()));
   
           if(xmlHaveGenericErrors()) {
                   GdomeException exc=0;
                   throw Exception(0, 0,
                           &expression, 
                           exc);
           }
   
         Value *result=0;          Value *result=0;
         if(res.get())          if(res.get())
                 handler(pool, expression, res, result);                  handler(pool, expression, res, result);

Removed from v.1.26  
changed lines
  Added in v.1.28


E-mail: