Fix a error in stream reader

This commit is contained in:
Aria 2023-06-14 03:23:38 -07:00
parent 92a28dc627
commit c5e6abd684

View file

@ -62,8 +62,9 @@ public class XmlRpcStreamReader {
if ( event == XMLStreamConstants.START_ELEMENT ) {
String elementName = xmlStreamReader.getLocalName ( );
if ( elementName.equals ( "param" ) ) {
require( XMLStreamConstants.START_ELEMENT, null, "value");
nextTag (); // Something to be deserialized!
nextTag ( );
require ( XMLStreamConstants.START_ELEMENT , null , "value" );
nextTag ( ); // Something to be deserialized!
Object value = deserializeValue ( );