Bug#428839: bogus XML well-formedness error in python-xml when parsing elliptical doctype declaration

Dominique Hazael-Massieux dom at w3.org
Thu Jun 14 14:55:28 UTC 2007


Package: python-xml
Version: 0.8.4-6

The xmlproc package provided by python-xml has a bug when parsing a
doctype in the form of
<!DOCTYPE html>

The parsing code expects a space after "html" (or more generally, the
doctype name), when the XML Spec doesn't require one:
http://www.w3.org/TR/2006/REC-xml-20060816/#NT-doctypedecl

This triggers a 3002 error when parsing a file such as:
http://dev.w3.org/cvsweb/~checkout~/2006/mwbp-validator/tests/nodoctype.xhtml?rev=1.1&content-type=text/plain

The patch attached to the message at:
http://lists.w3.org/Archives/Public/www-archive/2007Jun/0010.html
fixes that bug.





More information about the pkg-zope-developers mailing list