Namespace declaration statement has to be the very first statement or after 解决办法:将页面文件转为utp-8无dom格式就OK了。以notepad++为例: