![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2013
Device: kindle
|
Errors from IDPF Epub Validator
Hi I am trying to upload by ebook epub file that I made in Sigil to Draft2Digital and they tell me my book has the following errors
ERROR OEBPS/Text/Dedication.html 17 30 Error while parsing file 'value of attribute "dir" is invalid; must be equal to "ltr" or "rtl"'. ERROR OEBPS/Text/Acknowledgements.html 17 30 Error while parsing file 'value of attribute "dir" is invalid; must be equal to "ltr" or "rtl"'. ERROR OEBPS/Text/Introduction.html 17 30 Error while parsing file 'value of attribute "dir" is invalid; must be equal to "ltr" or "rtl"'. ERROR OEBPS/Text/Chapter1.html 17 30 Error while parsing file 'value of attribute "dir" is invalid; must be equal to "ltr" or "rtl"'. ERROR OEBPS/Text/Chapter2.html 17 30 Error while parsing file 'value of attribute "dir" is invalid; must be equal to "ltr" or "rtl"'. ERROR OEBPS/Text/Chapter3.html 17 30 Error while parsing file 'value of attribute "dir" is invalid; must be equal to "ltr" or "rtl"'. Would appreciate some help with this. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,759
Karma: 5706256
Join Date: Nov 2009
Device: many
|
Yes, the error says you have added (or previously existed) xhtml tags that have an attribute called "dir" and that attribute if needed at all should only have one of two directions: ltr (text goes left to right) or rtl (text goes right to left). The 17 indicates the line number and 30 is the column number in that file to look at to see the problem attribute.
Unless you really have an ebook with text that reads right-to-left, I would remove that dir attribute completely for those tags. This can be easily accomplished in CodeView |
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
So you have code somewhere that looks along these lines:
Quote:
Quote:
But as KevinH said, it probably is best to just remove it unless you are writing Hebrew/Arabic. Last edited by Tex2002ans; 02-10-2018 at 07:26 PM. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUB Validator Persistent Errors | johnarthurnichol | ePub | 6 | 01-24-2018 11:13 AM |
Epub validator errors / ePub 3 | 2manymovies | Workshop | 6 | 05-06-2017 09:42 AM |
Errors Galore! Validator | oiver55 | Sigil | 32 | 04-16-2015 10:44 AM |
Clean conversion BUT many errors in Epub Validator | Peerie | Conversion | 3 | 12-29-2014 08:28 PM |
Epub Validator Errors for iBooks Producer | tcorsonk | ePub | 0 | 06-11-2014 05:10 PM |