![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2018
Device: none
|
error when validating epub
I am converting an HTML file to epub 2 using Sigil.
I am using Pagina to check if its a valid epub. It usually works, though with one book I am getting ERROR NCX-001 /OEBPS/toc.ncx NCX identifier ('a0d8cc05-8c3c-48ce-ba5e-13722fae684f') does not match OPF identifier ('urn:uuid:a0d8cc05-8c3c-48ce-ba5e-13722fae684f'). <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"> relevant files below (generated by Sigil): <ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1"> <head> <meta name="dtb:uid" content="a0d8cc05-8c3c-48ce-ba5e-13722fae684f"/> <meta name="dtb:depth" content="1"/> <meta name="dtb:totalPageCount" content="0"/> <meta name="dtb:maxPageNumber" content="0"/> </head> <docTitle> <text>t1</text> </docTitle> <navMap> <navPoint id="navPoint-1" playOrder="1"> <navLabel> <text>Introduction</text> </navLabel> <content src="Text/t1.html"/> </navPoint> </navMap> </ncx> <?xml version="1.0" encoding="UTF-8"?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookID" version="2.0"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns ![]() <dc:title>t1</dc:title> <dc:creator opf:role="aut">wj</dc:creator> <dc:language>en</dc:language> <dc:identifier id="BookID" opf:scheme="UUID">urn:uuid:a0d8cc05-8c3c-48ce-ba5e-13722fae684f</dc:identifier> <meta name="Sigil version" content="0.3.2"/> </metadata> <manifest> <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/> <item id="t1.html" href="Text/t1.html" media-type="application/xhtml+xml"/> </manifest> <spine toc="ncx"> <itemref idref="t1.html"/> </spine> </package> Its got me stumped. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Are you really still using Sigil 0.3.2?? This has been fixed in later versions of Sigil (which is currently at 0.9.13, just for the record).
Change the following line in toc.ncx: Code:
<meta name="dtb:uid" content="a0d8cc05-8c3c-48ce-ba5e-13722fae684f"/> Code:
<meta name="dtb:uid" content="urn:uuid:a0d8cc05-8c3c-48ce-ba5e-13722fae684f"/> Then do it for every book you edit from now on (or upgrade Sigil ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,352
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
For the record: a change to the Pagina/EpubCheck rules is what caused this error. What Sigil was producing in this regard was perfectly valid for a long, long time. Unfortunately, we can't go back in time and fix all the older versions of Sigil to correct it.
Last edited by DiapDealer; 05-30-2019 at 11:10 AM. |
![]() |
![]() |
![]() |
#4 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
If you are downloading Sigil from a third-party site, go instead to https://github.com/Sigil-Ebook/Sigil/releases
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Validating Fixed Layout Epub 3.0 Error no viewport defined | ralphiedee | ePub | 1 | 12-09-2016 12:15 PM |
Errors while validating EPUB | crankypants | ePub | 21 | 12-05-2015 10:21 PM |
Validating Epub | Thom* | Editor | 6 | 07-08-2015 04:17 AM |
Validating epub returns warning | writerkit | Conversion | 2 | 03-30-2013 02:35 AM |