commit | ee1dc157d7f425d8fdd12de098097441b4f17798 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Fri Oct 06 21:08:59 2000 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Fri Oct 06 21:08:59 2000 +0000 |
tree | de99623762f47d2e7a103c2fae2655e6f98e4e97 | |
parent | c2bac8745dea66529205929fe5aced8c104267d9 [diff] |
Move translation from expat.error to SAXParseException into feed, so that callers of feed will get a SAXException. In close, feed the last chunk first before calling endDocument, so that the parser may report errors before the end of the document. Don't do anything in a nested parser. Don't call endDocument in parse; that will be called in close. Use self._source for finding the SystemID; XML_GetBase will be cleared in case of an error.