emacs-devel
[Top][All Lists]
Advanced

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

Re: xml.el: xml-get-attribute returns "" if not found


From: Juri Linkov
Subject: Re: xml.el: xml-get-attribute returns "" if not found
Date: Mon, 24 Nov 2003 09:59:59 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Magnus Henoch <address@hidden> writes:
> In lisp/xml.el, the function xml-get-attribute returns "" if the requested
> attribute does not exist.  To me it seems that returning nil would make
> more sense in that case.

Please, install this patch.  The current function don't disambiguate
between cases when XML attribute has an empty string as its value and
when there are no such attribute at all.  This patch correctly fixes
this.

-- 
http://www.jurta.org/emacs/





reply via email to

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