Google Chromeのソース表示では、XML宣言が消える
他のブラウザでは全く問題ないのに、Google Chromeでソース表示するとXML宣言
<?xml version="1.0" encoding="utf-8" ?>
が出力されない現象に遭遇。調査の結果、Chorome側の問題ということがハッキリしました。
ソース表示ではXML宣言は抜け落ちてしまうものの、デバッガで見てみれば本当に取得したソースを確認することが出来ます。
If you need a work around, open the debugger (Ctrl+Shift+J) and click Resources.
Find the page and it will show the *real* source with highlighting as well.
◆ネタ元
http://code.google.com/p/chromium/issues/detail?id=5286
#Chrome使いとしては「open the debugger (Ctrl+Shift+J)」が嬉しい副産物でした!