[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23440: 25.1.50; xml.el parses default namespace incorrectly
From: |
Eric Abrahamsen |
Subject: |
bug#23440: 25.1.50; xml.el parses default namespace incorrectly |
Date: |
Wed, 04 May 2016 14:55:29 +0800 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
On 05/04/16 08:06 AM, David Engster wrote:
> Eric Abrahamsen writes:
>> Apparently xml.el isn't doing quite the right thing when parsing xml
>> default namespaces. With the following text:
>>
>> <multistatus xmlns="DAV:">
>> </multistatus>
>>
>> M-: (xml-parse-region nil nil nil nil 'symbol-qnames)
>>
>> Should return:
>>
>> ((DAV:multistatus ((... . "DAV:"))
>>
>> But actually returns:
>>
>> ((multistatus ((http://www\.w3\.org/2000/xmlns/xmlns . "DAV:"))
>
> Should be fixed by the attached patch, but I need to test a bit more
> before pushing it.
This solved my org-caldav <--> radicale server sync problem.
Thanks,
Eric