[TYPO3-core] RFC: Bug #9217: typo3ajax::renderAsXML does not always render XML

Francois Suter fsuter at cobweb.ch
Sat Aug 23 18:12:13 CEST 2008


Hi Oliver,

> Another idea: Can't we use is_array($this->content) instead for the
> check? array2xml fails if it doesn't get a string anyway.

No, because $this->content is always an array. If it were loaded with an 
XML string, it would still be something like:

$this->content[] = '<xml comes here... />';

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list