Closed GoogleCodeExporter closed 9 years ago
You generated an EPUB 2 containing XHTML 1.1 content using Calibre, so all the
errors are valid.
You need to convert the content to EPUB3/XHTML5 if you want it to validate as
such.
Original comment by mgarrish
on 25 Jun 2013 at 2:16
Right. In this case epubcheck, I think, should alert about the inconsistency
between the epub version and the doctype of XHTML files, since it's preferable
that you'll convert the epub 2 to an epub 3 instead of convert all xhtml 5
documents to a previous xhtml specification.
In theory this is another issue, you can close this bug and open another one if
you want :)
Original comment by elbar...@gmail.com
on 25 Jun 2013 at 7:13
But no doctype was specified in these files that I found, so epubcheck is doing
exactly what it should for an epub declared as 2.0 in the OPF.
If the html5 doctype had been specified, then I agree it would be useful to at
least report an unexpected doctype.
Original comment by mgarrish
on 25 Jun 2013 at 12:19
Well, the fact the doctype is removed is a calibre bug. Anyway I think
epubcheck should alert you the doctype is missing, since html 5 specs requires
it:
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#the-doct
ype
Original comment by elbar...@gmail.com
on 7 Jul 2013 at 11:23
THIS ISSUE MOVED TO GITHUB:
https://github.com/IDPF/epubcheck/issues/
Original comment by rdeltour@gmail.com
on 7 Nov 2013 at 10:49
Original issue reported on code.google.com by
lucasmal...@gmail.com
on 30 May 2013 at 11:15Attachments: