Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-08-2011, 08:59 PM   #1
kawane
Junior Member
kawane began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2011
Device: None
Please explain ePub Validation Error

I uploaded a Word doc (created on Office for Mac) to Smashwords which converted it to an ePub. The validation generated 15 instances of this type of error:

ERROR: how-i-protect-my-stocks-with-a-put-option-hedge.epub/tmp_f3d6af0ca9a1a73b2415f33ec868d3e6_kcJC_I.ch.fix ed.fc.tidied.stylehacked.xfixed_split_003.html(349 ): attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"

Additionally, there were three of these:
ERROR: how-i-protect-my-stocks-with-a-put-option-hedge.epub: The file tmp_f3d6af0ca9a1a73b2415f33ec868d3e6_kcJC_I_html_3 d72238e.png does not appear to be of type image/png

Please help me interpret these errors and how to fix these.

Thanks in advance for your help.
kawane is offline   Reply With Quote
Advert
Old 08-08-2011, 09:27 PM   #2
st_albert
Guru
st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.
 
Posts: 612
Karma: 94420
Join Date: Feb 2010
Device: none
Unfortunately, AFAIK there is no easy way to trace smashwords induced epub errors back to the source Word document.

Search ths forum for "smashwords" or "meatgrinder" and "validation error" and you should find many threads dealing with your issue. Maybe something in one of them can help you work around the problem (which, evidently, is a meatgrinder bug, not your fault).
st_albert is offline   Reply With Quote
Old 08-09-2011, 03:50 AM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,062
Karma: 9175645
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by kawane View Post
ERROR: how-i-protect-my-stocks-with-a-put-option-hedge.epub/tmp_f3d6af0ca9a1a73b2415f33ec868d3e6_kcJC_I.ch.fix ed.fc.tidied.stylehacked.xfixed_split_003.html(349 ): attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"
The "start" attribute is used in HTML for ordered lists (<ol>), to specify the number they start from. But it is not a correct attribute in XHTML, and it is suggested to use CSS counters instead. But CSS counters are not supported in ePUB, so actually there is no way with the current ePUB specification to start a list with an index other than 1.

Fix: Open your ePUB and remove every instance of start="..." you find in the text files.

Quote:
ERROR: how-i-protect-my-stocks-with-a-put-option-hedge.epub: The file tmp_f3d6af0ca9a1a73b2415f33ec868d3e6_kcJC_I_html_3 d72238e.png does not appear to be of type image/png
Apparently, some image files' formats don't match their filenames. Those are images that are stored as JPEG or GIF or whatever, but have a name that ends in ".png" instead. This, in itself, is not a problem, there's no need for a filename to match the format, it just makes things easier for humans (and badly coded programs).

Fix save the affected .png files as PNG format with an appropriate program (Photoshop, Gimp, IrfanView...), and hope Word/Smashwords is not messing everything up.
Jellby is offline   Reply With Quote
Old 08-09-2011, 05:33 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,303
Karma: 115718815
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Jellby, the issue is that Smashwords only accept Word documents and not ePUB. It is easy enough to fix in an ePUB, but no way to get it to Smashwords. Their 'program' to convert Word to ePUB is rather messy. It generates a lot of errors and Smashwords is saying 'not our problem, solve it yourself'.

You could check whether you use ordered lists which starts at a different number and alter that in Word. Also, try to use jpg instead of png. Try an export of your word document to filtered html and see if you can open the images. Perhaps it is a jpg, but thinks it is a png.
Toxaris is offline   Reply With Quote
Old 08-09-2011, 12:44 PM   #5
kawane
Junior Member
kawane began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2011
Device: None
To all who have replied...thank you very much for your insight and recommendation. I agree that my perception of Smashwords is "not my problem." I think the easiest solution regarding the numbered list is to remove numbered lists all together and be done with it. Thank you again for your help!
kawane is offline   Reply With Quote
Advert
Old 08-09-2011, 02:25 PM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,303
Karma: 115718815
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Actually, I said that the attitude of Smashword is 'it is not our problem'. Of course you have the problem, but are probably unable to fix it due to their attitude.
Toxaris is offline   Reply With Quote
Reply

Tags
error, validation

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epub validation Error fiona86 ePub 3 06-25-2011 12:57 AM
epub validation error drwinn Workshop 17 03-22-2011 05:10 PM
epub validation error sassanik Sigil 19 12-08-2010 05:46 AM
Epub Validation Error? LadyDae ePub 6 10-29-2010 07:20 PM
ePub Validation Error mrbillb ePub 6 09-28-2010 02:14 PM


All times are GMT -4. The time now is 08:05 PM.


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