Auke Schrijnen created AXIS2-5428:
-------------------------------------

             Summary: 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


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: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to