View Single Post
Old 08-09-2011, 10:58 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,128
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by dejiridoo View Post
Hi,

I created a PRC file from Mobipocket Creator and kept the original HTML file.

When I converted the HTML file to EPUB on Calibre, the Epub file opened just fine on the Calibre reader and on the Adobe reader. However, Lulu would not accept the file. Also, the validator at http://www.threepress.org/document/epub-validate/ showed that there were several errors. (Error pasted at bottom of post... just a few, they repeat.)



I tried the same thing when converting from PRC to EPUB with the same results. I would appreciate any help. I can do basic HTML and I have uploaded books onto the Kindle successfully.

I would appreciate any help!

Here is the error:
ERROR: Bathing with Perlemoen August v6 - Unknown.epub/Bathing_with-moen_August_v6_split_000.html(9): element "br" not allowed here; expected the element end-tag or 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: Bathing with Perlemoen August v6 - Unknown.epub/Bathing_with-moen_August_v6_split_000.html(9): element "br" not allowed here; expected the element end-tag or 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")
First off: Many browser are quite tolerant of malformed code

That error say you have 2 @ <br />
that are not placed properly (must be inside one of the listed tags)
Example
Code:
<p>Stuff <br />More stuff</p>
theducks is offline   Reply With Quote