Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-13-2019, 01:15 PM   #1
Stefanie12345678
Junior Member
Stefanie12345678 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2018
Device: none
error message

Hello together

uploading the epub in smashwords always gives me those error messages. Even though when I change it into what they say is allowed it doesn't work.

First error:
Error while parsing file: attribute "align" not allowed here; expected attribute "dir", "id", "lang", "style", "title" or "xml:lang"

Than I changed tried to change "align" into "dir". Than it states:
Error while parsing file: value of attribute "dir" is invalid; must be equal to "ltr" or "rtl"

The same when I try to change "align" into "id".
and so on and so on.

What do I have to fix here?

Can anybody help?

Thank you!
Stefanie12345678 is offline   Reply With Quote
Old 03-13-2019, 02:47 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Stefanie12345678 View Post
Hello together

uploading the epub in smashwords always gives me those error messages. Even though when I change it into what they say is allowed it doesn't work.

First error:
Error while parsing file: attribute "align" not allowed here; expected attribute "dir", "id", "lang", "style", "title" or "xml:lang"

Than I changed tried to change "align" into "dir". Than it states:
Error while parsing file: value of attribute "dir" is invalid; must be equal to "ltr" or "rtl"

The same when I try to change "align" into "id".
and so on and so on.

What do I have to fix here?

Can anybody help?

Thank you!
It would be much easier if you posted a sample of your code so we could see it. How exactly are you using align? text-align? align-content? A naked align? If you are using align inside a div, that is not supported under HTML5. You would need to use CSS with text-align.

OTOH, dir is not a standalone, you need dir="rtl" for example. Changing your code at random is not going to help.
DNSB is offline   Reply With Quote
Reply

Tags
epub, error message, error while parsing


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Error communicating with device message techie6 Devices 5 04-02-2018 09:25 PM
KindleGen error message: E1003 Unknown error in class String. Doitsu Kindle Formats 1 06-25-2014 12:29 PM
Error message: "TEMPLATE ERROR Single '}' encountered in format string" frank14612 Calibre 22 07-02-2013 11:05 AM
Calibre plugIn Kindle Collections Error message "Value Error:month..." readee Plugins 4 10-10-2011 11:21 AM
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac NewDay ePub 3 10-07-2010 01:47 PM


All times are GMT -4. The time now is 07:33 AM.


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