Hi, the XML created by t3lib_div::array2xml() is missing a LF after the final closing tag. I've attached a patch against TYPO3 4.0.2. http://bugs.typo3.org/view.php?id=4351 Regards, Oliver