Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-09-2012, 10:52 AM   #1
curiousgeorge
Connoisseur
curiousgeorge began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2012
Location: Nashville, Tn
Device: ipad, Kindle Fire
TOC attribute validation error

I have a validation error I am curious to know what it means.

Error:
Code:
<Error>
  <Message>toc attribute references resource with non-NCX mime type; "application/x-dtbncx+xml" is expected</Message> 
  <Line>67</Line> 
  <Resource>OPS/package.opf</Resource> 
  <Class>com.adobe.common.ReportElement</Class> 
  </Error>
When i check the area for the package,ocf in regards to the spine on line 67:

<spine toc="ncx">
<itemref idref="html-cover-page" linear="no"/>
<itemref idref="frontmatter01"/>
<itemref idref="title"/>
<itemref idref="copyright"/>
<itemref idref="dedication"/>
<itemref idref="contents"/>
<itemref idref="frontmatter02"/>
<itemref idref="frontmatter03"/>
<itemref idref="frontmatter04"/>
<itemref idref="part01"/>
<itemref idref="frontmatter05"/>
<itemref idref="part01chapter01"/>
<itemref idref="part02"/>
<itemref idref="part02chapter02"/>
<itemref idref="part02chapter03"/>
<itemref idref="part02chapter04"/>
<itemref idref="part02chapter05"/>
<itemref idref="part02chapter06"/>
<itemref idref="part02chapter07"/>
<itemref idref="part02chapter08"/>
<itemref idref="part02chapter09"/>
<itemref idref="part03"/>
<itemref idref="part03chapter10"/>
<itemref idref="part03chapter11"/>
<itemref idref="backmatter01"/>
<itemref idref="backmatter02"/>
<itemref idref="backmatter03"/>
</spine>
curiousgeorge is offline   Reply With Quote
Old 08-09-2012, 11:09 AM   #2
curiousgeorge
Connoisseur
curiousgeorge began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2012
Location: Nashville, Tn
Device: ipad, Kindle Fire
found it. in the manifest it was calling for an incorrect ncx file here:

Code:
<item id="ncx" href="toc.ncx" media-type="application/xhtml+xml"/>
media-type was wrong and changed to:
Code:
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
curiousgeorge is offline   Reply With Quote
Old 04-04-2013, 02:56 PM   #3
lindaw2396
Member
lindaw2396 began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Nov 2012
Location: NJ
Device: Kobo, iPad, Android smartphone, Kindle
Thank you! I'm so glad I have this website to come to when things like this pop up! We're uploading old, old, old (2009 produced) ebooks and they fail current validations. I have to open the epubs in Sigil's current version, run epupcheck, and I got this error! I knew there had to be SOMEONE out there who came across this before. THANK YOU!
lindaw2396 is offline   Reply With Quote
Old 04-18-2013, 04:07 PM   #4
curiousgeorge
Connoisseur
curiousgeorge began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Aug 2012
Location: Nashville, Tn
Device: ipad, Kindle Fire
Quote:
Originally Posted by lindaw2396 View Post
Thank you! I'm so glad I have this website to come to when things like this pop up! We're uploading old, old, old (2009 produced) ebooks and they fail current validations. I have to open the epubs in Sigil's current version, run epupcheck, and I got this error! I knew there had to be SOMEONE out there who came across this before. THANK YOU!
Im building a blog for these errors and launch will be this fall.
curiousgeorge is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PROBLEM TOC VALIDATION ERROR IN SIGIL Ibn ePub 7 06-06-2012 03:28 AM
Validation: attribute 'start' is not declared for element 'ol' WS64 Sigil 4 10-06-2011 03:15 AM
Epub validation error (toc) StirlingEditor Sigil 4 07-22-2011 09:04 PM
p attribute error on validation landed Calibre 2 02-13-2011 11:15 AM
Attribute error? jusmee Calibre 2 12-15-2009 08:22 PM


All times are GMT -4. The time now is 04:09 AM.


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