Bug #16472 Updated: unregistering character handler with XML parser failed
| From: | huongch at bigfoot dot com | Date: | Thu, 18 Jul 2002 07:13:15 +0000 |
| Subject: | Bug #16472 Updated: unregistering character handler with XML parser failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14499@lists.php.net to get a copy of this message | ||
ID: 16472
Updated by: huongch@bigfoot.com
Reported By: per.sil@gmx.it
Status: Open
Bug Type: XML related
Operating System: Linux 2.4.7-10smp, RedHat 7.2
PHP Version: 4.1.2
New Comment:
I seem to be having the same problem. I'm using PHP 4.1.1 under Win2k.
Previous Comments:
------------------------------------------------------------------------
[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