View Single Post
Old 09-09-2010, 11:28 PM   #3
mrbillb
Member
mrbillb began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Aug 2010
Device: iPad
Quote:
Originally Posted by dwanthny View Post
First the line numbers are not non-existent, but I have yet to develop mind reading skills. Any chance you might actually share the error message with us?
Here are the errors which correspond to the code shown above:

ERROR: A Visual Guide to Mastering the Digitrax Zephyr - William H. Bradley_ Loy Spurlock.epub/zephyr_split_001.html(2959): element "br" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context
ERROR: A Visual Guide to Mastering the Digitrax Zephyr - William H. Bradley_ Loy Spurlock.epub/zephyr_split_001.html(2967): element "br" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context
ERROR: A Visual Guide to Mastering the Digitrax Zephyr - William H. Bradley_ Loy Spurlock.epub/zephyr_split_001.html(3038): element "br" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context

Here are the last 4 lines of zephyr_split_001.html

2441 <p class="bodytext1 calibre10 calibre9 sgc-2"><img alt="The End" class="calibre97" src="../Images/bumping-post.jpg" /></p>
2442 </body>

Lines 2959, 2967, and 3038 do not exist in the file, which ends at line 2444. That's why I called them non-existent.

2443 </html>
2444

That being said, you missed the point of the post. I was more interested in the bogus code Calibre inserted in the file, since it is the cause of the error messages. If I use Sigil to remove the Calibre-inserted code from the epub file, the errors go away.
mrbillb is offline   Reply With Quote