Bug / Issue Tracking Service
Bugzilla – Bug 857
DOCTYPE Override should take XML Decl into account.
Last modified: 2008-12-01 03:03:10 UTC
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