3 Replies Latest reply on Oct 16, 2013 8:54 PM by Franck Payen

    What do I need to change to get my export to epub file to validate?

    GibsonSarah

      I am using Indesign CS 5.5 to export a book to an epub. I've read that vendors like Apple/iTunes prefer epub files that run through the Epubcheck over at (http://validator.idpf.org/). I am getting the following error and would love to know how to fix it.

       

      Irregular DOCTYPE: found '-//W3C//DTD XHTML 1.1 //EN', expecting '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.

       

      I can unzip the file, make the change in all 20 some chapters and then re-zip it, but that adds another warning when I run it through Epubcheck (item (OEBPS/.DS_Store) exists in the zip file, but is not declared in the OPF file)... so I'd like to fix the first error if possible.

       

      Thanks in advance!