Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2010, 03:59 AM   #1
graniton
Junior Member
graniton began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2010
Device: calibre
element "img" not allowed in this context

I am getting the following error while trying to upload an ibook to itunes (with itunes producer) converted to .epub with calibre :
ERROR ITMS-9000: "element "img" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context" at Book (MZItmspBookPackage)
ERROR ITMS-9000: "required attributes missing" at Book (MZItmspBookPackage)
What could be the problem? The cover art?
graniton is offline   Reply With Quote
Old 07-01-2010, 04:21 AM   #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 graniton View Post
I am getting the following error while trying to upload an ibook to itunes (with itunes producer) converted to .epub with calibre :
ERROR ITMS-9000: "element "img" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context" at Book (MZItmspBookPackage)
ERROR ITMS-9000: "required attributes missing" at Book (MZItmspBookPackage)
What could be the problem? The cover art?
I haven't done this but I recall this error means you have to have the alt="" attribute within the img tag.
DoctorOhh is offline   Reply With Quote
Advert
Old 11-17-2010, 04:44 PM   #3
jcookingham
Junior Member
jcookingham began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: kindle
error while uploading epub

I am getting the following error while trying to upload an ibook to itunes (with

itunes producer) converted to .epub with calibre :

ERROR ITMS-9000: "bad value for attribute "class"" at Book

(MZItmspBookPackage)

Any ideas out there?

Thanks!
jcookingham is offline   Reply With Quote
Old 11-17-2010, 07:43 PM   #4
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,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
make sure the class attribute on the element has a simple value starting with an alphabet and contaiing only alphabets, numbers, spaces.
kovidgoyal is online now   Reply With Quote
Old 11-18-2010, 07:10 AM   #5
jcookingham
Junior Member
jcookingham began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2010
Device: kindle
Thanks...not exactly sure what "class" it is....but thanks!
jcookingham is offline   Reply With Quote
Advert
Old 05-14-2012, 11:39 PM   #6
thewebprincess
Junior Member
thewebprincess began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2012
Device: none
Solved this for me

Quote:
Originally Posted by graniton View Post
I am getting the following error while trying to upload an ibook to itunes (with itunes producer) converted to .epub with calibre :
ERROR ITMS-9000: "element "img" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context" at Book (MZItmspBookPackage)
ERROR ITMS-9000: "required attributes missing" at Book (MZItmspBookPackage)
What could be the problem? The cover art?
The fix for this for me was putting the <img tags inside a div which we called image container.
thewebprincess is offline   Reply With Quote
Reply

Tags
epub calibre error itunes


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Settings," then "311" - Int'l Kindle searches for wireless providers in the area Dr. Drib Amazon Kindle 2 08-28-2011 10:27 AM
Yep. It's official. Sony Reader has "ruined" books for me. A final "review." WilliamG Sony Reader 48 01-14-2011 03:49 AM
element "span" not allowed in this context jihwan Calibre 4 07-17-2010 09:25 PM
"Zeit-Odyssee"-Trilogie droht das "dunkle Turm"-Schicksal ThR E-Books 4 02-10-2010 05:18 AM
Crash on nonexistent "title" metadata element Valloric EPUBReader 3 12-10-2009 01:46 PM


All times are GMT -4. The time now is 07:41 PM.


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