After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 370394 - [aisleriot] Manual doesn't validate
[aisleriot] Manual doesn't validate
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: docs
unspecified
Other Linux
: Normal major
: ---
Assigned To: Maintainers of Gnome user documentation
Maintainers of Gnome user documentation
Depends on:
Blocks: 398471
 
 
Reported: 2006-11-04 09:39 UTC by Joachim Noreiko
Modified: 2007-04-24 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (1.85 KB, patch)
2007-04-23 11:34 UTC, Christian Persch
committed Details | Review

Description Joachim Noreiko 2006-11-04 09:39:41 UTC
file:///home/joachim/source/gnome-games/aisleriot/help/C/aisleriot.xml:103: element book: validity error : Element book content does not follow the DTD, expecting ((title , subtitle? , titleabbrev?)? , bookinfo? , (dedication | toc | lot | glossary | bibliography | preface | chapter | reference | part | article | appendix | index | setindex | colophon)*), got (bookinfo indexterm chapter chapter chapter CDATA )

I don't know where I can safely move the offending indexterm.

file:///home/joachim/source/gnome-games/aisleriot/help/C/aisleriot.xml:142: element othercredit: validity error : Element othercredit content does not follow the DTD, expecting (honorific | firstname | surname | lineage | othername | affiliation | authorblurb | contrib)+, got (firstname surname address )
Document file:///home/joachim/source/gnome-games/aisleriot/help/C/aisleriot.xml does not validate

I'm a bit thrown by this as the error message from lint doesn't seem to match what I see on the DocBook site -- othercredit CAN have an address according to that.
Comment 1 Andreas Røsdal 2007-03-01 20:35:45 UTC
Hasn't this been fixed in Bug #398471 ?
Comment 2 Joachim Noreiko 2007-03-01 20:47:40 UTC
Doesn't seem so. Just got the same errors on a freshly updated copy.
Comment 3 Claude Paroz 2007-03-16 15:28:44 UTC
The indexterm could be inserted into the bookinfo section, although I don't know the consequences over indexation.

About the address problem, it's more a matter of how to make it appear in yelp. If address is inserted inside an affiliation element, the document is valid, but the address doesn't appear in yelp.

Maybe Shaun could give us some help about that.
Comment 4 Christian Persch 2007-04-23 11:34:33 UTC
Created attachment 86834 [details] [review]
proposed fix

I moved the <indexterm> into to the start of the first chapter. [From my understanding of http://www.docbook.org/tdg/en/html/indexterm.html this should be ok.]
The problem with <address> was that it wasn't wrapped in an <affiliation>.