Quote:
Originally Posted by jackie_w
I don't know what the following attributes are supposed to do or how they got there. Perhaps artifacts from a word-processor (???) if that's where you create your original source documents.
Code:
link="#000080" vlink="#800000"
If you don't know either then I'd think it's safe to just delete them. 
|
On the money again, these must have been left over from when I converted the ODT file to HTML as the basis for the EPUB. I can confirm that it's perfectly fine to just delete the mentioned entries and it doesn't impact the book at all.
After making the necessary tweaks, the book passed Smashword's EPUBcheck.
Why they have these requirements I can't fathom, but I have a way to work around them now. Thank you very much for your help, I was starting to think I might have to stop distributing there.
Just in case anyone else comes across the same issue, here's a summary of what went wrong and how I was able to resolve it.
Problem: EPUBcheck looks for XHTML file extensions and doesn't find them.
Solution: Export the EPUB as version 2 instead of version 3, bypassing the XHTML requirement.
Problem: EPUBcheck gives the error "Error while parsing file: attribute "link" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"
Solution: These links are artifacts left over from the document conversion process and the offending entries can simply be deleted.