Following up with #701667, this ticket is meant to track the problems of the EPUB output concerning the management of "id" attributes. With epubcheck 3.0-RC1 you can easily get errors like this: ERROR: /home/rhertzog/x/tdah/publish/en-US/Debian/6.0/epub/debian-handbook/Debian-6.0-debian-handbook-en-US.epub: could not parse OEBPS/sect.virtualization.html: duplicate id: virtinst.connect or like this: ERROR: /home/rhertzog/x/tdah/publish/en-US/Debian/6.0/epub/debian-handbook/Debian-6.0-debian-handbook-en-US.epub/OEBPS/toc.ncx(2,55180): 'idp27426448': fragment identifier is not defined in 'OEBPS/sect.windows-file-server-with-samba.html' Those errors here have been reproduced with the book the Debian Handbook: $ git clone git://anonscm.debian.org/debian-handbook/debian-handbook.git
I believe this was fixed in Publican 3.1 as we reverted the anchor code.
Most of the problems seem to be solved indeed but I still have some warnings related to "id" management. The duplicate "id" warning persists. I have the issue when the "id" is on a <para>. <para id="dsa-team">The DSA team...</para> <para>....<link linkend="dsa-team">Debian System Administrators</link>...</para> I end up with something like this: <div class="para" id="dsa-team"><a xmlns="" id="dsa-team"/> Or with callouts (in examples or code areas): <co id="smb.conf.wins"/> For those, the id appears on the inline callout number and in the callout list that describes those callouts. I also have some other warnings with bad anchors in toc.ncx: ERROR: publish/en-US/Debian/7.0/epub/debian-handbook/Debian-7.0-debian-handbook-en-US.epub/OEBPS/toc.ncx(2,5706): 'idm140125705857200': fragment identifier is not defined in 'OEBPS/sect.debian-internals.html' ERROR: publish/en-US/Debian/7.0/epub/debian-handbook/Debian-7.0-debian-handbook-en-US.epub/OEBPS/toc.ncx(2,59957): 'idm140125697874416': fragment identifier is not defined in 'OEBPS/sect.windows-file-server-with-samba.html' Though here I'm not sure the warning is correct. I find the corresponding id tags in the given files. It seems to occur on deeply nested titles but I don't know why. This can still be reproduced with the book in the git respository indicated in the initial report.
HSS-QE has reviewed and declined this request. QE for this bug will be handled by IED.
Fixed callouts having duplicate IDs in all HTML outputs. Fixed various other EPUB specific instances. To ssh://git.fedorahosted.org/git/publican.git 8711fbe..9d087c5 HEAD -> devel
I generated an epub with publican-3.9.9-0.fc19.t4.noarch and checked it with epubcheck-3.0.1 -- the only errors I got were connected with the title_logo.svg, not the book itself. $ java -jar epubcheck-3.0.1.jar /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub Epubcheck Version 3.0.1 Validating against EPUB version 2.0 ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(19,65): attribute "sodipodi:version" not allowed here; ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(19,65): attribute "inkscape:version" not allowed here; ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(19,65): value of attribute "version" is invalid; must be equal to "1.1" ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(19,65): attribute "sodipodi:docname" not allowed here; ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(19,65): attribute "inkscape:output_extension" not allowed here; ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(39,23): element "sodipodi:namedview" not allowed anywhere; ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(42,14): element "rdf:RDF" not allowed anywhere; ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(55,51): attribute "inkscape:label" not allowed here; ERROR: /home/rlandmann/Documents/books/rhel/Power_Management_Guide/trunk/6-trunk/tmp/en-US/Red_Hat_Enterprise_Linux-6-Power_Management_Guide-en-US.epub/OEBPS/Common_Content/images/title_logo.svg(55,51): attribute "inkscape:groupmode" not allowed here; Check finished with warnings or errors