You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2008/10/31 10:58:44 UTC
[jira] Commented: (AXIS2-4020) in ConverterUtil,
xmlStreamReader.getText() is called before checking
xmlStreamReader.hasText()
[ https://issues.apache.org/jira/browse/AXIS2-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644254#action_12644254 ]
Amila Chinthaka Suriarachchi commented on AXIS2-4020:
-----------------------------------------------------
<value xsi:type="xsd:string" />
Are you sure this as a valid xml. I think if it is null it should something like this
<value xsi:nil = "true" xsi:type="xsd:string" />. That method you mentioned check for this.
> in ConverterUtil, xmlStreamReader.getText() is called before checking xmlStreamReader.hasText()
> -----------------------------------------------------------------------------------------------
>
> Key: AXIS2-4020
> URL: https://issues.apache.org/jira/browse/AXIS2-4020
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.4
> Environment: axis2 v1.4
> Reporter: wei tian
> Attachments: ConverterUtilPatch.txt
>
>
> The method public static Object getAnyTypeObject(XMLStreamReader xmlStreamReader, Class extensionMapperClass) throws IllegalStateException while parsing the following XML:
> <value xsi:type="xsd:string"></value>
> The reason is that the <value> is an empty node.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org