cpython/Lib/xml/sax
Martin v. Löwis ee1dc157d7 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.
2000-10-06 21:08:59 +00:00
..
__init__.py Add SAXReaderNotAvailable, and use it to distinguish between an 2000-10-06 17:41:52 +00:00
_exceptions.py Add SAXReaderNotAvailable, and use it to distinguish between an 2000-10-06 17:41:52 +00:00
expatreader.py Move translation from expat.error to SAXParseException into feed, so that 2000-10-06 21:08:59 +00:00
handler.py Fix inconsistent use of space/tabs. 2000-09-25 00:11:37 +00:00
saxutils.py Support non-namespace elements in *ElementNS of XMLGenerator. 2000-10-03 22:35:29 +00:00
xmlreader.py Remove dependency from saxutils when loading xmlreader 2000-09-29 18:59:50 +00:00