Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-10-2018, 12:31 PM   #1
miss mary
Junior Member
miss mary began at the beginning.
 
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.
miss mary is offline   Reply With Quote
Old 02-10-2018, 12:54 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
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
KevinH is offline   Reply With Quote
Advert
Old 02-10-2018, 07:20 PM   #3
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
So you have code somewhere that looks along these lines:

Quote:
<p>This is some <span dir="gibberish">invalid</span> code.</p>
If you get rid of the dir, you should get this:

Quote:
<p>This is some <span>valid</span> code.</p>
Side Note: dir is used for saying if the text is left-to-right (like English), or right-to-left (like Hebrew).

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.
Tex2002ans is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 05:22 AM.


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