02-08-2012, 07:31 AM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
|
Epub 3 validation
Hi,
Im trying to validate my epub3 book. I get the following error in the latest epubcheck: ERROR: korrupta.epub/OEBPS/kapitel_19.xhtml(1,1): Entity '%OEBEntities' is undeclared ERROR: korrupta.epub/OEBPS/kapitel_20.xhtml(7,52): External entities are not allowed in XML. External entity declaration found: %OEBEntities Any help? Thanks, Carl |
02-08-2012, 07:59 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Is ePubCheck already ePub3 ready?
|
Advert | |
|
02-08-2012, 08:04 AM | #3 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
|
|
02-08-2012, 01:16 PM | #4 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Yes, but I am not sure it supports ePUB3.
|
02-08-2012, 02:51 PM | #5 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
|
Im thinking that since the error I get isn't something like "... is not allowed, expected" etc, there is a correct answer. Or so I hope
|
Advert | |
|
02-08-2012, 04:15 PM | #6 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Not necessarily. If the checker is not updated for ePUB3 everything which is not according to ePUB2 will get a notion of 'not allowed' or 'not expected'.
The large possible variations of implementing stuff via ePUB3 will make it very difficult to create good checkers. |
02-08-2012, 04:51 PM | #7 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
|
As long as it is according to idpf standards it shouldn't be impossible to create a good checker. But that's another topic.
Im not the only one getting this problem: http://idpf.org/forum/topic-518 Would be great if some smart person out there could explain what is going on. Strangely enough this guy is getting the exact same problem, on the EXACT SAME LINES: (7,52) and (1,1). Messed up. Is this a bug? |
02-09-2012, 02:08 AM | #8 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Might be a bug, in that case you have to report it to the authors.
The problem with building a good checker is that the standards are ambiguous. Several items can be read/implemented in multiple manners, all correct according to the standards. Another issue is that a lot of readers (specifically iBooks) ignore standards to implement their own version of it. The addition of Javascript is, in my opinion, a downgrade just as adding audio/video is. There were enough other strange/incomplete issues with the format to solve first. |
02-12-2012, 05:25 AM | #9 | |
Guru
Posts: 927
Karma: 2143512
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
Quote:
Can you post the first view lines of your XHTML file? |
|
02-13-2012, 07:37 AM | #10 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
|
This is lines 1-8.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>De korrupta</title> <link href="template.css" rel="stylesheet" type="text/css" /> </head> <body> |
02-13-2012, 12:38 PM | #11 | |
Guru
Posts: 927
Karma: 2143512
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
|
Quote:
|
|
02-14-2012, 06:00 AM | #12 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
|
I talked to Markus at IDPF and got the answer to this riddle. The problem was that no doctypes are allowed. I removed that line and everything worked perfectly.
A bad error message thou. Needs to be reworded. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub validation Error | fiona86 | ePub | 3 | 06-25-2011 12:57 AM |
epub validation checker | bobcdy | ePub | 0 | 06-03-2011 05:31 PM |
ePub validation error | sk19.gupta | Introduce Yourself | 6 | 10-19-2010 10:53 PM |
ePub Validation Error | mrbillb | ePub | 6 | 09-28-2010 02:14 PM |