You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by du...@apache.org on 2009/04/05 08:35:13 UTC
svn commit: r762045 -
/webservices/axis2/trunk/c/axiom/test/xpath/test_xpath.c
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)