This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
According to the XML spec, an XML declaration may span multiple lines: http://www.w3.org/TR/xml/#NT-XMLDecl The mobileOK Checker restricts itself to the first line, which is wrong. See XhtmlContent.setHasXmlDeclaration method.
Code updated to take the multiple line case into account. Check on whether the XML declaration starts at the first character also added.