08-19-2009, 03:29 PM | #16 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
08-19-2009, 04:05 PM | #17 |
creator of calibre
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Advert | |
|
08-20-2009, 03:43 AM | #18 | |
Guru
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Quote:
Also, get back from the academic paradise to the real world. As Kovid said, most sources are not valid XHTML. The conversion process then must decide whether it will be strict or whether it will be usable (consider what would happen to a web browser which refused to render invalid pages!). |
|
08-20-2009, 05:30 AM | #19 | |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
In practice, I guess you could add a flag to "force ePUB compliance" or issue a warning if the generated ePUB is non-compliant. I'm still an idealist, and think that we should press Adobe to make their reader standards-compliant and hope that other companies, groups or individuals develop independent standards-compliant ePUB readers. Then, when it comes to convincing someone to fix a bug in their readers, it's probably better to say "it does not work with this standards-compliant files" than "it does not work with this file that happens to work in ADE". |
|
08-20-2009, 06:10 AM | #20 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
Advert | |
|
08-20-2009, 06:18 AM | #21 | |
Liseuse Lover
Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
|
Quote:
That said, I agree with you in principle but not in practice *yes, I know the difference between internet and WWW. I just don't care* Last edited by acidzebra; 08-20-2009 at 06:24 AM. |
|
08-20-2009, 10:39 AM | #22 |
creator of calibre
Posts: 43,771
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Jellby: There's a lot more to valid XHTML than just closed tags. Closed tags are needed for valid XML (and calibre does close all tags). In fact I'm pretty sure calibre will take arbitrarily bad input HTML and return valid XML, though not valid XHTML.
|
08-20-2009, 10:49 AM | #23 | |
Resident Curmudgeon
Posts: 73,645
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
08-20-2009, 12:09 PM | #24 |
Guru
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
|
10-30-2009, 09:04 AM | #25 |
Connoisseur
Posts: 87
Karma: 50000
Join Date: Oct 2009
Device: none
|
Seems that the creator of this thread didn't have answer for his/her problem and I didn't find any other threads from the whole forums with this topic.
When I run my epub file through the epubchecker, I get this warning: ERROR: book.epub/OEBPS/content.opf(9): unfinished element I checked every element in opf file and every one of them is closed. I also compared with other epub books (e.g. Project Gutenberg) and didn't find any significant difference. I exported this e-book from InDesign book file. What could be the problem? My ebook works perfectly in Digital Editions and Sony PRS-505 but I'm still curious to know what causes the error. |
10-30-2009, 09:13 AM | #26 | |
Exwyzeeologist
Posts: 535
Karma: 3261
Join Date: Jun 2009
Device: :PRS-505::iPod touch:
|
Quote:
|
|
10-30-2009, 09:19 AM | #27 |
Connoisseur
Posts: 87
Karma: 50000
Join Date: Oct 2009
Device: none
|
What founds from my 9th line is:
</metadata> and it's closing tag for line 3: <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"> Can't see what's the problem. Inside this element are those <dc:title>blaa</dc:title> and all of them are properly tagged as well. Could it be that I'm missing some important attributes in my metadata element? |
10-30-2009, 09:50 AM | #28 |
Exwyzeeologist
Posts: 535
Karma: 3261
Join Date: Jun 2009
Device: :PRS-505::iPod touch:
|
Hmm. Try deleting that line and rekeying it. There might be a weird line break character or something that the validator doesn't like. Otherwise, without seeing the file I don't know. Is it something you can upload here?
|
10-30-2009, 11:36 AM | #29 | |
The Grand Mouse 高貴的老鼠
Posts: 71,406
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Unfinished element doesn't indicate that the element is unclosed, but that it is missing required sub-elements or attributes.
You probably need to specify some more metadata to be valid. Quote:
|
|
10-30-2009, 11:47 AM | #30 | |
Chocolate Grasshopper ...
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
Quote:
I get similar errors on a cover image I have - like you there is nothing obviously wrong with the line in question. Mind you, ADE will display it but only with the qualifier (this file may not display properly). (Have same errors with books generated via Sigil - so one wonders about ePubcheck itself). |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epubcheck, any software can pass its validiation check? | droople | ePub | 96 | 08-16-2011 01:38 PM |
epub - force a 2nd pass to improve structure detection ? | cybmole | Calibre | 10 | 10-08-2010 01:00 AM |
errors after epub check | ericp20 | Sigil | 2 | 06-13-2010 10:40 AM |
epub check mentiones an error | NASCARaddicted | Calibre | 13 | 02-15-2010 09:50 AM |
ePub Corrections Check - Help. | nboshart | ePub | 3 | 10-01-2009 04:25 PM |