Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2017, 12:23 PM   #1
CrossReach
Member
CrossReach began at the beginning.
 
CrossReach's Avatar
 
Posts: 19
Karma: 10
Join Date: Aug 2016
Device: Android
Error while TOC parsing.

I am trying to upload a book to PublishDrive. I've never come across this problem until now. It has something to do with the TOC I generated with Word 2016. I think I know what it means, maybe I don't, but I certainly have no idea how to fix it.

The book file is not valid and contains errors. Please check this page for more information: https://code.google.com/p/epubcheck/wiki/Errors.
Common error messages and how to fix them.
Please contact us for help if you need it.

ERROR(RSC-005): EPUB/toc.ncx(50,56): Error while parsing file 'identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target'.
ERROR(RSC-005): EPUB/toc.ncx(56,56): Error while parsing file 'identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target'.
ERROR(RSC-012): EPUB/index_split_002.html(18,86): Fragment identifier is not defined.
ERROR(RSC-012): EPUB/toc.ncx(60,60): Fragment identifier is not defined.
CrossReach is offline   Reply With Quote
Old 12-21-2017, 01:29 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
How did you convert the Word document to an ePUB? Something went wrong with the conversion there.
Toxaris is offline   Reply With Quote
Old 12-22-2017, 06:30 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by CrossReach View Post
It has something to do with the TOC I generated with Word 2016. I think I know what it means, maybe I don't, but I certainly have no idea how to fix it.
Your NCX TOC is broken. Try the following:

1. Open the epub with Calibre E-book Editor or Sigil, re-generate the TOC and check your book with the IDPF validator.

2. If the book still doesn't pass EpubCheck, open it with Calibre E-book Editor, click "Run check" and "Try to correct all fixable errors automatically."

Last edited by Doitsu; 12-22-2017 at 07:03 AM.
Doitsu is offline   Reply With Quote
Old 12-23-2017, 05:46 AM   #4
maifosz
Junior Member
maifosz began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2017
Device: Kindle
Quote:
Originally Posted by CrossReach View Post
I am trying to upload a book to PublishDrive. I've never come across this problem until now. It has something to do with the TOC I generated with Word 2016. I think I know what it means, maybe I don't, but I certainly have no idea how to fix it.

The book file is not valid and contains errors. Please check this page for more information: https://code.google.com/p/epubcheck/wiki/Errors.
Common error messages and how to fix them.
Please contact us for help if you need it.

ERROR(RSC-005): EPUB/toc.ncx(50,56): Error while parsing file 'identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target'.
ERROR(RSC-005): EPUB/toc.ncx(56,56): Error while parsing file 'identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target'.
ERROR(RSC-012): EPUB/index_split_002.html(18,86): Fragment identifier is not defined.
ERROR(RSC-012): EPUB/toc.ncx(60,60): Fragment identifier is not defined.
It basically means that the playOrder and navpoint values somehow differ. Most common TOC problems can be solved by simply refreshing the TOC.
If it does not work, open the toc.ncx file and check if your TOC has the same structure:

Code:
  <navMap>
    <navPoint id="navPoint-1" playOrder="1">
      <navLabel>
        <text>Chapter 1</text>
      </navLabel>
      <content src="Text/chapter1.xhtml"/>
    </navPoint>
    <navPoint id="navPoint-2" playOrder="2">
      <navLabel>
        <text>Chapter 2</text>
      </navLabel>
      <content src="Text/chapter2.xhtml"/>
    </navPoint>
  </navMap>
(I work for PublishDrive and solve problems like this as a day job. I can't find your file under the recent uploads but I'd be happy to fix it if you send it over to PD support. It seems a minor issue.)
maifosz is offline   Reply With Quote
Reply

Tags
error, parsing, table of contents, toc, uploading


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Error while parsing file 'element "img" not allowed here" shotsfromthebar Editor 3 03-31-2017 03:53 AM
An error occurred while parsing the CSS & one other Alda Sigil 3 06-21-2016 01:44 PM
PRS-T1 Cannot instal ColorDict: Parsing Error? nikoski Sony Reader 2 04-07-2014 03:34 AM
Error parsing templates when {authors} has an '&' or if {title} has a an apostrophe sr2012 Library Management 1 04-30-2012 02:37 AM
Error parsing attribute name? seagull Calibre 1 01-01-2010 11:30 AM


All times are GMT -4. The time now is 01:54 AM.


MobileRead.com is a privately owned, operated and funded community.