出现 The processing instruction target matching "[xX][mM][lL]" is not allowed错误

错误原因与解决办法:

  1. 这个错误的原因是因为xml的开始有多余的空格造成的,只要把多余的空格删除就没有问题了。

     

  2. xml开始部分写注释也会出现此问题。

本文出自:艺意

posted on 2017-01-27 05:17  艺意  阅读(866)  评论(0编辑  收藏  举报