Epub checker warning message 3.0.1

228 views
Skip to first unread message

David Prendergast

unread,
Jun 26, 2013, 7:23:25 AM6/26/13
to epub...@googlegroups.com
HI there. am using Windows 7 Home premium version 6.1. have no issues with version 3.0 but now using 3.0.1 and the following message comes up with the attached file. can someone let me know if simple English how to retify the problem. I need to pass the latest version of epub 3.0.1.

the file is generated from Quark 9.5 to epub and then put through 3.0.1 and comes up with:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\poolbeg>java -jar C:\Users\poolbeg\Desktop\epubcheck-3.0.1\epubcheck-3.
0.1.jar "F:\The Last Goodbye ebook\Finnerty, Caroline\Last Goodbye, The\Last Goo
dbye, The - Caroline Finnerty.epub"
Epubcheck Version 3.0.1

Validating against EPUB version 2.0
WARNING: F:/The Last Goodbye ebook/Finnerty, Caroline/Last Goodbye, The/Last Goo
dbye, The - Caroline Finnerty.epub/OEBPS/toc.ncx: meta@dtb:uid content '11111111
11111' should conform to unique-identifier in content.opf: '9781781991305'

Check finished with warnings or errors


C:\Users\poolbeg>
Last Goodbye, The - Caroline Finnerty.epub

Thomas Ledoux

unread,
Jun 26, 2013, 8:26:41 AM6/26/13
to epub...@googlegroups.com
Hello,

as the warning message intends to warn you, your epub is inconsistent.
Indeed, in the OEBPS/content.opf file,  you declare the identifier of your epub (its ISBN in this case)
<dc:identifier id="bookid" opf:scheme="ISBN">9781781991305</dc:identifier>

however, in the OEBPS/toc.ncx, another identifier is declared:
<meta content="1111111111111" name="dtb:uid"/>

This is incorrect according to the epub spec, see http://www.idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4.1.2 for example.

You should just change the last declaration to :
  <meta content="9781781991305" name="dtb:uid"/>
to make epub check happy.

Hope it helps
  Thomas





2013/6/26 David Prendergast <desig...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "epubcheck" group.
To unsubscribe from this group and stop receiving emails from it, send an email to epubcheck+...@googlegroups.com.
To post to this group, send email to epub...@googlegroups.com.
Visit this group at http://groups.google.com/group/epubcheck.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

David Prendergast

unread,
Jun 26, 2013, 11:05:48 AM6/26/13
to epub...@googlegroups.com
how do I get into the meta content to correct the ISBN? I can't seem to access the toc.ncx or content opf file. After creating in Quark I delete a couple of extra semi colons in horizontal CCS and rebuild. can I change in calibre or where? need to be able to make change going forward for all our ebooks in the future. thanks for your help.

Thomas Ledoux

unread,
Jun 26, 2013, 1:11:05 PM6/26/13
to epub...@googlegroups.com
Unfortunately, I don't have Quark netither use it.
To correct your problem, I just open the epub with Sigil, correct the toc.ncx file and save it.
This time, epubcheck doesn't complain.

I suppose this can be done with calibre but I haven't tested it.


2013/6/26 David Prendergast <desig...@gmail.com>

Carlos Araya

unread,
Jun 26, 2013, 1:16:39 PM6/26/13
to epub...@googlegroups.com
If you're comfortable with cracking the epub file you can open the zip file, edit the toc.ncx with your favorite text editor and then zip it back up.  If you choose to do this be mindful of the order in which the files have to be ziped.

Tobias Fischer | pagina GmbH

unread,
Jun 26, 2013, 1:54:10 PM6/26/13
to epub...@googlegroups.com
If you choose to do this be mindful of the order in which the files have to be ziped.
If epubcheck doesn't throw any other errors or warnings, just use epubcheck in expanded mode to zip the epub:

$ java -jar epubcheck-3.0.1.jar your/expanded/epub/folder/ -mode exp

You will get an epubcheck report and a correctly zipped epub file if there aren't any other errors or warnings...

Cheers,
Toby

Thomas Ledoux

unread,
Jun 26, 2013, 2:27:24 PM6/26/13
to epub...@googlegroups.com
Of course Tobias, you are right!

Just unzip your wrong epub somewhere.
Correct the toc.ncx with a simple notepad program.

Then launch
$ java -jar epubcheck-3.0.1.jar -mode exp -save your/expanded/epub/folder/

and a correct epub is generated.


Thanks
  Thomas





2013/6/26 Tobias Fischer | pagina GmbH <tobias....@pagina-tuebingen.de>
Reply all
Reply to author
Forward
0 new messages