GNU bug report logs - #33429
26.1.50; XML: Mistakenly complains about encoding

Previous Next

Package: emacs;

Reported by: Benny Riefenstahl <riefenstahl <at> mecom.de>

Date: Mon, 19 Nov 2018 12:23:02 UTC

Severity: normal

Found in version 26.1.50

Fixed in version 26.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33429 in the body.
You can then email your comments to 33429 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#33429; Package emacs. (Mon, 19 Nov 2018 12:23:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Benny Riefenstahl <riefenstahl <at> mecom.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 19 Nov 2018 12:23:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Benny Riefenstahl <riefenstahl <at> mecom.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1.50; XML: Mistakenly complains about encoding
Date: Mon, 19 Nov 2018 12:58:42 +0100
[Message part 1 (text/plain, inline)]
When I open the attached file test.xml in "emacs -Q", Emacs complains in
*Warnings*:

  Warning (emacs): File contents detected as iso-latin-1.
    Consider adding an xml declaration with the encoding specified,
    or saving as utf-8, as mandated by the xml specification.

The file looks fine to me, I have even used nxml-insert-xml-declaration
to re-create the XML declaration.

Reproduced in a current build of emacs-26 and on master.

[test.xml (application/xml, attachment)]
[Message part 3 (text/plain, inline)]

In GNU Emacs 26.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2018-09-05 built on riefenstahl-thinkpad
Repository revision: 9618e16efa5607664b794795fb80bdf5862fbe4b
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description:	Ubuntu 16.04.5 LTS


Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33429; Package emacs. (Mon, 19 Nov 2018 16:40:02 GMT) Full text and rfc822 format available.

Message #8 received at 33429 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Benny Riefenstahl <riefenstahl <at> mecom.de>
Cc: 33429 <at> debbugs.gnu.org
Subject: Re: bug#33429: 26.1.50; XML: Mistakenly complains about encoding
Date: Mon, 19 Nov 2018 18:39:53 +0200
> From: Benny Riefenstahl <riefenstahl <at> mecom.de>
> Date: Mon, 19 Nov 2018 12:58:42 +0100
> 
> When I open the attached file test.xml in "emacs -Q", Emacs complains in
> *Warnings*:
> 
>   Warning (emacs): File contents detected as iso-latin-1.
>     Consider adding an xml declaration with the encoding specified,
>     or saving as utf-8, as mandated by the xml specification.
> 
> The file looks fine to me, I have even used nxml-insert-xml-declaration
> to re-create the XML declaration.
> 
> Reproduced in a current build of emacs-26 and on master.

Thanks, should be fixed now on the emacs-26 branch.




bug marked as fixed in version 26.2, send any further explanations to 33429 <at> debbugs.gnu.org and Benny Riefenstahl <riefenstahl <at> mecom.de> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 20 Nov 2018 19:43:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33429; Package emacs. (Thu, 22 Nov 2018 13:29:01 GMT) Full text and rfc822 format available.

Message #13 received at 33429 <at> debbugs.gnu.org (full text, mbox):

From: Benjamin Riefenstahl <Riefenstahl <at> mecom.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 33429 <at> debbugs.gnu.org
Subject: Re: bug#33429: 26.1.50; XML: Mistakenly complains about encoding
Date: Thu, 22 Nov 2018 14:28:32 +0100
Eli Zaretskii writes:
> Thanks, should be fixed now on the emacs-26 branch.

That works perfect, thank you.

MfG,
Benjamin Riefenstahl

-- 
mecom Medien-Communikations-Gesellschaft mbH

Mittelweg 143, D 20148 Hamburg

Tel: +49 40 411332 801

Fax: +49 40 451962

http://www.mecom.de

Registergericht Hamburg, HRB 43177

Geschäftsführung: Barbara Bliefert, Norbert Schmidt-Banasch




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 21 Dec 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 178 days ago.

Previous Next


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