我正在使用 Digester 解析 xml 文件,但出现以下错误:
May 3, 2011 6:41:25 PM org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 2336608 column 3: The element type "user" must be terminated by the matching end-tag "</user>".
org.xml.sax.SAXParseException: The element type "user" must be terminated by the matching end-tag "</user>".
但是 2336608 是我的文本文件的最后一行。我想我正在打开一个标签,但我从不关闭它。您知道如何在大文本文件中找到并修复它吗?
谢谢