View Full Version : epub validation error


adetutuijose
01-09-2012, 08:23 PM
What does this mean and how do I resolve it

use.epub/tmp_f6b1db682aad3f280a5091c997dbbdcf_fUz_e8.ch.fix ed.fc.tidied.stylehacked.xfixed_split_000.html(564 ): attribute "start" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"

How do I locate the line 564. What is 'start" attribute it is objecting to and what are attributes"class", "dir", "style" that it says are okay

This error is from the valiation tool http://threepress.org/document/epub-validate.
The original text is a book uploaded to smashword.com

Thanks for helping

Jim Lester
01-10-2012, 01:38 AM
There is a problem with an HTML file inside your epub:

use.epub/tmp_f6b1db682aad3f280a5091c997dbbdcf_fUz_e8.ch.fix ed.fc.tidied.stylehacked.xfixed_split_000.html

The validator indicated that it is on line 564. It would help diagnosis if you could post the content around line 564 of that file.

(it would help even more if people just did not use the meatgrinder to generate ePubs, but that's a whole separate issue).

Toxaris
01-10-2012, 04:31 AM
My guess... You are using a numbered list and did not start at number 1.

adetutuijose
01-10-2012, 05:06 PM
This is what lines 561 to 565 says:

...... during computer use. I no longer have dry eyes. Occasionally I still spray the mist though I really no longer need to.

Eyes and Computer Use Induced Chemical Imbalance
A second issue that arises from the drying of the skin around the eyes and resultant malfunction .........

Line 564 is the line tat reads as folows:
Eyes and Computer Use Induced Chemical Imbalance

It is in bold print and is actually the heading of a new paragraph in my book "Eyes Vision and Computer Use: How to Protect Yourself from Technology Use Induced Harm" That is available in print at amazon.com and in ebook for kindle and nook. I am trying to make it available in ipad, sony, diesel and kobo too

I wrote it in Microsoft Word and uploaded unto smashwords.

I have checked it in the epub reader and the whole book including line 564 all looks perfect.

I am at a loss as to what the problem is. This is the 10th book I will be uploading to epub and I am at a loss as to why there is this error this time.

Can anyone explain it to me so I can get this book to everyone so they can obtain the information they need to protect themselves in the technology driven age we are in.

Thanks

Toxaris
01-11-2012, 03:57 AM
Complain to Smashwords. Their Meatgrinder program is really crappy and you have no way to change that.
We can try to help though. Can you give the lines around 564 in the HTML file? So not the text, but the actual HTML. That might give a clue.

chrisridd
01-11-2012, 03:41 PM
IIRC clicking on an error displayed by Sigil's error checker will take you to the source of the problem.

JSWolf
01-11-2012, 05:01 PM
(it would help even more if people just did not use the meatgrinder to generate ePubs, but that's a whole separate issue).

Actually, it seems that Smashwords doesn't give a crap about anyone. Being able to upload already created ePub is the number one request from authors and users and yet they continually ignore this. That is why I do not buy books from Smashwords as the code in the ePub they sell is garbage.

Using Word and then converting it to ePub without cleaning up the mess is poor form. Charging money for this is even poorer form.

JSWolf
01-11-2012, 05:03 PM
Complain to Smashwords. Their Meatgrinder program is really crappy and you have no way to change that.
We can try to help though. Can you give the lines around 564 in the HTML file? So not the text, but the actual HTML. That might give a clue.

It may not matter what the ePub code looks like as it can't be fixed. It has to be fixed in Word and then meatground again. Way to go Smashwords. You've screwed up yet another eBook and confused yet another author.

Toxaris
01-12-2012, 03:12 AM
It may not matter what the ePub code looks like as it can't be fixed. It has to be fixed in Word and then meatground again. Way to go Smashwords. You've screwed up yet another eBook and confused yet another author.

Well, it does matter. It might give a clue what is going on in the Word document so it can be fixed there.

I totally agree with you and am boycotting Smashwords. They have a total disregard for the readers and authors.

adetutuijose
01-13-2012, 05:06 PM
Does anyone have the link to sigil's epub checker. I wilL like to access the code so you guys can assist me further. Thanks

chrisridd
01-13-2012, 05:11 PM
Does anyone have the link to sigil's epub checker. I wilL like to access the code so you guys can assist me further. Thanks

The program (and source code) is at http://code.google.com/p/sigil/.

Just open your epub file in Sigil and choose the menu Tools > Validate ePub.

AlexBell
01-14-2012, 03:44 AM
It's also available as a stand alone package - FlightCrew - for those of us who don't use Sigil.

JSWolf
01-14-2012, 11:05 PM
It's also available as a stand alone package - FlightCrew - for those of us who don't use Sigil.

Or don't always use Sigil.