GNOME Bugzilla – Bug 370394
[aisleriot] Manual doesn't validate
Last modified: 2007-04-24 15:26:22 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.
Hasn't this been fixed in Bug #398471 ?
Doesn't seem so. Just got the same errors on a freshly updated copy.
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.
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>.