You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Samisa Abeysinghe <sa...@gmail.com> on 2006/02/26 09:14:59 UTC

[Axis2] Problem in om element?

We have the floowing on line 439 of modules/xml/om/om_element.c:
return axis2_om_element_find_namespace (
                
(axis2_om_element_t*)AXIS2_OM_NODE_GET_DATA_ELEMENT(node, env),
                    env, parent, uri, prefix);

I think we are doing something wrong here, mixing up the element with 
the parent node.

Should we not have the following instead?:
return axis2_om_element_find_namespace (
                
(axis2_om_element_t*)AXIS2_OM_NODE_GET_DATA_ELEMENT(parent, env),
                    env, parent, uri, prefix);

Or have I missed something here?

NOTE: I get a seg fault in axis2_om_element_find_namespace for some of 
the responses from WCF test endpoints.

Thanks,
Samisa...