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, 08: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, 08: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: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Is ePubCheck already ePub3 ready?
Toxaris is offline   Reply With Quote
 
Advertisement
Old 02-08-2012, 09: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, 02: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: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Yes, but I am not sure it supports ePUB3.
Toxaris is offline   Reply With Quote
Old 02-08-2012, 03: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
Old 02-08-2012, 05: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: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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, 05: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, 03: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: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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, 06:25 AM   #9
chrisridd
Addict
chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.
 
chrisridd's Avatar
 
Posts: 276
Karma: 56114
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Sony PRS-T1 (dead)
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, 08: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, 01:38 PM   #11
chrisridd
Addict
chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.chrisridd actually enjoys Vogon poetry.
 
chrisridd's Avatar
 
Posts: 276
Karma: 56114
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Sony PRS-T1 (dead)
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, 07: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 01:57 AM
epub validation checker bobcdy ePub 0 06-03-2011 06:31 PM
ePub validation error sk19.gupta Introduce Yourself 6 10-19-2010 11:53 PM
ePub Validation Error mrbillb ePub 6 09-28-2010 03:14 PM


All times are GMT -4. The time now is 04:25 PM.


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