Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2010, 07:31 PM   #1
JrBashi
Junior Member
JrBashi began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2010
Device: none
Validation error new with Calibre 0.7.6

Hi,

Ever since updating to Calibre 0.7.6 I have been getting this error when I use epubcheck to validate my ebooks:

ERROR: Bookname.epub/toc.ncx(2): bad value for attribute "lang" from namespace "http://www.w3.org/XML/1998/namespace"

it seems that previous ebooks I have converted have this in the tox.ncx file:

<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="UND">

but now they have this:

<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="en_GB">

Which causes validation problems..Can someone please shed some light on this issue?

Also, another slightly unrelated questions - why is there no ISBN metadata field when converting books in Calibre? Why can they only be added after?

Cheers,
James
JrBashi is offline   Reply With Quote
Old 06-28-2010, 09:19 PM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by JrBashi View Post
Also, another slightly unrelated questions - why is there no ISBN metadata field when converting books in Calibre? Why can they only be added after?
I insert the ISBN in the metadata field prior to converting my book. After I convert the book I use Sigil to open the ePub and look at the metadata and the ISBN is always correct.
DoctorOhh is offline   Reply With Quote
Advert
Old 06-28-2010, 09:34 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,849
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Change the underscore in en_GB to a hyphen
kovidgoyal is offline   Reply With Quote
Old 06-28-2010, 09:43 PM   #4
JrBashi
Junior Member
JrBashi began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2010
Device: none
I mean on this window (see attached)
Attached Thumbnails
Click image for larger version

Name:	noISBNfield.JPG
Views:	238
Size:	57.6 KB
ID:	54250  
JrBashi is offline   Reply With Quote
Old 06-28-2010, 09:44 PM   #5
JrBashi
Junior Member
JrBashi began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2010
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Change the underscore in en_GB to a hyphen
Is there any way of changing this in the source files so it applies it to all my books that I create automatically?
JrBashi is offline   Reply With Quote
Advert
Old 06-28-2010, 09:47 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,849
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by JrBashi View Post
Is there any way of changing this in the source files so it applies it to all my books that I create automatically?
Its already been fixed for the next release.
kovidgoyal is offline   Reply With Quote
Old 06-28-2010, 09:54 PM   #7
JrBashi
Junior Member
JrBashi began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Apr 2010
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Its already been fixed for the next release.
Awesome, Thanks heaps
JrBashi is offline   Reply With Quote
Old 06-28-2010, 09:56 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,849
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by JrBashi View Post
I mean on this window (see attached)
Because it's not something most people need to set at convert time.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub validation error sassanik Sigil 19 12-08-2010 05:46 AM
Error during validation macdafydd ePub 19 12-01-2010 06:07 PM
ePub validation error sk19.gupta Introduce Yourself 6 10-19-2010 10:53 PM
Validation error rrosenwald Calibre 10 10-01-2010 11:12 AM
ePub Validation Error mrbillb ePub 6 09-28-2010 02:14 PM


All times are GMT -4. The time now is 10:02 PM.


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