我有xml解析以下內容。 <body>
<body.content>
<p>This is testing content.</p>
<p>This is testing content.This is testing content.This is testing content.This is testing content.This
我有那些名爲wrong.xml和good.xml的xml文件明顯相同。 的代碼是如下: <?xml version="1.0" encoding="utf-16"?>
<tag>
</tag>
的問題是,XmlReader類(org.xml.sax.XMLReader中)解析wrong.xml當檢測到跟隨誤差。 Content is not allowed in prolo