Commit 1299d08f authored by Jim Fulton's avatar Jim Fulton

Fixed a typo that prevented setting Cdata handlers.

parent 44832cbf
......@@ -575,7 +575,7 @@ xmlparse_setattr(xmlparseobject *self, char *name, PyObject *v) {
XMLSETHANDLERS(ElementHandler);
return 0;
}
if (strcmp(name+5, "CDataSectionHandler") == 0) {
if (strcmp(name+5, "CdataSectionHandler") == 0) {
SET_HANDLER(StartCdataSectionHandler);
XMLSETHANDLERS(CdataSectionHandler);
return 0;
......@@ -716,7 +716,7 @@ static char pyexpat_module_documentation[] =
void
initpyexpat() {
PyObject *m, *d;
char *rev="$Revision: 1.6 $";
char *rev="$Revision: 1.7 $";
Xmlparsetype.ob_type = &PyType_Type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment