W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2010

at-charset-013 invalid in XHTML

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 18 Sep 2010 17:27:10 -0700
To: public-css-testsuite@w3.org
Message-ID: <20100919002710.GA27327@pickering.dbaron.org>
On Saturday 2010-09-18 17:25 -0700, L. David Baron wrote:
> http://test.csswg.org/suites/css2.1/20100917/xhtml1/at-charset-012.xht
> is invalid in the XHTML format.  The tests presumes that the page is
> Shift_JIS.  However, in XHTML, a <meta> does not change the charset,
> so it is UTF-8.  See http://www.w3.org/TR/xhtml1/#C_9 for an
> explanation.
> 
> The test is currently marked with the nonHTML flag; I believe the
> flag may be backwards and that the test is probably valid in HTML
> but not in XHTML.

These comments also apply to at-charset-013.  (at-charset-013
suggests using UI to change to Shift_JIS; however in Gecko such UI
doesn't change XHTML documents, since their encoding is precisely
defined.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Sunday, 19 September 2010 00:27:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:03 GMT