View Full Version : ePub Errors


mrbillb
08-11-2010, 09:14 PM
I am getting these two error messages when I verify my ePub file at Threepress Consulting:

ERROR: zephyr.epub/OEBPS/content.opf(6): unfinished element
ERROR: zephyr.epub/OEBPS/Text/zephyr.htm(2860): attribute "name" not allowed at this point; ignored
Check finished with warnings or errors!

I have checked around both line numbers and cannot find the problem. In addition, I have checked all instances of the "name" attribute and do not recognize an error.

What do you recommend?

charleski
08-11-2010, 09:24 PM
The first error is because you left something essential out of your metadata, you need the title, author and language.
The second error most likely means you have an anchor tag with both id and name attributes (e.g. <a name="foo" id="foo>). Delete the name attribute, it's deprecated in xhtml on <a> tags and you should only use id.