r351574nc3 / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

EPub3 does not validate since "container.xml" contains a wrong DTD #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create epub3
2. Validate (e.g. http://validator.idpf.org/ )
3. Bam!

The file META-INF/container.xml has an XML header and a DTD of:

<!DOCTYPE container
  PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

However this file is not an XHTML file and must not have a DTD according to the 
validation tool http://validator.idpf.org/

Using 2.0.15 on Linux Mint 16

The validation tool ( http://validator.idpf.org/ ) will fail to validate.

Original issue reported on code.google.com by ctron1...@gmail.com on 13 Mar 2014 at 2:40