- From: Christoph Schneegans <Christoph@Schneegans.de>
- Date: Fri, 04 Aug 2006 10:36:48 GMT
- To: <www-validator@w3.org>
Hello! An XHTML document starting with a document type declaration <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" []> is correctly identified by the W3C Validator as XHTML 1.0 Strict. However, a document starting with a slightly different document type declaration <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"[]> throws a "no Doctype (sic) found" error. Whitespace is not required between external ID and internal subset, see <http://www.w3.org/TR/REC-xml/#NT-doctypedecl>. You may use <http://validator.w3.org/check?uri=http://schneegans.de/temp/empty-subset-1.aspx> and <http://validator.w3.org/check?uri=http://schneegans.de/temp/empty-subset-2.aspx> to reproduce this problem. -- <http://schneegans.de/> |
Received on Friday, 4 August 2006 10:39:22 UTC