unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17002: 24.3.50; nextstep/templates/Info.plist.in is not a valid XML document
@ 2014-03-12 21:18 David Caldwell
  2014-03-13  0:44 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: David Caldwell @ 2014-03-12 21:18 UTC (permalink / raw)
  To: 17002

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-13  0:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 21:18 bug#17002: 24.3.50; nextstep/templates/Info.plist.in is not a valid XML document David Caldwell
2014-03-13  0:44 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).