|
|
#1 |
|
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Dec 2010
Device: Nook
|
Error opening EPUB
This page contains the following errors: error on line 11 at column 99: Opening and ending tag mismatch. Below is a rendering of the page up to the first error. I can open it fine on my Nook and with Adobe Digital Editions... How can I troublehsoot this? John |
|
|
|
|
|
#2 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Do an epub to epub conversion that will most likely fix the tag mismatch automatically.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Dec 2010
Device: Nook
|
If I do an epub to to epub conversion, what will that change? I just want to make sure that the files won't be modified, etc. I guess I don't understand why I am changing the file to make calibre read it, when everything else reads it... wouldn't that point to a software issue and not a book issue?
Also, since I have a ton of books, is there a way to figure out which ones I have to run this on, without having to open each one up? |
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,584
Karma: 549131
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (stanza/iBooks/QuickReader)
|
I think you will find that the file is technically invalid (which is what Calibre is complaining about). It is highly likely that the other software you are trying is silently ignoring the error.
We would need more detail on the error and the part of the epub file that Calibre is complaining about to be certain.
__________________
Calibre2opds: Calibre library as a web site - the popular alternative to the Calibre Content Server CLOUD SERVICES: Dropbox: Use this link to sign up for a free Dropbox account and both of us get an extra 500MB free space. Megacloud: Use this link to sign up for a free MegaCloud account and both of us get an extra 500MB free space. Copy.com: Use this link to sign up for a free Copy.com account and both of us get an extra 5GB free space. Last edited by itimpi; 02-18-2013 at 06:12 AM. |
|
|
|
|
|
#5 |
|
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Dec 2010
Device: Nook
|
The error that occurs says:
This page contains the following errors: error on line 11 at column 99: Opening and ending tag mismatch. Below is a rendering of the page up to the first error. After that, the book looks intact. |
|
|
|
|
|
#6 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,690
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
BTW line 11 is almost always a header line (before <body>)
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#7 |
|
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Apr 2012
Device: Nook Simple Touch
|
I believe I've been seeing the same thing as the OP. I don't read in calibre, and I don't get the error anywhere else, so I've pretty much just been ignoring it so far.
But I can tell you it started with either version 0.9.7 or 0.9.8. Books that had shown no errors before that started showing the error when viewed in those versions and later--and it's a LOT of books, all from retail copies. It's always on the cover page. Epubcheck it says they validate, fwiw. Here's an example. I don't really know what to look for as far as problems. Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en-gb"> <head> <title>A Book Title</title> <link href="../styles/0000000000000.css" rel="stylesheet" type="text/css"/> <meta content="urn:uuid:00000000-0000-0000-0000-000000000000" name="Adept.expected.resource"/> </head> <body> <div> <svg:svg viewBox="0 0 1243 1600"> <svg:image height="1600" transform="translate(0 0)" width="1243" xlink:href="../images/0000000000000.jpg"/> </svg:svg> </div> </body> </html> |
|
|
|
|
|
#8 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,690
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
Code:
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 316 477" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="477" width="316" xlink:href="../Images/cover.jpeg"></image>
</svg>
I don't know if the (colored red) colon syntax is valid SVG
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#9 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,205
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
Or it could be a bug in QT4.
__________________
|
|
|
|
|
|
#10 |
|
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Apr 2012
Device: Nook Simple Touch
|
I'm not sure what this means. Do you mean what's seen in the book I posted? I never said anything about a calibre conversion, I said it's a retail book. Or do you mean if I DID do a calibre conversion on it, then it would look like the second, valid example?
Either way, I have no interest in converting anything, especially since I don't have a problem with them outside of calibre's reader. Just trying to add some additional info to what the OP offered--particularly the fact that these same books (hundreds of them) were fine in previous versions of calibre, with nothing else having changed. |
|
|
|
|
|
#11 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quoting form the whats new page for 0.9.20:
E-book viewer: When viewing EPUB files, do not parse html as xhtml even if it has svg tags embedded. This allows malformed XHTML files to still be viewed.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#12 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Pierre Menard: If you want to see everything wrong about that markup, use http://validator.w3.org/#validate_by_input
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#13 | |
|
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Dec 2010
Device: Nook
|
Quote:
Kovid - Does this mean that valid books showing errors is a new feature with .9.20? I am not trying to be sarcastic, just trying to figure out if books that are good everywhere else that now show an error in Calibre was done deliberately. because it sounds like now that malformed XHTML files can be viewed, good books show an error. |
|
|
|
|
|
|
#14 | |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,307
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
Quote:
Kovid also added this fix that will be out with 0.9.21, unsure if it applies to this thread.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. Last edited by DoctorOhh; 02-23-2013 at 07:59 PM. |
|
|
|
|
|
|
#15 | |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with Apple error - ERROR ITMS-9000: ".epub: wrong namespace in filename.epub fil | muzammil | ePub | 1 | 11-30-2012 05:25 AM |
| Error Opening epub | chrisparker | Sigil | 2 | 11-23-2011 07:08 AM |
| PRS-650 Exclamation Point error opening epub book | TimeTraveler | Sony Reader | 3 | 02-15-2011 10:38 PM |
| 0.3.2 Opening Error | soulartist | Sigil | 9 | 12-01-2010 08:03 AM |
| Error opening epub for view | bob301 | Calibre | 2 | 01-10-2010 11:45 PM |