0

我没有使用 XML 或 html 的经验,我需要从 html 文件中获取数据。有人建议我使用xmlread,但出现错误:

'Error using xmlread (line 98) 
Java exception occurred:
org.xml.sax.SAXParseException: The declaration for the entity "ContentType" must end with '>'. 
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

谁能帮助我避免这种情况?

4

0 回答 0