The reference URL is written in Korean, so I rephrase it to English.
We're developing an opensource blogging tool called Textcube which is written in PHP. There are thousands of bugs filed by users of various platforms.
However, only on Gentoo Linux, the SAX parser (event-driven xml parser) of PHP does not correctly parse HTML entities in character data handler. The event caller just passes an empty string instead of a character mapped with HTML entity. I traced this issue by hands and found that this may be a bug originated from Gentoo-specific patches for PHP because it only happened on Gentoo.
The environment included in our user's report is:
# emerge --version
Portage 188.8.131.52 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 184.108.40.206 i686)
Linux version 220.127.116.11 (gcc version 4.1.2 (Gentoo 4.1.2)) #1 SMP Sat Feb 16 03:54:00 KST 2008
PHP 5.2.6 (PHP 5.2.6 (cli) (built: Oct 21 2008 13:25:24)
I've found that this issue may be the same one to http://bugs.gentoo.org/show_bug.cgi?id=249703 and http://bugs.php.net/bug.php?id=45996.
This SAX parser uses xml_parse_into_struct php function, which is the subject of the bugs you linked to?
Please post your `emerge --info' in a comment and specify the version of dev-lang/php in the Summary.
Any progress here?
Um, I don't think it would be possible I could get 'emerge --info' because I'm not the user of the system where this problem is reported. The one who reported is a user of Textcube which I develope, and he/she wrote anonymously on our forum. Sorry.