GNU bug report logs - #17002
24.3.50; nextstep/templates/Info.plist.in is not a valid XML document

Previous Next

Package: emacs;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Wed, 12 Mar 2014 21:20:01 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.4

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 17002 in the body.
You can then email your comments to 17002 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#17002; Package emacs. (Wed, 12 Mar 2014 21:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Caldwell <david <at> porkrind.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 12 Mar 2014 21:20:02 GMT) Full text and rfc822 format available.

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

From: David Caldwell <david <at> porkrind.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; nextstep/templates/Info.plist.in is not a valid XML document
Date: Wed, 12 Mar 2014 14:18:36 -0700
Hello,

The Info.plist file for Mac OS X is not a valid XML document. The file
is in the source code here:

  nextstep/templates/Info.plist.in

Running xmllint on it gives the following error:

  $ xmllint -valid -noout nextstep/templates/Info.plist.in
  nextstep/templates/Info.plist.in:20: parser error : XML declaration allowed only at the start of the document
  <?xml version="1.0" encoding="UTF-8"?>
       ^

Luckily, this is an easy fix:

=== modified file 'nextstep/templates/Info.plist.in'
--- nextstep/templates/Info.plist.in    2014-01-01 07:43:34 +0000
+++ nextstep/templates/Info.plist.in    2014-03-12 21:05:16 +0000
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
 Copyright (C) 2008-2014 Free Software Foundation, Inc.
 
@@ -17,7 +18,6 @@ You should have received a copy of the G
 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 -->
 
-<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>

After this change xmllint is happy:

  $ xmllint -valid -noout nextstep/templates/Info.plist.in
  $

-David




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 13 Mar 2014 00:45:02 GMT) Full text and rfc822 format available.

Notification sent to David Caldwell <david <at> porkrind.org>:
bug acknowledged by developer. (Thu, 13 Mar 2014 00:45:03 GMT) Full text and rfc822 format available.

Message #10 received at 17002-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 17002-done <at> debbugs.gnu.org
Subject: Re: bug#17002: 24.3.50;
 nextstep/templates/Info.plist.in is not a valid XML document
Date: Wed, 12 Mar 2014 20:44:09 -0400
Version: 24.4

Thanks; fixed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Apr 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 29 days ago.

Previous Next


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