GNU bug report logs - #15840
libxml-parse-xml-region: Raise runtime error, don't return nil

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Sat, 9 Nov 2013 04:00:03 UTC

Severity: minor

Done: Jambunathan K <kjambunathan <at> gmail.com>

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: Jambunathan K <kjambunathan <at> gmail.com>
Subject: bug#15840: closed (Re: bug#15840: libxml-parse-xml-region: Raise
 runtime error, don't return nil)
Date: Fri, 15 Nov 2013 05:14:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#15840: libxml-parse-xml-region: Raise runtime error, don't return nil

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 15840 <at> debbugs.gnu.org.

-- 
15840: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15840
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: 15840-done <at> debbugs.gnu.org
Subject: Re: bug#15840: libxml-parse-xml-region: Raise runtime error,
 don't return nil
Date: Fri, 15 Nov 2013 10:42:53 +0530
OP here.  Closed.

[Message part 3 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: Christof Spitz <christof.spitz <at> gmail.com>
Cc: bug-gnu-emacs <at> gnu.org, "emacs-orgmode <at> gnu.org" <emacs-orgmode <at> gnu.org>
Subject: libxml-parse-xml-region: Raise runtime error, don't return nil
Date: Sat, 09 Nov 2013 09:29:15 +0530
Christof

Christof Spitz <christof.spitz <at> gmail.com> writes:

> I found the bug: Windows-Emacs was missing the libxml2 library. I got
> the libxml2-2.7.8.-w32-bin.zip, copied the content of /bin into Emacs'
> /bin directory and now the formatting works.

This should have been very difficult to track down. 

ox-freemind.el does invoke `libxml-parse-xml-region'.  I think Emacs
should raise a runtime error (and not return nil) if the above API is
called but libxml is unavailable.

ps: This bug is a good excuse to audit "other" such wrapper calls (if
there are any) and make sure that they don't fall silently.








This bug report was last modified 11 years and 247 days ago.

Previous Next


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