Thread: Parsing errors
View Single Post
Old 08-07-2026, 01:59 PM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,891
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Gaia Neos View Post
'(RSC-005): /content.opf: Error while parsing file: element "guide" incomplete; missing required element "reference"
The <guide> is in the content.opf and looks like this...
PHP Code:
  <guide>
    <
reference type="copyright-page" title="Copyright page" href="copyright.xhtml#copyright"/>
    <
reference type="cover" title="Cover" href="cover.xhtml"/>
    <
reference type="dedication" title="Dedication" href="dedication.xhtml#dedication"/>
    <
reference type="text" title="Text" href="p01c01.xhtml#start"/>
    <
reference type="title-page" title="Title page" href="titlepage.xhtml#titlepage"/>
  </
guide
In the Calibre Editor, there is a tool called "Set Semantics". Use it to redo the guide.

Quote:
Originally Posted by Gaia Neos View Post
(RSC-005): /Permaculture_Principles.html: Error while parsing file: element "li" not allowed here; expected the element end-tag or element "address", "blockquote", "del", "div", "dl", "h1", "h2", "...
The only place I could find reference guide is in text, not in code, but not in content.opf.
When I removed the li element it said li expected. Now I have no li and it says li not allowed here
Please advise
Thanks
The <li> tag is a child of either the <ol> or <ul> tags.
Is the <li> tag proberly closed off. And is it surrounded by either the <ol> or <ul> parent tags?
If you can't figure it out, then we would need to see the code in the html file.
Karellen is offline   Reply With Quote