Hi all. I’m developing an epub3 ebook. It’s model validates in http://validator.idpf.org/ and renders all right in my PC ebook readers. However one of its HTML files reports an error on my Android ebook reader:
error on line 37 at column 8: Opening and ending tag mismatch: Meta line 0 and head.
<item href="Text/myScriptedFile.xhtml" id=" myScriptedFile.xhtml" media-type="application/xhtml+xml"/>
And I had to modify it to get its content this way.
<item href="Text/ myScriptedFile.xhtml" id=" myScriptedFile.xhtml" media-type="application/xhtml+xml" properties="scripted"/>
It can be said now that this modification gets my file validated but causes the Android ereader to crash and show the error described above. But the properties=”scripted” declaration is mandatory according to the epub3 standard and I think it’s properly set. So I have temporarily looked back to the scripted HTML that produces the error.
On doing this I’ve begun looking for a parsing error caused by a mislead interpretation of the scripting (as the opening ending mismatch in the error message and its triggering in the opf file suggested to me there could lay the problem). However, after some successive simplifications of the HTML code I’ve come to left just this in the xhtml file:
Just to discover that… ¡¡¡¡The error message is still there!!!! (Now saying “error on line 6 at column 8: Opening an ending tag mismatch: Meta line 0 and head.)
I feel now completely lost. There seems to be no possible syntax error in such a simple code, but, at the same time, the item line in the opf file seems right. Maybe the problem is in another part of the epub package, but I can’t even imagine where.
I hope there’s anyone able to help me out of this trouble.
Thanks in advance for it.