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
.cvsignore -rw-r--r-- 22 bytes
Makefile.in -rw-r--r-- 2.2 KB
acceler.c -rw-r--r-- 3.2 KB
assert.h -rw-r--r-- 405 bytes
bitset.c -rw-r--r-- 949 bytes
firstsets.c -rw-r--r-- 2.1 KB
grammar.c -rw-r--r-- 4.6 KB
grammar1.c -rw-r--r-- 1001 bytes
intrcheck.c -rw-r--r-- 2.8 KB
listnode.c -rw-r--r-- 983 bytes
metagrammar.c -rw-r--r-- 2.1 KB
myreadline.c -rw-r--r-- 2.7 KB
node.c -rw-r--r-- 1.3 KB
parser.c -rw-r--r-- 7.8 KB
parser.h -rw-r--r-- 916 bytes
parsetok.c -rw-r--r-- 3.2 KB
pgen.c -rw-r--r-- 14.2 KB
pgen.h -rw-r--r-- 253 bytes
pgenmain.c -rw-r--r-- 3.4 KB
printgrammar.c -rw-r--r-- 2.4 KB
tokenizer.c -rw-r--r-- 17.4 KB
tokenizer.h -rw-r--r-- 1.8 KB

back to top