Message189803
| Author |
loewis |
| Recipients |
BreamoreBoy, Steven.Hartland, loewis, pitrou, vstinner |
| Date |
2013年05月22日.11:28:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1369222089.63.0.164779274756.issue7727@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The original report really includes two parts:
a) when a string containing 0円 is marshalled, ill-formed XML is produced
b) the expected behavior is that base64 is used
IMO: While a) is correct, b) is not. Antoine is correct that xmlrpclib.Binary should be used if you want to transmit binary data. Consequently, an Error should be reported if an attempt is made to produce ill-formed XML.
OTOH, ill-formed XML can also be produced when sending a byte string that does not match the encoding declaration. Because of that, I propose to close this by documentating the limitations, rather than changing the code. |
|