I created an epub in Sigil 0.7.2 that uses a 3-part chapter system. The book is broken up into Part, Chapter, Sub-chapter. I used the formatting system of H1 for the Parts, H2 for the Chapters, and H3 for the subchapters ( as outlined by Lulu, as well as being the common sense approach). Chapters are new files, but sub-chapters are contained within each file for the chapter and referenced with a Sigil-generated id created when I had Sigil auto-generate a Table of Contents. Epub was validated with both Flightcrew and Epubcheck with no errors found by either.
When uploaded to Lulu I get the dreaded: "The table of contents contains one or more links without text" error. The error log file is filled with these two errors:
- ERROR: IOException: Unresolved external XML entity: 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd' in OEBPS/Text/Section0004.xhtml
- ERROR: Unable to locate element with id 'sigil_toc_id_1' in OEBPS/toc.ncx
The first error is for each chapter that has a sub-chapter (total of 11 - so OEBPS/Text/Section0004.xhtml through OEBPS/Text/Section00016.xhtml minus 11 and 14 for the page dedicated to declaring Parts II and III). The second error is for each and every anchor tag pointing to a subchapter (total of 51 - so sigil_toc_id_1 through sigil_toc_id_51.
Has anyone figured out a way around this without me having to resort to creating new files for each of my 51 sub-chapters to avoid anchors in the toc.ncx?