PHP: xml_parse replaces entities and "?" character
Posted
by bhefny
on Stack Overflow
See other posts from Stack Overflow
or by bhefny
Published on 2010-03-11T13:35:51Z
Indexed on
2010/04/12
19:03 UTC
Read the original article
Hit count: 237
How can I describe something I can't quite put my finger on? I have a module for RSS reading "magpierss" it uses xml_parse() and after extensive troubleshooting all I can come up with is that it removes certain entities like "?" character.
I haven't written this module myself but I have traced the code until the part uses xml_parse() and then the output is just replaced.
And to my disappointment this behavior exists on our production server only and not the local server. I have compared both php.ini file to search for any differences but couldn't find anything.
Could anyone please direct on where to search exactly, i don't even know which direction to start from.
Thanks
© Stack Overflow or respective owner