`

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

xml 
阅读更多

org.dom4j.Document portText = DocumentHelper.parseText(returnValue);

转换的时候出错,

发现是xml最开始的地方有空格 或者 换行引起的,去掉即可xml头之前不要有多余的字符

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics