A bug was reported on the W3C Mobile BP checker [1] that triggered a bogus ill-formedness error on pages with a doctype of the form of: <!DOCTYPE html> This bug originated from xmlproc.py, part of the python-xml package in Debian; the code in there assumes that you need a whitespace after the Name part of the DTD, but that isn't so according to the XML spec: http://www.w3.org/TR/2006/REC-xml-20060816/#NT-doctypedecl The attached patch applies to xmlproc.py v 1.25 and fixes that bug. (I'm sending this to www-archive rather than the bug system for that package, since that project seems to be no longer maintained). Dom
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 08:10:08 GMT