axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dumi...@apache.org
Subject svn commit: r762045 - /webservices/axis2/trunk/c/axiom/test/xpath/test_xpath.c
Date Sun, 05 Apr 2009 06:35:13 GMT
Author: dumindu
Date: Sun Apr  5 06:35:12 2009
New Revision: 762045

URL: http://svn.apache.org/viewvc?rev=762045&view=rev
Log:
updated to match the changes in xpath.c

Modified:
    webservices/axis2/trunk/c/axiom/test/xpath/test_xpath.c

Modified: webservices/axis2/trunk/c/axiom/test/xpath/test_xpath.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/test/xpath/test_xpath.c?rev=762045&r1=762044&r2=762045&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/test/xpath/test_xpath.c (original)
+++ webservices/axis2/trunk/c/axiom/test/xpath/test_xpath.c Sun Apr  5 06:35:12 2009
@@ -424,7 +424,6 @@
     axiom_stax_builder_t *builder = NULL;
     axiom_document_t *document = NULL;
     axiom_node_t *root = NULL;
-    axiom_node_t *doc_root = NULL;
 
     /* Create parser */
     reader = axiom_xml_reader_create_for_file(env, file_name, NULL);
@@ -464,10 +463,7 @@
 
     while (axiom_document_build_next(document, env));
 
-    doc_root = axiom_node_create(env);
-    axiom_node_add_child(doc_root, env, root);
-
-    return doc_root;
+    return root;
 }
 
 axiom_node_t * build_test_xml(const axutil_env_t *env)



Mime
View raw message