﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
156	<?xml ?> declaration is misplaced using Stream.render('xml', doctype='xhtml')	bigcheesegs@…	athomas	"According to the XML 1.0 spec section 4.3.1 (http://www.w3.org/TR/xml/#sec-TextDecl)
  The text declaration MUST NOT appear at any position other than the beginning of an external parsed entity.

However, using Stream.render('xml', doctype='xhtml'), the output contains.
{{{
<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Strict//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"">
<?xml version=""1.0"" encoding=""utf-8""?>
... rest of document ...
}}}
Which is not well-formed XML."	defect	closed	minor	0.5	Serialization		fixed	xml doctype	
