Bug 66007 - Other: Installing LO 4.1.0.1rc raises multiple EntityRef errors on /usr/share/mime/packages/libreoffice4.1.xml
Summary: Other: Installing LO 4.1.0.1rc raises multiple EntityRef errors on /usr/share...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.1.0.1 rc
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-06-21 12:25 UTC by Ronan Jouchet
Modified: 2013-07-10 15:54 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
installation log (13.29 KB, text/plain)
2013-06-21 12:25 UTC, Ronan Jouchet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ronan Jouchet 2013-06-21 12:25:58 UTC
Created attachment 81165 [details]
installation log

Problem description:
  When installing 4.1.0.1 on my machine, I end up with multiple errors in a .xml file. Seems not to be platform-specific, an OpenSuse seems to have reported a similar issue in http://listarchives.libreoffice.org/de/discuss/msg15514.html (German).

Steps to reproduce:
 1. Install LO 4.1.0.1 x86_64 / deb on Ubuntu 13.04, e.g. extract the .tar.gz and launchwith sudo dpkg -i ./*.deb

Current behavior:
  See attached file for installation logs

Expected behavior:
  Installation should end without raising any error
Operating System: Ubuntu
Version: 4.1.0.1 rc
Last worked in: 4.0.4.2 release
Comment 1 Ronan Jouchet 2013-06-21 19:08:54 UTC
Should be fixable by escaping a few unescaped ampersands ( & --> & ) in libreoffice4.1-debian-menus_4.1.0-1_all.deb:/usr/share/mime/packages/libreoffice4.1.xml
Comment 2 Julien Nabet 2013-06-22 22:04:26 UTC
Petr: By looking at http://opengrok.libreoffice.org/search?q=%22%26Microsoft+Word%22&project=binfilter&project=core&project=dictionaries&project=help&project=translations&defs=&refs=&path=&hist=, I wonder if it's a packaging problem or something else. Thought you might be interested in this tracker.
Comment 3 Marco Menardi 2013-06-30 19:08:49 UTC
I can confirm in Debian GNU/Linux, 64 bit, sid, KDE.
Opening libreoffice4.1.xml with emacs shows that the "offending line" are parsed different by emacs parser too.
Comment 4 Petr Mladek 2013-07-10 15:54:11 UTC
It seems that it was caused by the extra '&' in the translations. It has been fixed by the commit 
http://cgit.freedesktop.org/libreoffice/translations/commit/?h=libreoffice-4-1&id=ad5ed8525c1f41a9ee8dd9183ac7f6ae045625f7  I do not see it in 4.1.0.2 build any longer.