Staging
v0.5.1
https://github.com/python/cpython
Revision ee1dc157d7f425d8fdd12de098097441b4f17798 authored by Martin v. Löwis on 06 October 2000, 21:08:59 UTC, committed by Martin v. Löwis on 06 October 2000, 21:08:59 UTC
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.
1 parent c2bac87
History
Tip revision: ee1dc157d7f425d8fdd12de098097441b4f17798 authored by Martin v. Löwis on 06 October 2000, 21:08:59 UTC
Move translation from expat.error to SAXParseException into feed, so that
Tip revision: ee1dc15
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 1.6 KB
LICENSE -rw-r--r-- 4.9 KB
Makefile.in -rw-r--r-- 17.5 KB
README -rw-r--r-- 35.1 KB
acconfig.h -rw-r--r-- 5.5 KB
config.h.in -rw-r--r-- 16.1 KB
configure -rwxr-xr-x 167.6 KB
configure.in -rw-r--r-- 34.0 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top