[ 
https://issues.apache.org/jira/browse/AXIS2-5428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Auke Schrijnen updated AXIS2-5428:
----------------------------------

    Attachment: 0001-AXIS2-5428-Compare-state-with-internal-states-instea.patch

Patch to fix the issue.
                
> Unable to get element text from XMLStreamReader provided by ADBBean
> -------------------------------------------------------------------
>
>                 Key: AXIS2-5428
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5428
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2, 1.7.0
>            Reporter: Auke Schrijnen
>         Attachments: 
> 0001-AXIS2-5428-Compare-state-with-internal-states-instea.patch
>
>
> When reading from an XMLStreamReader created by an ADBBean an 
> XMLStreamException is thrown when the element text is read from the reader:
> javax.xml.stream.XMLStreamException
>       at 
> org.apache.axis2.databinding.utils.reader.NameValuePairStreamReader.getElementText(NameValuePairStreamReader.java:95)
>       at 
> org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.getElementText(ADBXMLStreamReaderImpl.java:201)
>       at MyADBBean.parse(MyADBBean.java:74)
> This is caused by an error in the getElementText method of the 
> NameValuePairStreamReader. It compares the state of the reader with 
> javax.xml.stream.XMLStreamConstants.START_ELEMENT instead of 
> org.apache.axis2.databinding.utils.reader.NameValuePairStreamReader.START_ELEMENT_STATE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to