GNU bug report logs -
#11554
24.0.97; nxml-auto-insert-xml-declaration-flag + zipped xml files
Previous Next
Reported by: Jambunathan K <kjambunathan <at> gmail.com>
Date: Thu, 24 May 2012 19:19:01 UTC
Severity: normal
Found in version 24.0.97
Done: Jambunathan K <kjambunathan <at> gmail.com>
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 11554 in the body.
You can then email your comments to 11554 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11554
; Package
emacs
.
(Thu, 24 May 2012 19:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jambunathan K <kjambunathan <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 24 May 2012 19:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
1. (setq nxml-auto-insert-xml-declaration-flag t)
2. Visit the attached test.zip
M Filemode Length Date Time File
- ---------- -------- ----------- -------- ----------
drwx------ 0 25-May-2012 00:29:06 test/
-rwx------ 40 25-May-2012 00:29:06 test/a.xml
- ---------- -------- ----------- -------- ----------
40 2 files
3. Visit a.xml. Note the multiple XML declarations.
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
The original file has just a single XML declaration. The second
declaration is the gratuitous declaration added due to (1).
Why is nxml mode tampering with an existing XML file?
4. The problem surfaces with XML files in a ZIP archive (for example ODT
files) and not with standalone XML files.
In GNU Emacs 24.0.97.1 (i386-mingw-nt5.1.2600)
of 2012-05-17 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.6) --no-opt --enable-checking --cflags
-ID:/devel/emacs/libs/libXpm-3.5.8/include
-ID:/devel/emacs/libs/libXpm-3.5.8/src
-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
-ID:/devel/emacs/libs/giflib-4.1.4-1/include
-ID:/devel/emacs/libs/jpeg-6b-4/include
-ID:/devel/emacs/libs/tiff-3.8.2-1/include
-ID:/devel/emacs/libs/gnutls-3.0.9/include'
[test.zip (application/zip, attachment)]
Reply sent
to
Jambunathan K <kjambunathan <at> gmail.com>
:
You have taken responsibility.
(Fri, 15 Nov 2013 04:30:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jambunathan K <kjambunathan <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 15 Nov 2013 04:30:04 GMT)
Full text and
rfc822 format available.
Message #10 received at 11554-done <at> debbugs.gnu.org (full text, mbox):
OP here. Closing it.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 13 Dec 2013 12:24:21 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 271 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.