10-22-2011, 12:27 PM | #1 |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
epubcheck: attribute "page-map" not allowed here error message
I experimented with Adobe's pagemap extension and created a small test epub based on the information in the Mobileread Wiki. The page numbers display fine in ADE, but ADE tells me that "The document appears to have minor errors that might cause it to be displayed incorrectly" and when I tested the epub with the online EPUB validator and I got only the following error message:
ERROR: test.epub/OEBPS/content.opf(21): attribute "page-map" not allowed here; expected attribute "id" or "toc" The corresponding line in content.opf is: <spine page-map="map" toc="ncx"> and map has been defined in content.opf as: <item id="map" href="page-map.xml" media-type="application/oebps-page-map+xml"/> I know that "page-map" is an Adobe specific proprietary extension and I'm therefore not completely surprised that epubcheck reported an error, however, what puzzles me is that ADE reports an error, too. After all, ADE is an Adobe product and shouldn't have any problems with Adobe's own ePub extensions. I wondering if it's possible to create epubs with hard-coded page numbers that will pass epubcheck? |
10-23-2011, 03:27 AM | #2 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Are you sure the "minor errors" are related to the page-map? They could be anywhere else.
|
Advert | |
|
10-23-2011, 03:59 AM | #3 |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Yes. I created the page-map based on the information in the Wiki, all page numbers appear exactly where they should be and epbucheck reported no other errors whatsoever.
Can anybody point me to a page-map based sample epub that'll pass epubcheck or can there be no such thing? |
10-23-2011, 07:25 AM | #4 | ||
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
|
||
10-24-2011, 04:22 PM | #5 | |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
p.newsectioninitial:first-letter { font-size:161.8%; font-weight: bold; } |
|
Advert | |
|
10-27-2011, 08:51 PM | #6 | |
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:
Code:
p. newsectioninitialfirstletter{ font-size: 161.8%; font-weight: bold; line-height: 0 } |
|
Tags |
ade, epub extensions, epubcheck, errors, page-map |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre plugIn Kindle Collections Error message "Value Error:month..." | readee | Plugins | 4 | 10-10-2011 11:21 AM |
Value of Attribute "Class" is Invalid Error | TFaire | ePub | 2 | 09-23-2011 11:25 AM |
attribute "scheme" from namespace error in epubcheck 1.0.5 | thunderune | ePub | 15 | 06-30-2011 10:57 AM |
"Content is not allowed in prolog." - Enhanced Epub Error Help? | AmpedUpDigital | ePub | 2 | 05-03-2011 11:38 AM |
re-map an easier "next page" button ? | DojoPat | Sony Reader | 4 | 09-24-2007 01:08 PM |