haxr representation of Booleans
waldmann at imn.htwk-leipzig.de
Fri Oct 27 13:38:20 EDT 2006
In haxr-20060626, is the representation of booleans correct?
I read here http://www.xmlrpc.com/spec
that True is <boolean>1</boolean>
This is what e.g. the Python xml rpc library does.
But haxr seems to generate <bool>true</bool>
which would be false on both accounts (name and value).
The obvious patch would be to Network/XmlRpc/Internals.hs :
instance Show Type, instance Read Type, and showBool?
( readBool seems OK ) ( are there any non-obvious other places? )
-- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 --
---- http://www.imn.htwk-leipzig.de/~waldmann/ -------
More information about the Libraries