|
|
#1 |
|
Junior Member
![]() 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 |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,624
Karma: 28549046
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. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() 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. |
|
|
|
|
|
#4 |
|
Junior Member
![]() 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"'. |
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,624
Karma: 28549046
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
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2013
Device: all
|
Thanks
|
|
|
|
![]() |
| Tags |
| doc, epub, error, validate, validation |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Epub validation error | renahobie | ePub | 13 | 06-11-2017 10:44 AM |
| epub validation error | adetutuijose | ePub | 12 | 01-14-2012 11:05 PM |
| epub validation error | sassanik | Sigil | 19 | 12-08-2010 06:46 AM |
| Epub Validation Error? | LadyDae | ePub | 6 | 10-29-2010 08:20 PM |
| ePub validation error | sk19.gupta | Introduce Yourself | 6 | 10-19-2010 11:53 PM |