-4
Traceback (most recent call last):
 1. File "C:\Python32\saxparser.py", line 19, in <module>
    parser.parse('xmlfile.xml')
 2. File "C:\Python32\lib\xml\sax\expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
 3. File "C:\Python32\lib\xml\sax\xmlreader.py", line 125, in parse
    self.close()
 4. File "C:\Python32\lib\xml\sax\expatreader.py", line 217, in close
    self.feed("", isFinal = 1)
 5.  File "C:\Python32\lib\xml\sax\expatreader.py", line 211, in feed
    self._err_handler.fatalError(exc)
 6. File "C:\Python32\lib\xml\sax\handler.py", line 38, in fatalError
    raise exception
xml.sax._exceptions.SAXParseException: xmlfile.xml:26:13: no element found
4

1 に答える 1

0

このエラーは、空のファイルを解析しようとしたことを意味します。

于 2012-04-15T17:10:46.410 に答える