<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <?xml version="1.0" encoding="iso-8859-1"?> <html lang=en xml:lang="en"> <head> <title>[ 655338 ] Tidy leaves XML decl in wrong place</title> </head> <p>foo </html>