summaryrefslogtreecommitdiffstats
path: root/axiom
diff options
context:
space:
mode:
authorGravatar shankar2010-04-06 11:03:58 +0000
committerGravatar shankar2010-04-06 11:03:58 +0000
commit0b2f22188fa2d866e0e4724e9d4a62ed19301d81 (patch)
tree60357a888e4e8711634980fcd56a8a96be2f04f2 /axiom
parent4c810e8d4b0af23ba44fabeea2eaeab8f78aea0e (diff)
downloadaxis2c-0b2f22188fa2d866e0e4724e9d4a62ed19301d81.tar.gz
axis2c-0b2f22188fa2d866e0e4724e9d4a62ed19301d81.tar.bz2
fixing testcase compilation issues
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@931088 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'axiom')
-rw-r--r--axiom/test/util/axiom_util_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/axiom/test/util/axiom_util_test.c b/axiom/test/util/axiom_util_test.c
index 38f44f4..bb9deb9 100644
--- a/axiom/test/util/axiom_util_test.c
+++ b/axiom/test/util/axiom_util_test.c
@@ -117,9 +117,9 @@ axis2_status_t build_and_serialize_om(axutil_env_t *env)
child = axiom_node_get_last_child(node, env);
axiom_util_new_document(env,uri1);
printf("\nmy_ele = ");
- printf("%s\n ",axiom_element_to_string(my_ele,env,child));
+ printf("%s\n ",axiom_node_to_string(child, env));
first_element = axiom_util_get_first_child_element(my_ele,env,child,&child);
- printf("The first element = %s\n",axiom_element_to_string(first_element,env,node));
+ printf("The first element = %s\n",axiom_node_to_string(node, env));
last_element = axiom_util_get_last_child_element(my_ele,env,root_node,&child);
localname = axiom_element_get_localname(my_ele,env);
localname_last_child = axiom_util_get_last_child_element_with_localname(my_ele,env,root_node,localname,&child);
@@ -141,7 +141,7 @@ axis2_status_t build_and_serialize_om(axutil_env_t *env)
axiom_util_get_child_node_text(node,env);
node_namespace_uri = axiom_util_get_node_namespace_uri(node,env);
child_element = axiom_util_get_child_elements(my_ele,env,node);
- printf("%s\n",axiom_element_to_string(localname_attr_next_sibling,env,node));
+ printf("%s\n",axiom_node_to_string(node, env));
printf("%s\n","test is SUCCESS");
return AXIS2_SUCCESS;
}