[ 
https://issues.apache.org/jira/browse/AXIS2C-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483399
 ] 

Manjula Peiris commented on AXIS2C-553:
---------------------------------------


 qname = axis2_qname_create(env, local_name, ns_uri, prefix);
    parent_ele = AXIOM_NODE_GET_DATA_ELEMENT(parent, env);
    if (!parent_ele)
    {
        oxs_error(env, ERROR_LOCATION, OXS_ERROR_INVALID_DATA,
                "Cannot find %s element", local_name);
        return NULL;
    }
    /*Get the child*/
    ele = axiom_element_get_first_child_with_qname(parent_ele, env, qname, 
parent, &node);

In the above code to get the correct results we should provide non null values 
for ns_uri and prefix. (After your fix). Previously it is the otherway. I think 
the current situation is ok.



> axiom_element_get_first_child_with_qname  method  is not working as expected.
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2C-553
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-553
>             Project: Axis2-C
>          Issue Type: Bug
>            Reporter: Manjula Peiris
>         Assigned To: Samisa Abeysinghe
>             Fix For: 1.0.0
>
>
> When we provide a qname to this method, where the qname is created by giving 
> local name, namespace ,and prefix the method returns NULL, Even when it 
> shouldn't return NULL. But the method returns correct results when i provide 
> only the local name to create the qname.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to