Quote:
Originally Posted by dmx87212
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>