Fix a error in stream reader
This commit is contained in:
parent
5d51c2e478
commit
318c470f3b
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ public class XmlRpcStreamReader {
|
|||
|
||||
private Object deserializeValue ( ) throws XMLStreamException {
|
||||
nextTag ( );
|
||||
require( XMLStreamConstants.START_ELEMENT, null, "value");
|
||||
nextTag (); // Something to be deserialized!
|
||||
int eventType = xmlStreamReader.getEventType ( );
|
||||
if ( eventType == XMLStreamConstants.CHARACTERS || eventType == XMLStreamConstants.CDATA ) {
|
||||
return xmlStreamReader.getText ( );
|
||||
|
|
Loading…
Reference in a new issue