#16472 [Opn->Csd]: unregistering character handler with XML parser failed
| From: | iliaa@php.net | Date: | Wed, 16 Oct 2002 20:33:23 +0000 |
| Subject: | #16472 [Opn->Csd]: unregistering character handler with XML parser failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22608@lists.php.net to get a copy of this message | ||
ID: 16472
Updated by: iliaa@php.net
Reported By: per.sil@gmx.it
-Status: Open
+Status: Closed
Bug Type: XML related
Operating System: Linux 2.4.7-10smp, RedHat 7.2
PHP Version: 4.1.2
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-07-18 03:13:14] huongch@bigfoot.com
I seem to be having the same problem. I'm using PHP 4.1.1 under Win2k.
------------------------------------------------------------------------
[2002-04-07 09:34:48] per.sil@gmx.it
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 this bug report at http://bugs.php.net/?id=16472&edit=1