reopen 410598 thanks > > Von: Olivier Trichet <[EMAIL PROTECTED]> > > Antwort an: [EMAIL PROTECTED] > > An: [EMAIL PROTECTED] > > Betreff: Re: Bug#410598: Broken encoding for several .desktop files > > in /usr/share/mimelnk/ > > Datum: Sat, 30 Jun 2007 21:49:37 +0200 > > Mailer: KMail/1.9.7 > > > > > > Le samedi 30 juin 2007, Daniel Leidert <[EMAIL PROTECTED]> a > > écrit : > > > retitle 410598 Broken encoding for several .desktop files in > > > /usr/share/mimelnk/ thanks > > > > > > Hi, > > > > > > Although it seems, > > that /usr/share/mimelnk/application/smil.desktop has > > > been fixed, there are now several other files, that are broken: > > > > > > /usr/share/mimelnk/application/msexcel.desktop contains invalid > > char > > > /usr/share/mimelnk/application/pgp-encrypted.desktop contains > > invalid > > > char /usr/share/mimelnk/application/pgp.desktop contains invalid > > char > > > /usr/share/mimelnk/application/pkcs7-mime.desktop contains invalid > > char > > > /usr/share/mimelnk/application/vnd.ms-powerpoint.desktop contains > > > invalid char > > > /usr/share/mimelnk/application/vnd.oasis.opendocument.spreadsheet-templa > > >te.desktop contains invalid char > > > /usr/share/mimelnk/application/x-troff-man.desktop contains > > invalid char > > > /usr/share/mimelnk/text/rdf.desktop contains invalid char > > > > All those files seem perfectly encoded: > > > > $ iconv -f utf8 -t > > utf8 /usr/share/mimelnk/application/msexcel.desktop > /dev/null && > > echo "UTF-8 file" > > UTF-8 file > > $ iconv -f utf8 -t > > utf8 /usr/share/mimelnk/application/pgp-encrypted.desktop > > > /dev/null && echo "UTF-8 file" > > UTF-8 file > > $ iconv -f utf8 -t utf8 /usr/share/mimelnk/application/pgp.desktop > > > /dev/null && echo "UTF-8 file" > > UTF-8 file > > $ iconv -f utf8 -t > > utf8 /usr/share/mimelnk/application/pkcs7-mime.desktop > /dev/null > > && echo "UTF-8 file" > > UTF-8 file > > $ iconv -f utf8 -t > > utf8 /usr/share/mimelnk/application/vnd.ms-powerpoint.desktop > > > /dev/null && echo "UTF-8 file" > > UTF-8 file > > $ iconv -f utf8 -t > > utf8 > > /usr/share/mimelnk/application/vnd.oasis.opendocument.spreadsheet-template.desktop > > > /dev/null && echo "UTF-8 file" > > UTF-8 file > > $ iconv -f utf8 -t > > utf8 /usr/share/mimelnk/application/x-troff-man.desktop > /dev/null > > && echo "UTF-8 file" > > UTF-8 file > > $ iconv -f utf8 -t utf8 /usr/share/mimelnk/text/rdf.desktop > > > /dev/null && echo "UTF-8 file" > > UTF-8 file > > > > So, I'm closing your bug report
And you are wrong with that. The mentioned files contain invalid characters - independent if this is an encoding issue or not (I'm not an expert for this question). This makes xsltproc fail to xinclude them. Open e.g. the rdf.desktop file in an editor of your choice and look at it's content (e.g. in rdf.desktop the [te] locale seems to contain the invalid characters). Removing these characters makes xsltproc stop complaining and work. Bug reopened.