View Single Post
Old 03-02-2022, 04:45 PM   #438
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,045
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by dmx87212 View Post
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1646250078.epub/content.opf(46,140): Error while parsing file: value of attribute "id" is invalid; must be an XML name without colons

code:

<item id="a26-chapter-19--order-(redux).html" href="OEBPS/text/a26-chapter-19--order-(redux).html" media-type="application/xhtml+xml"/>
It doesn't like the ()s in <item id="a26-chapter-19--order-(redux).html"...> or <itemref idref="a26-chapter-19--order-(redux).html"/>. I suspected it was that or the '.', so I tested; Calibre's Edit book Check feature gives a bit more detail:
Quote:
Warning [2 / 2]
content.opf (line: 43)
The id file0001( is not a valid id. IDs must start with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). This is to ensure maximum compatibility with a wide range of devices.
Note that <item id="a"...> and <itemref idref="a"/> need to match up--it's itemref because it's referring to that <item>
JimmXinu is offline   Reply With Quote