報錯現象
The processing instruction target matching "[xX][mM][lL]" is not allowed.
報錯原因
一般是因爲頭部前面有空格造成的,
也有種情況是 <?xml version="1.0" encoding="utf-8"> 開頭的xml 寫成大寫的XML了
報錯現象
White space is required before the encoding pseudo attribute in the XML declaration.
報錯原因
因爲屬性之間缺少空格
錯誤的:<?xml version="1.0"encoding="utf-8">
正確的:<?xml version="1.0" encoding="utf-8">