|Subject:||Very small/large double values not following spec|
When returning the numeric value '0.000005', RPC::XML::Server will output the exponential form of the number. <value><double>5.0E-6</double></value> This violates the xmlrpc spec on double values. The relevant section taken fromis: ----- Q: What is the legal syntax (and range) for floating point values (doubles)? How is the exponent represented? How to deal with whitespace? Can infinity and "not a number" be represented? A: There is no representation for infinity or negative infinity or "not a number". At this time, only decimal point notation is allowed, a plus or a minus, followed by any number of numeric characters, followed by a period and any number of numeric characters. Whitespace is not allowed. The range of allowable values is implementation-dependent, is not specified. ----- I can confirm that this breaks PHP's xmlrpc client, which errors out on these values.