Bug 82904

Summary: meinproc fails on kdeutils/doc/kwallet/index.docbook
Product: [Websites] docs.kde.org Reporter: Stefanos Harhalakis <v13>
Component: generalAssignee: Documentation Editorial Team <kde-doc-english>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefanos Harhalakis 2004-06-05 20:41:04 UTC
Version:            (using KDE KDE 3.2.90)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.0 
OS:                Linux

When trying to build kdeutils of kde 3.3a1:

make[3]: Leaving directory `/tmp2/compile/kde/kdeutils-3.0.8/doc/kgpg'
Making all in kwallet
make[3]: Entering directory `/tmp2/compile/kde/kdeutils-3.0.8/doc/kwallet'
/usr/local/kde3.3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:25: validity error: Element othercredit content does not follow the DTD
Expecting ((personname | honorific | firstname | surname | lineage | othername | affiliation | authorblurb | contrib+) , (personblurb | email | address)*), got (firstname surname contrib email)
</othercredit>
             ^
Comment 1 Tom Albers 2004-07-15 14:44:59 UTC
The relevant lines in the docbook are:
----------------
<authorgroup>
<author>
&George.Staikos; &George.Staikos.mail;
</author>
<author>
&Lauri.Watts; &Lauri.Watts.mail;
</author>
<othercredit role="developer">
<firstname>George</firstname><surname>Staikos</surname>
<contrib>Developer</contrib>&George.Staikos.mail;
</othercredit>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
----------------

Although I can not confirm this BR, because it works for me, I think this should be:

-------
<othercredit role="developer">
&George.Staikos; &George.Staikos.mail;
<contrib>Developer</contrib>
</othercredit>
-------

But if I look in other documentation I see a comment around the contrib element. Like in:
<!-- Uncomment this when xslt bug is fixed
<contrib>Developer</contrib>
-->

George Staikos is already mentioned as an author, so maybe this section can be removed as a whole? 

I'm unsure I should fix this during the freeze, maybe someone from the documentation Editorial Team could tell me how and when?
Comment 2 Tom Albers 2004-07-24 23:51:38 UTC
*** Bug 79047 has been marked as a duplicate of this bug. ***
Comment 3 Mark 2004-07-25 00:10:02 UTC
Updating to the latest libxml2 and libxslt fixed this for me.
Comment 4 Tom Albers 2004-07-25 00:21:19 UTC
CVS commit by toma: 

Hope this resolves the bug.
CCMAIL:  82904-done@bugs.kde.org


  M +2 -1      index.docbook   1.4


--- kdeutils/doc/kwallet/index.docbook  #1.3:1.4
@@ -22,5 +22,6 @@
 <othercredit role="developer">
 <firstname>George</firstname><surname>Staikos</surname>
-<contrib>Developer</contrib>&George.Staikos.mail;
+<affiliation><address><email>staikos@kde.org</email></address></affiliation>
+<contrib>Developer</contrib>
 </othercredit>
 <!-- TRANS:ROLES_OF_TRANSLATORS -->