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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-24-2016, 09:47 PM   #1
djkmann
Junior Member
djkmann began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2013
Device: all
EPUB Validation error after DOC>EPUB conversion

Hello, I am converting a Word DOC to EPUB using Calibre. I have used this process dozens of times and successfully submitted the EPUB to KOBO, however, this time it was rejected. The EPUBcheck validator reports:

RSC-005 (ERROR) Message: Error while parsing file 'element "base" missing required attribute "href"'.

Can anyone tell me what this means and how I can repair the issue?

Thank you
djkmann is offline   Reply With Quote
Advert
Old 11-24-2016, 10:21 PM   #2
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: 31,310
Karma: 8154029
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre does not generate <base> elements. How are you converting the doc to epub? The recommended way is to save it as docx and convert that. https://manual.calibre-ebook.com/con...word-documents

IN any case, all you need to do is find the <base> tag in the html and delete it.
kovidgoyal is offline   Reply With Quote
Old 11-25-2016, 11:58 AM   #3
djkmann
Junior Member
djkmann began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2013
Device: all
Hello, Thank you for your reply, and for the awesome Calibre software that has been wonderful for my work.

I apologize, I forgot to include a step - I first save the DOC as a "web page-filtered" HTML file, using Word. And then I import the HTML file into Calibre and convert it to EPUB.
djkmann is offline   Reply With Quote
Old 11-25-2016, 12:38 PM   #4
djkmann
Junior Member
djkmann began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2013
Device: all
I tried the method of saving the Word file as a DOCX, and then opening the DOCX in Calibre and converting it to EPUB. Now the epubcheck validator is giving me this error:

RSC-005 (ERROR) Message: Error while parsing file 'attribute "value" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"'.
djkmann is offline   Reply With Quote
Old 11-25-2016, 09:49 PM   #5
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: 31,310
Karma: 8154029
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That will happen if your docx contains numbered lists/sections with fancy numbering styles, it is a bug int he epub validator, see https://bugs.launchpad.net/calibre/+bug/1232790
kovidgoyal is offline   Reply With Quote
Advert
Old 11-29-2016, 09:42 AM   #6
djkmann
Junior Member
djkmann began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2013
Device: all
Thanks
djkmann is offline   Reply With Quote
Reply

Tags
doc, epub, error, validate, validation

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epub validation error renahobie ePub 13 06-11-2017 09:44 AM
epub validation error adetutuijose ePub 12 01-14-2012 10:05 PM
epub validation error sassanik Sigil 19 12-08-2010 05:46 AM
Epub Validation Error? LadyDae ePub 6 10-29-2010 07:20 PM
ePub validation error sk19.gupta Introduce Yourself 6 10-19-2010 10:53 PM


All times are GMT -4. The time now is 07:13 AM.


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