Bug 51465 - Docbook Syntax Errors in index.docbook
Summary: Docbook Syntax Errors in index.docbook
Status: RESOLVED FIXED
Alias: None
Product: docs.kde.org
Classification: Websites
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-03 18:35 UTC by Josh Berry
Modified: 2002-12-04 15:54 UTC (History)
0 users

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 Josh Berry 2002-12-03 18:35:06 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2 
OS:          Linux

Docbook refuses to compile index.docbook for krec. Here's the output from a make:

make[3]: Entering directory `/usr/src/kde-cvs/kdemultimedia/doc/krec'
/opt/kdecvs/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
/usr/local/opt/kdecvs/share/apps/ksgmltools2/customization/en/entities/update-doc.docbook:3: error: '<' in entity 'krec' is not allowed in attributes values
url="http://docs.kde.org/current/&package;/&kappname;/">http://docs.kde.org/cur
                                                     ^
/usr/local/opt/kdecvs/share/apps/ksgmltools2/customization/en/entities/update-doc.docbook:4: error: chunk is not well balanced

^
/usr/local/opt/kdecvs/share/apps/ksgmltools2/customization/en/entities/update-doc.docbook:3: error: '<' in entity 'krec' is not allowed in attributes values
url="http://docs.kde.org/current/&package;/&kappname;/">http://docs.kde.org/cur
                                                     ^
/usr/local/opt/kdecvs/share/apps/ksgmltools2/customization/en/entities/update-doc.docbook:4: error: chunk is not well balanced

^
index.docbook:430: error: Entity value required
&updating.documentation;
                       ^
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/usr/src/kde-cvs/kdemultimedia/doc/krec'

I'm running gentoo 1.4pre, and I just rsynced last night. Package versions you might be interested in:

docbook-sgml-dtd: 4.1
docbook-smgl-utils: 0.6.11
docbook-xml-dtd: 4.1.2-r3
docbook-xml-simple-dtd: 4.1.2.4
libxml2: 2.4.24
libxslt: 1.0.20
Comment 1 Eric Bischoff 2002-12-04 15:54:38 UTC
It does'nt happen in KDE 3.1 branch 
(kdelibs/kdoctools/customization/en/entities/update-doc.docbook release 1.3), but it 
happens in HEAD (release 1.4). 
 
The problem was that &kappname; was used in the URL that is mentioned in the 
latest release of update-doc.docbook. 
 
Fixed by Frederik Fouvry and me by removing both occurences of &kappname; 
from the URL. 
 
Thanks for the bug report.