Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2012, 07:31 AM   #1
carl_torstensson
Junior Member
carl_torstensson began at the beginning.
 
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
carl_torstensson is offline   Reply With Quote
Old 02-08-2012, 07:59 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Is ePubCheck already ePub3 ready?
Toxaris is offline   Reply With Quote
Advert
Old 02-08-2012, 08:04 AM   #3
carl_torstensson
Junior Member
carl_torstensson began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2012
Location: Sweden
Device: iPad
Im using epubcheck-3.0b4

http://code.google.com/p/epubcheck/
carl_torstensson is offline   Reply With Quote
Old 02-08-2012, 01:16 PM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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.
Toxaris is offline   Reply With Quote
Old 02-08-2012, 02:51 PM   #5
carl_torstensson
Junior Member
carl_torstensson began at the beginning.
 
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
carl_torstensson is offline   Reply With Quote
Advert
Old 02-08-2012, 04:15 PM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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.
Toxaris is offline   Reply With Quote
Old 02-08-2012, 04:51 PM   #7
carl_torstensson
Junior Member
carl_torstensson began at the beginning.
 
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?
carl_torstensson is offline   Reply With Quote
Old 02-09-2012, 02:08 AM   #8
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
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.
Toxaris is offline   Reply With Quote
Old 02-12-2012, 05:25 AM   #9
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 927
Karma: 2143512
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
Quote:
Originally Posted by carl_torstensson View Post
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
It sounds like you're trying to use an internal DTD subset in your XHTML files. Is that permitted in epub3? Is that DTD subset valid?

Can you post the first view lines of your XHTML file?
chrisridd is offline   Reply With Quote
Old 02-13-2012, 07:37 AM   #10
carl_torstensson
Junior Member
carl_torstensson began at the beginning.
 
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>
carl_torstensson is offline   Reply With Quote
Old 02-13-2012, 12:38 PM   #11
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 927
Karma: 2143512
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, Marvin 3
Quote:
Originally Posted by carl_torstensson View Post
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>
Well there's definitely nothing like %OEBEntities there, so I reckon your files are not at fault and the problems in the checker.
chrisridd is offline   Reply With Quote
Old 02-14-2012, 06:00 AM   #12
carl_torstensson
Junior Member
carl_torstensson began at the beginning.
 
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.
carl_torstensson is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 07:57 PM.


MobileRead.com is a privately owned, operated and funded community.