xml文件错误

xml文件错误The processing instruction target matching "[xX][mM][lL]" is not allowed

The processing instruction target matching "[xX][mM][lL]" is not allowed. 

这个异常解释为:xml文件不能被解析,一般出现这样的问题在于xml格式上,并且问题多出现在xml文件的头部。总结:<?xml version="1.0" encoding="UTF-8"?>前面不要有任何其他字符,如空格、回车、换行这些否则就会出现上面的异常。

--------------------- 作者:zhenyusoso 来源:CSDN 原文:https://blog.csdn.net/zhenyusoso/article/details/7280990?utm_source=copy 版权声明:本文为博主原创文章,转载请附上博文链接!

转载于:https://my.oschina.net/yuhangyes/blog/2236768

原文地址:https://www.cnblogs.com/twodog/p/12135809.html