emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-25 b6b47AF: Properly encode/decode base64Binary data in SOAP


From: Michael Albinus
Subject: Re: emacs-25 b6b47AF: Properly encode/decode base64Binary data in SOAP
Date: Mon, 14 Mar 2016 19:42:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Michael Albinus <address@hidden>
>> Cc: Eli Zaretskii <address@hidden>,  address@hidden,  address@hidden
>> Date: Mon, 14 Mar 2016 09:02:48 +0100
>> 
>> On the server side, debbugs.gnu.org, a perl script using SOAP::Lite is
>> responsible for encoding the attributes. IIUC, the internal package
>> SOAP::Serializer decides depending on the contents of a string, whether
>> it shall be xsd:base64Binary, or not. See:
>> 
>>     $self->typelookup({
>>            'base64Binary' =>
>>               [10, sub {$_[0] =~ /[^\x09\x0a\x0d\x20-\x7f]/ }, 
>> 'as_base64Binary'],
>
> That doesn't look right: it disallows UTF-8 encoded text in a document
> whose encoding is announced to be UTF-8.  But I guess we won't be able
> to change that.

No. You would need to write a bug report towards SOAP-Lite. Haven't
check whether this is solved already. Reading existing bug report
titles, there are already some of them wrt utf8. See
<https://rt.cpan.org/Public/Dist/Display.html?Name=SOAP-Lite>.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]