borjimur / epubcheck

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

XHTML validation by xhtml-math-svg-flat.dtd #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

We are "Hindawi Publishing Corporation" using "xhtml-math-svg-flat.dtd" by
the following Doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG
1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd">

RESULT:

Generated error message:
Unresolved external XML entity
'http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd'

EXPECTED:

I think that xhtml-math-svg-flat.dtd is not included in epubcheck-1.0.4 to
validate xhtml 1.1 with SVG 1.1

PLATFORM:

epubcheck-1.0.4
Windows-XP

Thanks..

Wael Abdelsattar
Production Developer
Hindawi Publishing Corporation
http://www.hindawi.com/epub.html

Original issue reported on code.google.com by waelwrw@gmail.com on 12 Apr 2009 at 8:18

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
My position is that external DTDs cannot be allowed in EPUB. EPUB is supposed 
to be 
self-contained format and XML parsing is not possible without DTD in many 
cases. For 
instance in this particular case parser would not know which entities are 
declared 
in DTD. It is not practical to carry every possible DTD inside EPUB parser. I 
can 
see these DTDs as required: dtbook, ncx, oeb 1.2, opf, svg, xhtml. Everything 
else 
must be included in EPUB itself. I have asked IDPF EPUB WG to clarify this 
explicitly in the spec: 

http://www.daisy.org/epub/issues/clarify-which-external-dtds-are-allowed-epub

Original comment by soroto...@gmail.com on 21 Aug 2009 at 5:46