[wp-trac] Re: [WordPress Trac] #7771: XMLRPC api stripping leading
angle brackets
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 19 17:05:50 GMT 2008
#7771: XMLRPC api stripping leading angle brackets
-------------------------+--------------------------------------------------
Reporter: midrangeman | Owner: anonymous
Type: defect | Status: reopened
Priority: high | Milestone:
Component: XML-RPC | Version: 2.6.1
Severity: major | Resolution:
Keywords: xmlrpc |
-------------------------+--------------------------------------------------
Comment (by Sixes):
It seems that this is a bug in libxml2's emulation of the expat library
from version 2.7.1 onwards and the fact that php will use the libxml2
library for expat emulation if the expat library is not compiled in.
Indeed, php 5.2.6 shows libexpat as deprecated and the Fedora 9 install of
php does not include it.
It seems that everyone is waiting for everyone else to fix this now.
Possibly the simplest way forward is for Wordpress to stop using the XML
Parser library (xml_parser_create() and friends) and switch to the
experimental but working XML-RPC library (xmlrpc_server_create() etc.).
This should avoid the problem as presumably it uses native libxml2.
The above is hypothesis. I'm going to try testing it now.
--
Ticket URL: <http://trac.wordpress.org/ticket/7771#comment:20>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list