[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
XMLRPC decoding problem
From: |
S.J.Chun |
Subject: |
XMLRPC decoding problem |
Date: |
Thu, 15 Jun 2006 14:04:06 +0900 |
Hi,
if tag for type is not set the type will be assumed as string in XMLRPC, right?
It seems that GSXML does have problem on this. Attached patch provides a
way to solve this: I think my if block could be merged into its upper if block.
Hope this can make some guide to maintainer.
Thanks.
--- ../../SVN/core/base/Source/Additions/GSXML.m 2006-06-02
15:04:48.709265552 +0900
+++ Source/Additions/GSXML.m 2006-06-15 02:13:02.020272072 +0900
@@ -5015,6 +5015,17 @@
[params addObject: value];
}
}
+ // XXX CHUNSJ
+ if ([[node name] isEqualToString: @"value"]
+ && [node firstChildElement] == nil)
+ {
+ id value = [self _parseValue: node];
+
+ if (value != nil)
+ {
+ [params addObject: value];
+ }
+ }
}
}
NS_HANDLER
- XMLRPC decoding problem,
S.J.Chun <=