![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2015
Device: none
|
EpubCheck
Immediately after calibre conversion, my epub validated using EpubCheck version 3.0.1
But after removing calibre_bookmarks.txt with the editor, the following problem was found. Type File Line Position Message ERROR content.opf 17 14 element "metadata" incomplete; missing required element "dc:language" Please help |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,163
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Specify a language for the book in its metadata.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2015
Device: none
|
chronology of incidents
1. It is there generated by calibre during convesion from zip to epub <meta name="dc.language" content="English"/> 2. Validated ok 3. Removed calibre_bookmarks.txt with calibre editor 4. Did not validate, with ERROR content.opf 17 Last edited by zz2000; 02-14-2015 at 01:54 AM. Reason: incomplete post |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,163
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
<meta name="dc.language" content="English"/>
cannot validate OK. What you need is a language declaration in the OPF file, that looks like <dc:language>en</dc:language> |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2015
Device: none
|
<meta name="dc.language" content="English"/> was added by calibre.
How do I add <dc:language>en</dc:language> |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,776
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Feb 2015
Device: none
|
My problem is solved. I'm documenting this for others who may face the same problem.
If calibre conversion is successful, your epub should validate. However, if you browse your epub with calibre, some changes will be made to your epub, causing the already validated epub to fail validation. If you need to check your epub before submission to Amazon, smashwords ... whatever, make a COPY of your epub file and check that. |
![]() |
![]() |
![]() |
#8 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The only change that should be made is adding the bookmarks file, and that can be disabled in the preferences.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epubcheck 3 | Dillinquent | Sigil | 36 | 01-18-2013 05:33 PM |
ePubCheck problem | Adjust | ePub | 7 | 02-27-2012 01:36 PM |
epubcheck bugs? | capidamonte | ePub | 2 | 06-13-2010 07:38 AM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |
epubcheck | GeoffC | ePub | 3 | 11-03-2009 04:26 AM |