Pocket IE 対策

6月20日に発見した表示上の不具合ですが、どうやら XML 宣言が原因だったようです。
XHTML™ 1.0 の仕様書 (第2版)では XML 宣言について次のように述べています。

An XML declaration is not required in all XML documents; however XHTML document authors are strongly encouraged to use XML declarations in all their documents. Such a declaration is required when the character encoding of the document is other than the default UTF-8 or UTF-16 and no encoding was determined by a higher-level protocol.

簡単に訳すと、「全ての XHTML™ 文書に XML 宣言を書く事は奨励されるけど、文字コードUTF-8UTF-16 の場合と、それ以外の文字コードでも上位プロトコルで指定されているなら、XML 宣言は書かなくても良いよ」って感じです。
この事は5月12日の時点で知ってたし、サーバからの MIME ヘッダで文字コードが通知されるように、既に .htaccessAddType "text/html; charset=Shift_JIS" html を追加しています。つまり書く必要の無いものを念のためと思って書いておいた為にトラブルの原因になってたんですね。まさに蛇足です。(笑)
御迷惑をお掛けしました。(u_u)