The processing instruction target matching "[xX][mM][lL]" is not allowed.
Exception:org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
错误原因:主要是xml格式不合法,含有空格或者其他。<?xml version="1.0" encoding="UTF-8"?>前面不要有任何其他字符,如空格、回车、换行这些否则就会出现上面的异常
xml解析时的错误
最新推荐文章于 2022-09-30 23:22:42 发布