Re: Errors RSC-001 and RSC-012

Thanks for the quick follow up.

I create the EPUB using Asciidoctor, using this command: asciidoctor-epub3 -d book book.txt

Which generates book.epub. The asciidoctor-epub3 command doesn’t throw any errors/warnings, and the book.txt is non-trivial as it generates about 50 pages.

Will poke around in the EPUB file and see if I can find out more.


On Dec 8, 2017, at 10:10, Garth Conboy <garth@google.com> wrote:

> How did the EPUB file get created?  The first four are almost certainly files included in the OPF manifest that aren't actually in the EPUB.  An automated creation tool really shouldn't have done that.  But if you unzip the EPUB then hunt around for the string "Images/goodbye-books.png" you should likely find the reference and note that a file of that name isn't in the exploded directory structure (in the "Images/" subdirectory).
> 
> The 2nd four are just errors in the markup -- look at the file "how-email-works.xhtml" at the lines 37, 44, 54, and 56 -- there will be a reference to a ID (e.g., "#foo") that doesn't actually exist in the XHTML markup file.
> 
> Best,
>    Garth
> 
> 
> On Fri, Dec 8, 2017 at 3:46 AM, Andrew Sheppard <ajtsheppard@gmail.com> wrote:
> Hi,
> 
> I used epubcheck to validate my book:
> 
>         java -jar epubcheck.jar book.epub
> 
> I got these errors:
> 
>         ERROR(RSC-001): book.epub/book.epub(-1,-1): File 'Images/goodbye-books.png' could not be found.
>         ERROR(RSC-001): book.epub/book.epub(-1,-1): File 'Images/how-email-seems-to-work.png' could not be found.
>         ERROR(RSC-001): book.epub/book.epub(-1,-1): File 'Images/how-email-works.png' could not be found.
>         ERROR(RSC-001): book.epub/book.epub(-1,-1): File 'Images/how-gmail-works.png' could not be found.
>         ERROR(RSC-012): book.epub/OEBPS/how-email-works.xhtml(37,191): Fragment identifier is not defined.
>         ERROR(RSC-012): book.epub/OEBPS/how-email-works.xhtml(44,175): Fragment identifier is not defined.
>         ERROR(RSC-012): book.epub/OEBPS/how-email-works.xhtml(54,168): Fragment identifier is not defined.
>         ERROR(RSC-012): book.epub/OEBPS/how-email-works.xhtml(56,188): Fragment identifier is not defined.
> 
> OK, great, but … I have no idea about how to go about fixing these errors! Some pointers would be helpful.
> 
> — Best regards, Andrew
> 
> 
> 
> 

Received on Friday, 8 December 2017 17:25:52 UTC