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

Martin Kutschker masi-no at spam-typo3.org
Mon Aug 25 15:50:21 CEST 2008


Francois Suter schrieb:
> 
> This is not easy to explain :-)

Yep. I don't think I got it :-(

How can $this->content be always an array if it could contain formatted
XML? By using only one value that contains the XML?

Hm. How many people do you expect to use this function? If there are few
just normalize it, ie pass it through array2xml. And add a argument to
all sendAs-function that take a tsring as value that contains the
preformatted content (already as XML, JASON or whatever).

Masi

PS: I'm getting tired of backwards-compatibilty stuff.


More information about the TYPO3-team-core mailing list