![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2013
Device: none
|
![]()
Hi,
I have created a small test epub file with page numbers (i.e. page-map.xml). The numbers display fine in ADE, but I getting the below validation error. ERROR: Law.epub/OEBPS/content.opf(61,35): attribute "page-map" not allowed here; expected attribute "id". 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"/> Anyone help me to resolve this issue. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,351
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That's normal AFAIK. Page-map is not part of the epub specifications, which is why epubcheck barks about it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It will most probably not prevent the epub working in any device, but the page numbers will only be available in Adobe-powered readers.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epubcheck error -- Epubs and the "a id" tag | Stodder | Calibre | 6 | 05-17-2012 03:23 AM |
ePub validation error: 'element "span" not allowed here' | nannygoats | ePub | 5 | 11-30-2011 08:47 AM |
epubcheck: attribute "page-map" not allowed here error message | Doitsu | ePub | 5 | 10-27-2011 08:51 PM |
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 |