diff options
author | Rob Richards <rrichards@php.net> | 2004-11-18 16:36:34 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2004-11-18 16:36:34 +0000 |
commit | 69644e92723865f6d866ea101931b00b1155bbbb (patch) | |
tree | ecda8fac898eb4759d828620f45211e5015aac9f | |
parent | fbb708e211794cc6f45a7ddfb332dcb974462200 (diff) | |
download | php-git-69644e92723865f6d866ea101931b00b1155bbbb.tar.gz |
MFH: fix SAX2 handling to work with libxml 2.6.16
-rw-r--r-- | ext/xml/compat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/xml/compat.c b/ext/xml/compat.c index 7bb58c4d29..c8cdf18110 100644 --- a/ext/xml/compat.c +++ b/ext/xml/compat.c @@ -305,9 +305,10 @@ php_xml_compat_handlers = { NULL, /* getParameterEntity */ _cdata_handler, /* cdataBlock */ NULL, /* externalSubset */ - 1 -#if LIBXML_VERSION >= 20600 - , +#if LIBXML_VERSION < 20600 + 1, +#else + XML_SAX2_MAGIC, NULL, _start_element_handler_ns, _end_element_handler_ns, |