emacs-devel
[Top][All Lists]
Advanced

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

Re: url-dav and Radicale


From: Lars Ingebrigtsen
Subject: Re: url-dav and Radicale
Date: Wed, 04 May 2016 02:14:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eric Abrahamsen <address@hidden> writes:

> Yuri Khan <address@hidden> writes:
>
>> On Sun, May 1, 2016 at 3:10 PM, Eric Abrahamsen
>> <address@hidden> wrote:
>>
>>> In a nutshell, Emacs' url-dav.el library, when parsing responses from a
>>> DAV server, assumes XML node names that are all prefixed with "DAV:".
>>> Ie, "DAV:multistatus".
>>
>> As far as I can see, url-dav-process-response calls xml-parse-region
>> with the last argument set to 'symbol-qnames, which does the right
>> thing for non-default XML namespace prefixes whose URI is "DAV:".
>> Here:
>>
>> <foo:multistatus xmlns:foo="DAV:">
>> </foo:multistatus>
>>
>> M-: (xml-parse-region nil nil nil nil 'symbol-qnames)
>>
>> ⇒ ((DAV:multistatus ((... . "DAV:")) "
>> "))
>>
>> However it does not handle the default namespace for me:
>>
>> <multistatus xmlns="DAV:">
>> </multistatus>
>>
>> M-: (xml-parse-region nil nil nil nil 'symbol-qnames)
>>
>> ⇒ ((multistatus ((http://www\.w3\.org/2000/xmlns/xmlns . "DAV:")) "
>> "))
>>
>> That’s a bug in xml.el.
>
> The above should be enough for me to open a bug report, right?

Yup.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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