Description of problem: version 1.6.3 of publican breaks pacemaker builds due an error during documentation generation Version-Release number of selected component (if applicable): publican-1.6.3-0.fc13 Steps to Reproduce: 1. do a build of pacemaker (eg. a scratch build in koji - http://koji.fedoraproject.org/koji/taskinfo?taskID=2240497) Additional info: log from successful build using publica 1.6.2 - http://kojipkgs.fedoraproject.org/packages/pacemaker/1.1.2/1.fc13/data/logs/x86_64/build.log log with an error - http://koji.fedoraproject.org/koji/getfile?taskID=2240501&name=build.log or on Fedora/s390x is much cleaner situation - the difference between the 2 buildroots is only in the publican package (1.6.2 vs. 1.6.3), see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=165487 http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=165475 It's quite possible that the pacemaker docs have problem, because the error is about validation, but in that case I would appreciate help or pointers.
The XML is invalid. The content model for <imagedata> is EMPTY[1] and therefore this tag must not contain data. However, in the Book_Info.xml file in pacemaker-1.1.2-1.fc13.src.rpm, I found: <imageobject> <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"> </imagedata> </imageobject> Here, the <imagedata> tag contains the spaces used to indent the closing tag on the following line. Changing this to <imageobject> <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"/> </imageobject> or <imageobject> <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"/></imagedata> </imageobject> fixes the problem and lets the doc build normally on my system. If you make this change, can you build on Koji successfully? Cheers Rudi [1] http://www.docbook.org/tdg/en/html/imagedata.html
(In reply to comment #1) > <imageobject> > <imagedata fileref="Common_Content/images/title_logo.svg" > format="SVG"/></imagedata> > </imageobject> Sorry -- this should be <imageobject> <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata> </imageobject> of course...
Ruediger, thanks, with that update pacemaker builds fine on F-13 with publican 1.6.3. But when testing the builds I have found that latest publican in Rawhide is 1.6.2 because the 1.6.3 build failed there. I am switching the component to pacemaker and updating the summary because the real bug is there.
Created attachment 422861 [details] fix for the docs
Thanks for the patch.