Bug 407477 - Multiple KDE apps fail to build due to Spanish DocBook errors: parser error: Entity not defined
Summary: Multiple KDE apps fail to build due to Spanish DocBook errors: parser error: ...
Status: RESOLVED FIXED
Alias: None
Product: i18n
Classification: Translations
Component: es (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDE l10n ES team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-12 22:35 UTC by A. Wilcox (awilfox)
Modified: 2020-02-22 10:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Wilcox (awilfox) 2019-05-12 22:35:02 UTC
SUMMARY

While bumping KDE to 19.04.1 for Adélie Linux, multiple applications failed to build their Spanish translated help files due to parser errors.

Okular:

index.docbook:1093: parser error : Entity 'Del' not defined
> o seleccione una anotación usando el &LMB; y pulse la tecla &Del;. </para>
                                                                    ^
kf5.kdoctools: Error: `xmllint --noout` outputted text
make[2]: *** [CMakeFiles/po-es-docs-okular-index-cache-bz2.dir/build.make:62: po/es/docs/okular/index.cache.bz2] Error 1



KWave:

index.docbook:1654: parser error : Entity 'Space' not defined
>&Space;</keycombo
        ^
index.docbook:1655: element keycombo: validity error : Element keycombo content does not follow the DTD, expecting (keycap | keycombo | keysym | mousebutton)+, got (CDATA)
></shortcut
 ^
index.docbook:1668: parser error : Entity 'Space' not defined
>&Space;</keycombo
        ^
index.docbook:1669: element keycombo: validity error : Element keycombo content does not follow the DTD, expecting (keycap | keycombo | keysym | mousebutton)+, got (CDATA)
></shortcut
 ^
index.docbook:1842: parser error : Entity 'Space' not defined
>&Ctrl; &Space;</keycombo
               ^
index.docbook:1984: parser error : Entity 'Home' not defined
>&Ctrl;&Home;</keycombo
             ^
index.docbook:2003: parser error : Entity 'End' not defined
>&Ctrl;&End;</keycombo
            ^
index.docbook:2022: parser error : Entity 'PgUp' not defined
>&PgUp;</keycombo
       ^
index.docbook:2023: element keycombo: validity error : Element keycombo content does not follow the DTD, expecting (keycap | keycombo | keysym | mousebutton)+, got (CDATA)
></shortcut
 ^
index.docbook:2054: parser error : Entity 'PgDn' not defined
>&PgDn;</keycombo
       ^
index.docbook:2055: element keycombo: validity error : Element keycombo content does not follow the DTD, expecting (keycap | keycombo | keysym | mousebutton)+, got (CDATA)
></shortcut
 ^
index.docbook:2086: parser error : Entity 'Right' not defined
>&Right;</keycombo
        ^
index.docbook:2087: element keycombo: validity error : Element keycombo content does not follow the DTD, expecting (keycap | keycombo | keysym | mousebutton)+, got (CDATA)
></shortcut
 ^
index.docbook:2118: parser error : Entity 'Left' not defined
>&Left;</keycombo
       ^
index.docbook:2119: element keycombo: validity error : Element keycombo content does not follow the DTD, expecting (keycap | keycombo | keysym | mousebutton)+, got (CDATA)
></shortcut
 ^
index.docbook:2375: parser error : Entity 'Home' not defined
>&Shift;&Home;</keycombo
              ^
index.docbook:2391: parser error : Entity 'End' not defined
>&Shift;&End;</keycombo
             ^
kf5.kdoctools: Error: `xmllint --noout` outputted text
make[2]: *** [CMakeFiles/po-es-docs-kwave-index-cache-bz2.dir/build.make:62: po/es/docs/kwave/index.cache.bz2] Error 1



KHelpCenter:

index.docbook:139: parser error : Entity 'applications' not defined
>&khelpcenter; forma parte de las &applications;. Se puede encontrar en el <ulin
                                                ^
index.docbook:350: parser error : Entity 'applications' not defined
de las numerosas características de &plasma-workspaces; y de las &applications;
                                                                               ^
index.docbook:350: parser error : Entity 'applications' not defined
 y describe muchas tareas comunes que puede realizar en todas las &applications;
                                                                               ^
kf5.kdoctools: Error: `xmllint --noout` outputted text
[ 33%] Built target pofiles-4818c01ae470561c5aec6c311beef230
make[2]: *** [CMakeFiles/po-es-docs-khelpcenter-index-cache-bz2.dir/build.make:62: po/es/docs/khelpcenter/index.cache.bz2] Error 1



STEPS TO REPRODUCE
1. Download either Okular, KWave, or KHelpCenter 19.04.1.
2. Start a build.

OBSERVED RESULT
Build failures as described above.

EXPECTED RESULT
Successful build.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux gwyn 4.14.88-mc13-easy-power8 #1 SMP Thu Mar 7 11:12:54 UTC 2019 ppc64 GNU/Linux
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.54.0
Qt Version: 5.9.7

ADDITIONAL INFORMATION
Spanish is the only translation to fail.  No other language.
Comment 1 Eloy Cuadra 2019-06-19 18:20:29 UTC
It must already be solved by a previous commit.
Comment 2 Pulfer 2020-02-22 09:42:57 UTC
(In reply to Eloy Cuadra from comment #1)
> It must already be solved by a previous commit.

Can you please provide URL for that commit?
Comment 3 Pulfer 2020-02-22 10:05:04 UTC
(In reply to Pulfer from comment #2)
> (In reply to Eloy Cuadra from comment #1)
> > It must already be solved by a previous commit.
> 
> Can you please provide URL for that commit?

I guess I found it myself: https://cgit.kde.org/kdoctools.git/commit/src/customization/es/user.entities?id=21703ca6c13924586170caf2cf4b429058d8cf0a