CDATA with Zend_Rest_Client

View: New views
4 Messages — Rating Filter:   Alert me  

CDATA with Zend_Rest_Client

by mark-ibuildings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The Zend_Rest_Client (version 1.5.2) doesn't support CDATA in it's result, I just made a small change in the code so it works but was wondering if this might be fixed already or will be in the future?

The change: Add the LIBXML_NOCDATA param to the simplexml_load_string() function in \Rest\Client\Result.php.

Re: CDATA with Zend_Rest_Client

by JDempster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you have access to the Issue Tracker then it would be helpful if you could create an issue, and even attach a patch file if it's not too much trouble.

Thanks,
/James Dempster

On Tue, Jun 3, 2008 at 9:01 AM, mark-ibuildings <mark@...> wrote:

The Zend_Rest_Client (version 1.5.2) doesn't support CDATA in it's result, I
just made a small change in the code so it works but was wondering if this
might be fixed already or will be in the future?

The change: Add the LIBXML_NOCDATA param to the simplexml_load_string()
function in \Rest\Client\Result.php.
--
View this message in context: http://www.nabble.com/CDATA-with-Zend_Rest_Client-tp17618216p17618216.html
Sent from the Zend Web Services mailing list archive at Nabble.com.



Re: CDATA with Zend_Rest_Client

by Matthew Weier O'Phinney-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-- mark-ibuildings <mark@...> wrote
(on Tuesday, 03 June 2008, 01:01 AM -0700):
>
> The Zend_Rest_Client (version 1.5.2) doesn't support CDATA in it's result, I
> just made a small change in the code so it works but was wondering if this
> might be fixed already or will be in the future?
>
> The change: Add the LIBXML_NOCDATA param to the simplexml_load_string()
> function in \Rest\Client\Result.php.

Please place an issue in the tracker for this.

Thanks!

--
Matthew Weier O'Phinney
Software Architect       | matthew@...
Zend Framework           | http://framework.zend.com/

Re: CDATA with Zend_Rest_Client

by JDempster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marks created one. :-)
http://framework.zend.com/issues/browse/ZF-3373

/James Dempster

On Tue, Jun 3, 2008 at 12:56 PM, Matthew Weier O'Phinney <matthew@...> wrote:
-- mark-ibuildings <mark@...> wrote
(on Tuesday, 03 June 2008, 01:01 AM -0700):
>
> The Zend_Rest_Client (version 1.5.2) doesn't support CDATA in it's result, I
> just made a small change in the code so it works but was wondering if this
> might be fixed already or will be in the future?
>
> The change: Add the LIBXML_NOCDATA param to the simplexml_load_string()
> function in \Rest\Client\Result.php.

Please place an issue in the tracker for this.

Thanks!

--
Matthew Weier O'Phinney
Software Architect       | matthew@...
Zend Framework           | http://framework.zend.com/

LightInTheBox - Buy quality products at wholesale price