mirror of
https://github.com/python/cpython.git
synced 2024-11-26 19:34:19 +08:00
ee1dc157d7
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. |
||
---|---|---|
.. | ||
dom | ||
parsers | ||
sax | ||
__init__.py |