Diff for /parser3/src/classes/xnode.C between versions 1.21 and 1.22

version 1.21, 2002/01/10 17:18:45 version 1.22, 2002/01/11 12:24:27
Line 427  static void _selectSingle(Request& r, co Line 427  static void _selectSingle(Request& r, co
         const String& expression=params->as_string(0, "expression must be string");          const String& expression=params->as_string(0, "expression must be string");
   
         GdomeException exc;          GdomeException exc;
         xmlDoc *document=          GdomeNode *dome_node=vnode.get_node(&method_name);
                 ((_Gdome_xml_Document *)gdome_n_ownerDocument(          GdomeDocument *dome_document=gdome_n_ownerDocument(dome_node, &exc);
                         vnode.get_node(&method_name), &exc))->n;          if(!dome_document)
     xmlXPathContext_auto_ptr ctxt(xmlXPathNewContext(document));                  dome_document=GDOME_DOC(dome_node);
         ctxt->node=xmlDocGetRootElement(document);          xmlDoc *xml_document=((_Gdome_xml_Document *)dome_document)->n;
       xmlXPathContext_auto_ptr ctxt(xmlXPathNewContext(xml_document));
           ctxt->node=xmlDocGetRootElement(xml_document);
         /*error to stderr for now*/          /*error to stderr for now*/
         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()));

Removed from v.1.21  
changed lines
  Added in v.1.22


E-mail: