This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
cf. Bug #740. The DOCTYPE Override feature should take any existing XML Declaration into account when inserting a new DOCTYPE into a file that does not allready have one. If the original has a DOCTYPE, the override should continue to insert the new DOCTYPE in the same place as the original, regardless of any XML Decl.
looking at sub override_doctype and applying karl's idea that the doctype declaration we sneak in should not be at the beginning of the doc, but rather, just before the root element.
Should be fixed with: http://lists.w3.org/Archives/Public/www-validator-cvs/2007Sep/0044.html test case added: http://lists.w3.org/Archives/Public/www-validator-cvs/2007Sep/0045.html