View Single Post
Old 08-03-2011, 10:18 AM   #1
gsp
Junior Member
gsp began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2011
Device: none
Reg Validate EPUB documents Errors.

Hi,

I converted pdf to EPUB using this tool ('http://calibre-ebook.com/about').

Our goal is to make the pdf file readable in eReader devices.

When checked the EPUB file in 'http://threepress.org/document/epub-validate/' below errors appear

These errors are different for different files.

Kindly advice to clear


ERROR: Sample_epub.epub: length of first filename in archive must be 8, but was 9
ERROR: Sample_epub.epub/OPS/page-001.html(6): attribute "bgcolor" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"
ERROR: Sample_epub.epub/OPS/page-001.html(7): element "body" incomplete; expected element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", "p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")
ERROR: Sample_epub.epub/OPS/page-002.html(6): attribute "bgcolor" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"
ERROR: Sample_epub.epub/OPS/page-003.html(6): attribute "bgcolor" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"
ERROR: Sample_epub.epub/OPS/page-004.html(6): attribute "bgcolor" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"
ERROR: Sample_epub.epub/OPS/page-005.html(6): attribute "bgcolor" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"
ERROR: Sample_epub.epub/OPS/page-006.html(6): attribute "bgcolor" not allowed here; expected attribute "class", "dir", "id", "style", "title" or "xml:lang"
WARNING: Sample_epub.epub: zip file contains empty directory OPS/images/
Check finished with warnings or errors!

Thank You
gsp is offline   Reply With Quote