[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 08:27:40 +0800 |
User-agent: |
Notmuch/0.22 (http://notmuchmail.org) Emacs/25.1.50.20 (i686-pc-linux-gnu) |
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:"))
A bit more background:
http://article.gmane.org/gmane.emacs.devel/203476/
In GNU Emacs 25.1.50.20 (i686-pc-linux-gnu, GTK+ Version 3.20.3)
of 2016-05-01 built on pellet
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 LIBSYSTEMD
- bug#23440: 25.1.50; xml.el parses default namespace incorrectly,
Eric Abrahamsen <=