2008/3/16, martin f krafft <[EMAIL PROTECTED]>:
>
> Hi,
>
> xmlrpclib.dumps((None,), allow_none=True) yields
>
>   '<params>\n<param>\n<value><nil/></value></param>\n</params>\n'
>
> Why doesn't it just yield
>
>   '<params>\n<param>\n<value/></param>\n</params>\n'
>
> Or even just
>
>   '<params>\n<param/>\n</params>\n'
>
> Those are valid XML and valid XML-RPC, but <nil/> isn't.
>
> Thanks for any thoughts...
>
>
> --
> martin | http://madduck.net/ | http://two.sentenc.es/
>
> a farmer is a man outstanding in his field.
>
> spamtraps: [EMAIL PROTECTED]


No real idea, but to me it seems like a decent way to be double-sure that
you actually got the complete and correct dump-file... otherwise, you might
be just missing part of it... maybe there's a real reason though?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to