[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] w3.org won't serve DTD imbedded in Docbook generated output - but only to IE
On Tue, Feb 24, 2009 at 4:44 PM, William R. (Bill) Greene <wrg@acm.org> wrote: > FWIW, this problem also occurs with the ePub stylesheets. Because > epub/docbook.xsl imports xhtml-1_1/docbook.xsl, which contains this line: > > <xsl:output method="xml" encoding="UTF-8" indent="no" > doctype-public="-//W3C//DTD XHTML 1.1//EN" > doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"/> > > this XHTML was generated: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd"> > > which caused the online version of epubcheck at > http://www.threepress.org/document/epub-validate/ to complain: > > WARNING: wrg-resume.epub/wrg-resume.xhtml Unresolved external XML entity > 'http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd' I'm not able to reproduce on the command line or using Liza's tool: MacKeith:docbook-xsl-1.74.3 keith$ epub/bin/dbtoepub -v ~/scratch/a_book.xml Rendering DocBook file /Users/keith/scratch/a_book.xml to a_book.epub MacKeith:docbook-xsl-1.74.3 keith$ epubcheck a_book.epub Epubcheck Version 1.0.3 No errors or warnings detected MacKeith:docbook-xsl-1.74.3 keith$ unzip -d ~/scratch/a_book a_book.epub Archive: a_book.epub extracting: /Users/keith/scratch/a_book/mimetype creating: /Users/keith/scratch/a_book/META-INF/ inflating: /Users/keith/scratch/a_book/META-INF/container.xml creating: /Users/keith/scratch/a_book/OEBPS/ inflating: /Users/keith/scratch/a_book/OEBPS/bk01-toc.html inflating: /Users/keith/scratch/a_book/OEBPS/ch01.html inflating: /Users/keith/scratch/a_book/OEBPS/content.opf inflating: /Users/keith/scratch/a_book/OEBPS/index.html inflating: /Users/keith/scratch/a_book/OEBPS/toc.ncx MacKeith:docbook-xsl-1.74.3 keith$ head ~/scratch/a_book/OEBPS/ch01.html <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> == """ Validate ePub documents Valid ePub! a_book.epub is valid! """ Do you have a test document that exhibits this behavior? Thanks, Keith
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]