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 10-17-2011, 01:45 PM   #1
loraw
lw
loraw began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2011
Device: ipad
'apos' error

Hi,
When I validate my epub file, it gives me an error
ERROR: /OEBPS/content.opf(6): Entity 'apos' is undeclared.

The only place I find 'apos' is in the content.opf file. There is an apostrophe in the title. The code is as follows:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<package xmlns="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/" unique-identifier="bookid" version="2.0">
<metadata>
<meta name="generator" content="Adobe InDesign"/>
<meta name="cover" content="x5150.png"/>
<dc:title>A Country Doctor&apos;s Journal</dc:title>

I changed it to see what would happen to this:
<dc:title>A Country Doctors Journal</dc:title>

However, I'm still getting the same error.

Does anyone know what I'm missing and how to fix it?

Thanks,
lw
loraw is offline   Reply With Quote
Advert
Old 10-17-2011, 03:25 PM   #2
loraw
lw
loraw began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2011
Device: ipad
FYI: In case anyone encounters this error, I did get to the bottom of it. In the file info. description I removed the apostrophe form the document title and author title. That solved the problem. I tried changing the code but it still gave me an error. $apos; is valid XHTML, not HTML. I tried HTML code $#39; but I still got an error.

lw
loraw is offline   Reply With Quote
Old 10-17-2011, 04:21 PM   #3
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,700
Karma: 9800372
Join Date: Dec 2010
Device: Kindle PW2
Simply replace $apos; with an actual apostrophe or a typographic apostrophe ( )
Doitsu is offline   Reply With Quote
Old 10-18-2011, 02:58 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,063
Karma: 9175645
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
In the OPF and NCX files you cannot use named entities, anyway.
Jellby 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
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
Free (Kindle) Compete, Play, Win: Finding Your Best Competitive Self by David Apos arcadata Deals, Freebies, and Resources (No Self-Promotion) 1 07-01-2011 03:19 AM
How do I prevent &apos; from replacing apostrophes? ReD Calibre 6 10-24-2010 12:16 AM
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac NewDay ePub 3 10-07-2010 01:47 PM
ERROR: Error: Error communicating with device JWood Calibre 10 04-20-2010 07:28 PM


All times are GMT -4. The time now is 12:05 PM.


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