Bugzilla – Bug 8880
Input method help fails to load - parser error
Last modified: 2009-11-09 10:06:44 UTC
You need to log in before you can comment on or make changes to this bug.
Created an attachment (id=1929) [details] error message from gnome-help OpenSolaris 2009.06 build 111a: When trying to open input method switcher's help in the german locale, a gnome help viewer window opens and complains about invalid xml document in file /usr/share/gnome/help/iiim-properties/de/iiim-properties.xml No help file is displayed. The english / C locale version of the help file displays ok. Repeat with: > gnome-help /usr/share/gnome/help/iiim-properties/de/iiim-properties.xml xmllint on that file complains about unknown entities like "uuml". > xmllint /usr/share/gnome/help/iiim-properties/de/iiim-properties.xml |& more Entity: line 1: parser error : Entity 'uuml' not defined Editor für Eingabemethoden-Einstellungen ^ /usr/share/gnome/help/iiim-properties/de/iiim-properties.xml:27: parser error : Entity 'appname' failed to parse <title>&appname;</title> ^ ....
This happens when xml file contains special characters in the header. I can reproduce it for these languages: es, pt_BR, de, fr, it and ZH_CN
Detailed description of the invalid strings (undefined entities) in the xml files. (and some other minor bugs) iiim-properties.xml ========== de_DE ---------- ü, ä, ß, ö es_ES ---------- ó, é, í, á, ú fr_FR ---------- é, ê, ç,  , à, ô, î, ô hu_HU ---------- Launched ok, no undefined entities used apparently it_IT ---------- Terminal outputs parsing errors. The help window is launched successfuly though. sv_SE ---------- ö, å, ä, &ndash, pt_BR ---------- ê, é, ç, ã, ú, á, í, à, â, ja_JA ---------- Launched ok, no undefined entities used apparently zh_CN ---------- Terminal outputs parsing errors. The help window is launched successfuly though. zh_HK ---------- Launched ok, no undefined entities used apparently zh_TW ---------- Launched ok, no undefined entities used apparently evolution ========== cs_CZ ---------- Launched ok, no undefined entities used apparently package-manager.xml ========== unmatched element: subtopic (for all languages) zh_CN ---------- Terminal reports an error: Unrecognized number formatterL cjk-chinese-simp. The help window was launched successfully though. WILL FINISH CHECKING THE DDU XML FILES TOMORROW AND PROVIDE A REPORT WHETHER THERE WERE ANY BUGS.
The root cause is that required xml data files are not installed. I'm closing this bug as duplicate of Bug 2897 (SUNWgnome-xml should be refactored to reduce CD space consumption). Due to CD space limitation, SUNWgnome-xml has been removed from live CD from 2008.11 releases. Workaround is to install SUNWgnome-xml from pkg.opensolaris.org. And then, manually execute the following script. $ pfexec /usr/share/sgml/docbook/docbook-catalog-install.sh This script is executed on Nevada by postinstall script, but currently it doesn't automatically during install, by SMF service or anything else on OpenSolaris. Looks like you should also pay attention to Bug 7936 (Running docbook-catalog-install.sh more than once seems to corrupt docbook installation). For the iiim-properties.xml, we will try to convert it to use UTF-8 characters instead of entities in order to avoid the missing xml data issue.
*** This bug has been marked as a duplicate of bug 2897 ***
I requested to add the workaround in 2009.06 Release Note.
*** Bug 12489 has been marked as a duplicate of this bug. ***