From: [EMAIL PROTECTED] Operating system: Linux 2.4.7-10smp, RedHat 7.2 PHP version: 4.1.2 PHP Bug Type: XML related Bug description: unregistering character handler with XML parser failed
After activating a character handler with xml_set_character_data_handler($parser, 'handler'), deactivating the handler with xml_set_character_data_handler($parser, '') or xml_set_character_data_handler($parser, false) failes and leads to the error message: "Warning: Unable to call handler". Deactivating the character data handler was impossible. Instead registering a dummy handler was necessary. additional infos ================= PHP 4.1.2 has been compiled from source. installed packages: ------------------- libxml2-devel-2.4.2-1.i386.rpm expat-library: expat-1.95.1-7.i386.rpm - RedHat RPM compiled sources ---------------- Sablotron: Sablot-0.90.tar.gz configuration flags for PHP: ---------------------------- './configure' '--with-config-file-path=/usr/local/etc' '--enable-versioning' '--enable-inline- optimization' '--enable-memory-limit' '--with-gnu-ld' '--with-layout=GNU' '--enable-dio' '-- enable-sigchild' '--enable-libgcc' '--enable-discard-path' '--enable-force-cgi- redirect=shared' '--with-pear' '--enable-safe-mode' '--with-zlib=shared' '--enable-bcmath' '--with-bz2=shared' '--with-crack=shared' '--enable-ctype' '--with-gmp=shared' '--enable- calendar' '--with-gettext=shared' '--with-iconv=shared' '--enable-mbstring=shared' '-- enable-mbstr-enc-trans' '--with-pspell=shared' '--enable-sysvsem' '--enable-sysvshm' '-- enable-shmop' '--with-gd=shared' '--enable-gd-native-ttf' '--with-ttf' '--with-pdflib=shared,/ usr/src//pdflib-4.0.2-Linux/bind/c' '--with-jpeg-dir=/usr' '--with-png=shared' '--with-png- dir=/usr' '--with-freetype-dir=/usr' '--with-fdftk=shared,/usr/local/' '--enable-mailparse' '-- with-mcrypt=shared' '--with-mhash=shared' '--with-openssl=shared' '--with-mm=shared' '--enable-trans-sid' '--with-regex=system' '--enable-wddx' '--with-xml=shared' '--with- expat-dir=/usr' '--enable-xslt=shared' '--with-xslt-sablot=shared,/usr/local' '--with- dom=shared' '--with-xmlrpc=shared' '--with-curl=shared' '--enable-ftp' '--enable-sockets' '--enable-dba=shared' '--with-gdbm=shared' '--with-ndbm=shared' '--enable-dbase' '-- enable-dbx' '--enable-filepro' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with- ncurses=shared' '--with-yaz=shared' '--enable-magic-quotes' '--enable-dbg=shared' '-- with-dbg-profiler' '--with-apxs' -- Edit bug report at http://bugs.php.net/?id=16472&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16472&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16472&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16472&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16472&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16472&r=support Expected behavior: http://bugs.php.net/fix.php?id=16472&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16472&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16472&r=submittedtwice
