View Single Post
Old 03-21-2011, 04:17 AM   #7
DMSmillie
Enquiring Mind
DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'
 
DMSmillie's Avatar
 
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
Glad to see you got the first error(s) sorted out successfully.

Quote:
Originally Posted by drwinn View Post
ERROR: miller_cross_purposes.epub/toc.ncx (line 78):

The value of attribute "src" associated with an element type "null" must not contain the '<' character.

This is what is on line 77/78 in the toc.ncx
<content src="Cross_Purposes_NOOK_final_32011.html/>
</navPoint>
OK... this is a simple typo error - there's a missing double quote character after "32011.html". At the moment, the parser is reading the closing "/>" and then the opening "<" from "</navPoint>" as part of the "src" value. So it should read:

Code:
<content src="Cross_Purposes_NOOK_final_32011.html"/>
</navPoint>
Quote:
Originally Posted by drwinn View Post
ERROR: miller_cross_purposes.epub/Cross_Purposes_NOOK_final_32011.html: Malformed byte sequence: Invalid byte 1 of 1-byte UTF-8 sequence. Check encoding

what does "check encoding" mean in the last one. I'm a newbie to ePub stuff.
It's not specifically an EPUB thing. It's referring to the character encoding in the HTML file.

It looks like the file contains a declaration that it's UTF-8, either in an XML declaration at the start of the file:

Code:
<?xml version="1.0" encoding="UTF-8"?>
or in a META tag:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- but whatever text/HTML editor last saved the file was set to use a different character encoding (most likely "Windows-1252" or "ISO-8859-1"). You need to check the settings in your text/HTML editor to ensure it's set to save the file using "UTF-8" character encoding. The help files in whatever editor you're using should hopefully provide some further info on this if you search for "character encoding".
DMSmillie is offline   Reply With Quote