[
https://issues.apache.org/jira/browse/AXIS2C-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12849734#action_12849734
]
Olivier Mengué commented on AXIS2C-1407:
----------------------------------------
This should also fix the problem where env->error was set to 135 ("XML builder
done with pulling. Pull parser cannot pull any more") when calling
axis2_svc_client_create(), related to axis2.xml parsing.
> Loading an XML file always sets the env status to AXIS2FAILURE
> --------------------------------------------------------------
>
> Key: AXIS2C-1407
> URL: https://issues.apache.org/jira/browse/AXIS2C-1407
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Reporter: Francois Mireaux
> Assignee: S.Uthaiyashankar
> Fix For: 1.7.0
>
>
> In om_stax_builder.c, the loop condition in axiom_stax_builder_next is not
> correct, leading to exit of the function by the if om_builder->done which set
> the env status to AXIS2FAILURE. Instead of 'while(!node)', the condition
> should be 'while(!node && !axiom_node_is_complete(om_builder->root_node,
> env))' to exit in error only in the root XML element is not closed. Problem
> is concealed notably because of the AXIS2_PARAM_CHECK macro which, usualy,
> resets the status to OK. But some days ago, the macro was temporaly modified
> to not reset the status (which seems the good way) and I track down the
> resulting error(s).
--
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]