Footnotes in Epubs for iBooks
I am trying to create footnotes for my epubs. I am coding in HTML, and converting with Calibre 2.79.1, which supports the EPUB3 standard. My <html> line is this:
<html xmlns:epub="http://www.idpf.org/2007/ops">
My coding for the footnote reference is this:
<a epub:type="noteref" href="#n1"><sup><small>1</small></sup></a>
And for the footnote text:
<aside epub:type="footnote" id="n1">
<p>This is my footnote text.</p>
</aside>
I converted the HTML file with Calibre, and the resulting epub works perfectly in iBooks: when I click/tap the footnote reference, the footnote text appears in its own popup window right above the reference link. However, when I run the Epub Validator at validator.idpf.org, it says "Detected version: EPUB 2.0.1" and gives me errors, complaining about the "epub:type". I get the same errors from the automated epubcheck when attempting to submit the book to the iBooks store via iTunes Producer. (I have successfully submitted books to the iBook Store many times before, but this is the first time I'm trying to code footnotes.) If footnotes work in iBooks, why won't the store accept the book? What am I leaving out?
Thanks in advance,
Dave