mxp1988 / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

Validation error for 2+3 Transitional ePub #232

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

When created a 2+3 Transitional ePub, which is actually an ePub3, but 
additionally includes ncx file, getting a validation error as below

METHOD:

1. Installed the latest Epubcheck Version 3.0-RC-2
2. Created a 2+3 Transitional ePub 
3. Validated the epub against the Version 3.0-RC-2

RESULT:

Epubcheck Version 3.0-RC-2 Validating against EPUB version 3.0 
ERROR: toc.ncx: External DTD entities are not allowed. Remove the DOCTYPE.

EXPECTED:

It should not display validation error, as it was working fine in Epubcheck 
Version 3.0b5

PLATFORM:

All

ADDITIONAL INFO:

This was working fine without any Validation Errors on Epubcheck Version 3.0b5.

Version 3.0-RC-1 and Version 3.0-RC-2 displays the ERROR message

Original issue reported on code.google.com by savio.ba...@gmail.com on 12 Dec 2012 at 6:38

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Savio, 
to create a valid 2+3 EPUB, remove the doctype from the NCX as well. External 
entities are disallowed in EPUB3, for all files. And in EPUB2, an NCX without a 
DOCTYPE is also valid.

Original comment by markus.g...@gmail.com on 17 Dec 2012 at 10:50