You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/04/04 07:09:44 UTC

[jira] Created: (AXIS2C-118) axis2_om_document_get_root_element does not return the element correctly for new docuents

axis2_om_document_get_root_element does not return the element correctly for new docuents
-----------------------------------------------------------------------------------------

         Key: AXIS2C-118
         URL: http://issues.apache.org/jira/browse/AXIS2C-118
     Project: Axis2-C
        Type: Bug

  Components: xml/om  
    Versions: 0.90    
    Reporter: Samisa Abeysinghe
     Fix For: 0.91


There seem to be a bug in axis2_om_document_build_next whre it does not set the root correctly

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXIS2C-118) axis2_om_document_get_root_element does not return the element correctly for new docuents

Posted by "nandika jayawardana (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-118?page=all ]
     
nandika jayawardana closed AXIS2C-118:
--------------------------------------

    Resolution: Fixed

(Visible to jira-users)


> axis2_om_document_get_root_element does not return the element correctly for new docuents
> -----------------------------------------------------------------------------------------
>
>          Key: AXIS2C-118
>          URL: http://issues.apache.org/jira/browse/AXIS2C-118
>      Project: Axis2-C
>         Type: Bug

>   Components: xml/om
>     Versions: 0.90
>     Reporter: Samisa Abeysinghe
>     Assignee: nandika jayawardana
>      Fix For: 0.91

>
> There seem to be a bug in axis2_om_document_build_next whre it does not set the root correctly

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2C-118) axis2_om_document_get_root_element does not return the element correctly for new docuents

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-118?page=comments#action_12373051 ] 

Samisa Abeysinghe commented on AXIS2C-118:
------------------------------------------

do{
            axis2_om_node_t *ret_val = NULL;
            ret_val = AXIS2_OM_DOCUMENT_BUILD_NEXT(document,env);
            if(!ret_val)
              return NULL;
            }while( !AXIS2_OM_NODE_GET_BUILD_STATUS(doc_impl->root_element,env));

The logic in the above piece of code is wrong. It returns NULL when it finish building the doc

> axis2_om_document_get_root_element does not return the element correctly for new docuents
> -----------------------------------------------------------------------------------------
>
>          Key: AXIS2C-118
>          URL: http://issues.apache.org/jira/browse/AXIS2C-118
>      Project: Axis2-C
>         Type: Bug

>   Components: xml/om
>     Versions: 0.90
>     Reporter: Samisa Abeysinghe
>      Fix For: 0.91

>
> There seem to be a bug in axis2_om_document_build_next whre it does not set the root correctly

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS2C-118) axis2_om_document_get_root_element does not return the element correctly for new docuents

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-118?page=all ]

Samisa Abeysinghe reassigned AXIS2C-118:
----------------------------------------

    Assign To: nandika jayawardana

> axis2_om_document_get_root_element does not return the element correctly for new docuents
> -----------------------------------------------------------------------------------------
>
>          Key: AXIS2C-118
>          URL: http://issues.apache.org/jira/browse/AXIS2C-118
>      Project: Axis2-C
>         Type: Bug

>   Components: xml/om
>     Versions: 0.90
>     Reporter: Samisa Abeysinghe
>     Assignee: nandika jayawardana
>      Fix For: 0.91

>
> There seem to be a bug in axis2_om_document_build_next whre it does not set the root correctly

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira