Bug#443510: miro-data: mime file is not well-formed XML

2007-09-26 Thread Chris Hanson
The problem with miro.xml is that it has two root elements, whereas XML
requires exactly one.  I've attached an edited version of the file that
should fix the bug.

?xml version=1.0 encoding=UTF-8?

!--
# Miro - an RSS based video player application
# Copyright (C) 2005-2007 Participatory Culture Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
--

mime-info xmlns=http://www.freedesktop.org/standards/shared-mime-info;
   !-- New style subscription files. --
   mime-type type=application/x-miro
 commentMiro Subscription File/comment
 glob pattern=*.miro/
   /mime-type
   !-- Old style subscription files. --
   mime-type type=application/x-democracy
 commentDemocracy Subscription File/comment
 glob pattern=*.democracy/
   /mime-type
/mime-info


Bug#443510: miro-data: mime file is not well-formed XML

2007-09-21 Thread Sam Morris
Package: miro-data
Version: 0.9.9.1-1
Severity: important

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

# update-mime-database /usr/share/mime
/usr/share/mime/packages/miro.xml:31: parser error : Extra content at the end 
of the document
mime-info xmlns=http://www.freedesktop.org/standards/shared-mime-info;
^
Failed to parse '/usr/share/mime/packages/miro.xml'

Result is that Miro's MIME associations are not installed.

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-fixdso (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG9DlCshl/216gEHgRAnAcAJ4m2my0Su4shzSrSU/qgIks1PbxTgCffPaf
KB+a8OwYAlAeb/cxIpmy4Xo=
=bo8V
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]