Hi, I'm trying to understand the validator's logic for ignoring the http-equiv charset declaration in documents delivered as application/xhtml+xml. I get an encoding of UTF-8 when validating this file: http://NikitaTheSpider.com/boneyard/temp/meta-test-xhtml-as-xml.xhtml And ISO-8859-5 when validating this file: http://NikitaTheSpider.com/boneyard/temp/meta-test-xhtml-as-html.html They're the same except for the media type. The former is delivered as application/xhtml+xml, the latter as text/html. In neither case is the encoding declared in the HTTP header, but both files contain an XHTML doctype and a META http-equiv statement that declares the encoding to be ISO-8859-5. Is this logic based on the last paragraph in section 3.3 here? http://www.w3.org/TR/xhtml-media-types/#application-xml Thanks -- Philip http://NikitaTheSpider.com/ Whole-site HTML validation, link checking and moreReceived on Monday, 7 April 2008 01:16:32 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:07 UTC