axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4020) in ConverterUtil, xmlStreamReader.getText() is called before checking xmlStreamReader.hasText()
Date Fri, 31 Oct 2008 09:58:44 GMT

    [ 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


Mime
View raw message