Post by idiotprogrammer on Feb 28, 2013 18:10:24 GMT -8
Today I uploaded my first epub file directly to smashwords and got a rude surprise. It didn't validate!
Well, Smashwords says it doesn't validate, when in fact the official idpf site says that the epub file does validate.
When I validated from idpf.org , I get this message:
******************************
Well, Smashwords says it doesn't validate, when in fact the official idpf site says that the epub file does validate.
When I validated from idpf.org , I get this message:
******************************
<wbr>******************************<wbr>**
Results
Detected version: EPUB 3.0
Results: Congratulations! No problems were found in sphinx-smashwords.epub.
Validated using EpubCheck version 3.0.
******************************<wbr>***********
In fact, even though it's epub 3.0, I don't use any features specific
to 3.0. Also, epubcheck 3.0 validates epub2 and epub3 files, and it's
the latest and most accurate validator.
In fact, I can verify that my epub file works perfectly on Apple ipad 1. BN, Amazon and ibooks support epub3 in a minimal way. by that, I mean that the devices are capable of reading the file and even if they don't support all epub3 features, they are at least capable of reading the file and ignoring the epub3 code.
However, Smashwords gave me this validation error. That tells me that
Smashwords is using an outdated epubcheck validator. Does Smashwords plan to use a better epub validator?
******************************<wbr>****
Thank you for uploading an EPUB for your book, 'Interview with the
Sphinx', via Smashwords Direct.
We have run EPUBcheck on your file, and unfortunately, it has not
passed validation. The errors found were:
attribute "lang" from namespace "www.w3.org/XML/1998/<wbr>namespace"
not allowed at this point; ignored
attribute "properties" not allowed at this point; ignored (repeats 2 times)
attribute "property" not allowed at this point; ignored (repeats 10 times)
attribute "type" from namespace "www.idpf.org/2007/ops" not
allowed at this point; ignored (repeats 50 times)
bad value for attribute "version"
required attributes missing (repeats 11 times)
text not allowed here (repeats 10 times)
unfinished element (repeats 6 times)
unknown element "footer" from namespace "www.w3.org/1999/xhtml"
(repeats 8 times)
unknown element "header" from namespace "www.w3.org/1999/xhtml"
(repeats 8 times)
unknown element "nav" from namespace "www.w3.org/1999/xhtml"
unknown element "section" from namespace
"www.w3.org/1999/xhtml" (repeats 6 times)
Please correct these issues and upload your file again. (Be sure to
use the 'Upload new version' option from your Dashboard.)
******************************<wbr>********
Results
Detected version: EPUB 3.0
Results: Congratulations! No problems were found in sphinx-smashwords.epub.
Validated using EpubCheck version 3.0.
******************************<wbr>***********
In fact, even though it's epub 3.0, I don't use any features specific
to 3.0. Also, epubcheck 3.0 validates epub2 and epub3 files, and it's
the latest and most accurate validator.
In fact, I can verify that my epub file works perfectly on Apple ipad 1. BN, Amazon and ibooks support epub3 in a minimal way. by that, I mean that the devices are capable of reading the file and even if they don't support all epub3 features, they are at least capable of reading the file and ignoring the epub3 code.
However, Smashwords gave me this validation error. That tells me that
Smashwords is using an outdated epubcheck validator. Does Smashwords plan to use a better epub validator?
******************************<wbr>****
Thank you for uploading an EPUB for your book, 'Interview with the
Sphinx', via Smashwords Direct.
We have run EPUBcheck on your file, and unfortunately, it has not
passed validation. The errors found were:
attribute "lang" from namespace "www.w3.org/XML/1998/<wbr>namespace"
not allowed at this point; ignored
attribute "properties" not allowed at this point; ignored (repeats 2 times)
attribute "property" not allowed at this point; ignored (repeats 10 times)
attribute "type" from namespace "www.idpf.org/2007/ops" not
allowed at this point; ignored (repeats 50 times)
bad value for attribute "version"
required attributes missing (repeats 11 times)
text not allowed here (repeats 10 times)
unfinished element (repeats 6 times)
unknown element "footer" from namespace "www.w3.org/1999/xhtml"
(repeats 8 times)
unknown element "header" from namespace "www.w3.org/1999/xhtml"
(repeats 8 times)
unknown element "nav" from namespace "www.w3.org/1999/xhtml"
unknown element "section" from namespace
"www.w3.org/1999/xhtml" (repeats 6 times)
Please correct these issues and upload your file again. (Be sure to
use the 'Upload new version' option from your Dashboard.)
******************************<wbr>********