这是继续of another question。当我尝试解析我的xml文件时,出现此错误。 Exception in thread "main" org.xml.sax.SAXParseException; lineNumber: 68; columnNumber: 12; Content is not allowed in trailing section.
at com.sun.org.ap
我有一个XML文件,我很想从SAX获取数据。一直到startElement()它出现错误,因为当我尝试获取属性值时,它们为空。为什么? 首先,我调用这个方法:负载() public RealEstate load() {
RealEstate data = null;
try {
//Create a "parser factory" for creatin