Fixes a error
This commit is contained in:
parent
70aee2d733
commit
9978dd6a3f
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ public class XmlRpcStreamReader {
|
|||
else if ( xmlStreamReader.getLocalName ( ).equals ( "name" ) ) {
|
||||
name = getElementText ( );
|
||||
}
|
||||
else if ( xmlStreamReader.getLocalName ( ).equals ( "value" ) ) {
|
||||
else if ( xmlStreamReader.getLocalName ( ).equals ( "value" ) && xmlStreamReader.getEventType () == XMLStreamConstants.START_ELEMENT) {
|
||||
if ( name != null ) {
|
||||
Object value = deserializeValue ( );
|
||||
struct.put ( name , value );
|
||||
|
|
Loading…
Reference in a new issue