Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-07-2015, 02:52 PM   #1
esack
Member Retired
esack began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2015
Device: none
Unhappy Validation in epub

How can this be fixed? Does anyone know?

ERROR OEBPS/Text/index.html 5 105 value of attribute "xml:lang" is invalid; must be an RFC 3066 language identifier
esack is offline   Reply With Quote
Old 07-07-2015, 08:44 PM   #2
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Change the value of xml:lang in that file to a valid language code. I forget if it expects underscores (e.g. en_US) or hyphens (e.g. en-US).

Edit: Hyphens.
dgatwood is offline   Reply With Quote
Advert
Old 07-07-2015, 09:00 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,625
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by esack View Post
How can this be fixed? Does anyone know?

ERROR OEBPS/Text/index.html 5 105 value of attribute "xml:lang" is invalid; must be an RFC 3066 language identifier
xml:lang="en"

That works. No need to use en_us or en-us.
JSWolf is offline   Reply With Quote
Old 07-09-2015, 08:52 PM   #4
esack
Member Retired
esack began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2015
Device: none
Thanks!
esack is offline   Reply With Quote
Old 07-10-2015, 12:15 PM   #5
esack
Member Retired
esack began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2015
Device: none
Do you know how to upgrade an epub 2 to an epub 3 ?
esack is offline   Reply With Quote
Advert
Old 07-10-2015, 01:12 PM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,724
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by esack View Post
Do you know how to upgrade an epub 2 to an epub 3 ?
Sigil + epub3 output plugin (plugins require Python)
Doitsu is offline   Reply With Quote
Old 07-10-2015, 08:12 PM   #7
esack
Member Retired
esack began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2015
Device: none
Lo! Don't understand!
esack is offline   Reply With Quote
Old 07-10-2015, 09:00 PM   #8
esack
Member Retired
esack began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jul 2015
Device: none
What is the path set please?
esack is offline   Reply With Quote
Old 07-11-2015, 01:44 AM   #9
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,724
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by esack View Post
What is the path set please?
Simply click the Auto button in the Preferences > Plugins dialog

If you have installed the Windows version of ActivePython 2.7 the path is:
Code:
C:/Python27/python2.exe
Doitsu is offline   Reply With Quote
Old 07-11-2015, 04:50 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,625
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by esack View Post
Do you know how to upgrade an epub 2 to an epub 3 ?
If you are not using specific ePub 3 features in your eBook, than do not bother to go from ePub 2 to ePub 3. There's no reason to do so at all. Most reading programs/apps don't handle ePub 3 well.
JSWolf is offline   Reply With Quote
Old 07-11-2015, 04:52 AM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,625
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Doitsu View Post
Sigil + epub3 output plugin (plugins require Python)
Next thing we need is an easy way to go from ePub 3 > ePub 2.
JSWolf is offline   Reply With Quote
Old 07-11-2015, 09:25 AM   #12
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
Next thing we need is an easy way to go from ePub 3 > ePub 2.
Well, there's always the option of a double calibre conversion, epub (3) --> mobi --> epub. That would probably do the trick. It's probably not what you had in mind but it would qualify as 'easy'.
jackie_w is offline   Reply With Quote
Old 07-11-2015, 10:59 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,625
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jackie_w View Post
Well, there's always the option of a double calibre conversion, epub (3) --> mobi --> epub. That would probably do the trick. It's probably not what you had in mind but it would qualify as 'easy'.
Oh heck no! That's awful. It would be easier to start with ePub 2 and stick with ePub 2. Use that for the source to convert to KF8.
JSWolf is offline   Reply With Quote
Old 07-11-2015, 06:49 PM   #14
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
Oh heck no! That's awful. It would be easier to start with ePub 2 and stick with ePub 2. Use that for the source to convert to KF8.
Now you've been and gone and changed the rules! I thought my task, should I choose to accept it, was to start with an epub3 and end up with a pure epub2 with no traces of epub3
jackie_w is offline   Reply With Quote
Old 07-11-2015, 06:52 PM   #15
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,345
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
It's OK Jacki... it's written in the forum rules (somewhere) that there can not be a discussion of epub3 without Wolfie jumping up and down saying that they are useless. lol

In some ways its kinda comforting that we can always rely on him!!
Turtle91 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub Validation odedta ePub 7 12-19-2013 06:45 AM
epub 3 validation errors gdutoit ePub 3 12-02-2013 11:56 AM
Another EPUB validation error! Garyhei ePub 1 11-28-2013 12:39 AM
Epub 3 validation carl_torstensson ePub 11 02-14-2012 06:00 AM
epub validation checker bobcdy ePub 0 06-03-2011 05:31 PM


All times are GMT -4. The time now is 03:34 AM.


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