[TYPO3-core] RFC: Bug #9217: typo3ajax::renderAsXML does not always render XML
Dmitry Dulepov [typo3]
dmitry at typo3.org
Mon Aug 25 11:48:14 CEST 2008
Hi!
Francois Suter wrote:
> Problem:
> The typo3ajax class is designed to handle response data for AJAX calls
> and return it in a variety of formats. However the renderAsXML() method
> does not check if it has valid XML to return.
>
> Solution:
> Check the response content for XML validity. If it's not valid XML, it
> means it's an array and t3lib_div::array2xml is called as a substitute
> to produce a valid XML response.
Does SimpleXML come with PHP by default on Debian and SuSE?
What is performance impact of this call?
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/
More information about the TYPO3-team-core
mailing list