|08-15-2010, 08:13 AM||#1|
Join Date: Aug 2010
Epub validation problem
I converted a .doc file to html and then converted it to epub format through Calibre. Then i ran it through the threepress.org validation but it's not passing it.
It is giving the following errors:
1.ERROR: infernal - Unknown.epub/content.opf(9): date value '2010-08-15T10:52:36.601000+00:00' is not valid, YYYY[-MM[-DD]] expected
2.ERROR: infernal - Unknown.epub/infernal.htm(38): attribute "link" not allowed at this point; ignored
3.ERROR: infernal - Unknown.epub/infernal.htm(38): attribute "vlink" not allowed at this point; ignored
4.ERROR: infernal - Unknown.epub/infernal.htm(42): attribute "lang" not allowed at this point; ignored
5.ERROR: infernal - Unknown.epub/infernal.htm(44): element "p" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context
6.ERROR: infernal - Unknown.epub/infernal.htm(612): attribute "name" not allowed at this point; ignored
ERROR number 4, 5 and 6 are recurring!
Urgent solution required..
|08-15-2010, 09:37 AM||#2|
Join Date: Sep 2009
Most of your problems are caused by differences between html and xhtml - epub uses xhtml. The easiest way to convert .doc files is to use Atlantis Word Processor, but it's not free. Alternative free solutions are to use the Open Office plugin that's listed in the sticky or to import the html into Sigil.
1) This is a bug in epubcheck itself, but to resolve it just edit the metadata value for the date entry in the opf file so it fits the YYYY[-MM[-DD]] format.
2) 3) 4) Just remove the offending attributes from the xhtml.
5) Hard to say without seeing the file, but this is commonly caused by p tags being nested. Check the structure of the code.
6) Name attributes are deprecated in <a> tags, use id instead.
|08-15-2010, 11:56 AM||#3|
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
The p element could also be a problem of upper- and lowercase mixup between element names.
|calibre, epub, epub validation, validation|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|ePub validation problems||robcub||ePub||12||02-04-2011 06:04 AM|
|ePub validation error||sk19.gupta||Introduce Yourself||6||10-19-2010 11:53 PM|
|ePub Validation Problem||rlarrett||ePub||14||10-07-2010 02:06 AM|
|ePub Validation Error||mrbillb||ePub||6||09-28-2010 03:14 PM|
|Epub Validation Problems||crestfalleen||Calibre||6||08-02-2010 10:43 PM|