Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getElementText() should set the current event to the END_ELEMENT in MappedXMLStreamReader. #9

Open
sberyozkin opened this issue May 14, 2015 · 0 comments

Comments

@sberyozkin
Copy link
Contributor

For text only elements, it is possible to read the content in START_ELEMENT event using getElementText(). The getElementText() should read the characters, and set the current event to END_ELEMENT. See here: http://java.sun.com/webservices/docs/1.5/api/javax/xml/stream/XMLStreamReader.html#getElementText()
But now, the current event after getElementText() is CHARACTERS, which is causing problems. It should be END_ELEMENT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant