-
Bug
-
Resolution: Done
-
Major
-
4.1.2.Final
-
None
-
Compatibility/Configuration
-
Workaround Exists
-
Component method doesn't set returned content type to application/xml (works in CF9).
Here's a short example:
<CFCOMPONENT output="false"> <CFFUNCTION name="returnXML" hint="" access="remote" output="false" returntype="xml"> <CFSET sXML = '<?xml version="1.0" encoding="UTF-8"?> <Root> <anelement>With some content</anelement> </Root>'> <CFCONTENT type="application/xml; charset=UTF-8"> <CFRETURN sXML /> </CFFUNCTION> </CFCOMPONENT>