GNU bug report logs - #23440
25.1.50; xml.el parses default namespace incorrectly

Previous Next

Package: emacs;

Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Date: Wed, 4 May 2016 00:29:01 UTC

Severity: normal

Tags: patch

Found in version 25.1.50

Done: David Engster <deng <at> randomsample.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: David Engster <deng <at> randomsample.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#23440: closed (25.1.50; xml.el parses default namespace
 incorrectly)
Date: Tue, 24 Jan 2017 21:59:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 24 Jan 2017 22:58:03 +0100
with message-id <87sho815p0.fsf <at> engster.org>
and subject line Re: bug#23440: Acknowledgement (25.1.50; xml.el parses default namespace incorrectly)
has caused the debbugs.gnu.org bug report #23440,
regarding 25.1.50; xml.el parses default namespace incorrectly
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
23440: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23440
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; xml.el parses default namespace incorrectly
Date: Wed, 04 May 2016 08:27:40 +0800
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


[Message part 3 (message/rfc822, inline)]
From: David Engster <deng <at> randomsample.de>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: Glenn Morris <rgm <at> gnu.org>, 23440-close <at> debbugs.gnu.org
Subject: Re: bug#23440: Acknowledgement (25.1.50;
 xml.el parses default namespace incorrectly)
Date: Tue, 24 Jan 2017 22:58:03 +0100
Eric Abrahamsen writes:
> I forgot a cc was necessary. I'll ping him on this and see if he has any
> new opinions. If not I'll just push it.

Thanks for the reminder, I completely forgot about that one. I just
pushed it with an accompanying test.

-David


This bug report was last modified 8 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.