What if you don't output invalid XML? If you can manage a valid HTTP response then you can manage valid XML, can't you?