[wp-xmlrpc] wrapping faultstring value with CDATA

Joseph Scott joseph at randomnetworks.com
Sun Jan 13 23:19:59 GMT 2008


We've got a ticket http://trac.wordpress.org/ticket/5655 that  
proposes to change the faultstring value from:

<value><string>{$this->message}</string></value>

to:

<value><string><![CDATA[{$this->message}]]></string></value>

The xmlrpc spec examples show the faultstring value as a raw string,  
which is what we do now.  Unless someone can indicate a benefit that  
WordPress would gain by making this change I'm going to recommend  
against it.

--
Joseph Scott
http://joseph.randomnetworks.com/




More information about the wp-xmlrpc mailing list