xml文件一部分:<Row><BH>150802050700</BH><MC>临河区公安局刑警大队责任区三中队 </MC><IS_ZSJG>1</IS_ZSJG><STATUS>0</STATUS></Row>
注意在〈MC〉内的空格
用的是DOM4J,到这个方法Document document = reader.read(file);时抛出Exception:
org.dom4j.DocumentException: Error on line 93764 of document file:///D:/GDNA2/TMP/AS7ZSZD7W7T824OWY1IZXQGJZDNCNB.xml : An invalid XML character (Unicode: 0x0) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x0) was found in the element content of the document.
“93784”定位到XML文件就是上面那条〈Row〉
这是什么情况
注意在〈MC〉内的空格
用的是DOM4J,到这个方法Document document = reader.read(file);时抛出Exception:
org.dom4j.DocumentException: Error on line 93764 of document file:///D:/GDNA2/TMP/AS7ZSZD7W7T824OWY1IZXQGJZDNCNB.xml : An invalid XML character (Unicode: 0x0) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x0) was found in the element content of the document.
“93784”定位到XML文件就是上面那条〈Row〉
这是什么情况