all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Caldwell <david@porkrind.org>
To: 17002@debbugs.gnu.org
Subject: bug#17002: 24.3.50; nextstep/templates/Info.plist.in is not a valid XML document
Date: Wed, 12 Mar 2014 14:18:36 -0700	[thread overview]
Message-ID: <878usfjetv.fsf@death.porkrind.org> (raw)

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	other threads:[~2014-03-12 21:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 21:18 David Caldwell [this message]
2014-03-13  0:44 ` bug#17002: 24.3.50; nextstep/templates/Info.plist.in is not a valid XML document Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878usfjetv.fsf@death.porkrind.org \
    --to=david@porkrind.org \
    --cc=17002@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.