Skip to content
Browse files

[rpc-light] XMLRPC cannot marshal integers > 2**32

The normal workaround for this is to marshal as a string instead.
Note the unmarshalling functions already handle this case.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  • Loading branch information...
1 parent a0220a0 commit 197c9dca5f8dab8365885117abbbdaf6906378ac David Scott committed Oct 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/xmlrpc.ml
View
4 lib/xmlrpc.ml
@@ -61,9 +61,9 @@ let rec add_value f = function
f "<value><nil/></value>"
| Int i ->
- f "<value><int>";
+ f "<value>";
f (Int64.to_string i);
- f "</int></value>"
+ f "</value>"
| Bool b ->
f "<value><boolean>";

0 comments on commit 197c9dc

Please sign in to comment.
Something went wrong with that request. Please try again.