Copy link to clipboard
Copied
Hi All,
When I validate epub package having page-map.xml.
An error is displayed; "filename.epub/package.opf(40): attribute "page-map" not allowed at this point"
Page-map XML is used to avoid synthesized page numbers (displayed by ADE on its own, refer topic "Synthetic page names" under section "Adobe Extensions" in EPUBBestPractices-1_0_3.epub) and to display page numbers aligned to printed copy when an epub file is viewed in ADE.
Please help me to understand the problem area or can we ignore this error, since there is no problem in viewing this epub in Adobe Digital Editions?
In OPF;
<spine page-map="map" toc="ncx">
<itemref idref="c001"/>
..
..
..
..
..
..
</spine>
================================
Cheers
Vikas
Copy link to clipboard
Copied
page-map is a Digital Editions specific extenstion. If you validation does not know about the extension then it is correctly noting that spine is not documented to have a page-map attribute.
Copy link to clipboard
Copied
Hi Jim,
This error is displayed when the epub file is validated using epubcheck-1.0.3.
Cheers
Vikas