[jbosstools-issues] [JBoss JIRA] (JBIDE-17149) XML Mime Type not returned

Dirk Wöhr (JIRA) issues at jboss.org
Thu Apr 17 06:20:34 EDT 2014


Dirk Wöhr created JBIDE-17149:
---------------------------------

             Summary: XML Mime Type not returned
                 Key: JBIDE-17149
                 URL: https://issues.jboss.org/browse/JBIDE-17149
             Project: Tools (JBoss Tools)
          Issue Type: Bug
    Affects Versions: 4.1.2.Final
         Environment: Windows 7 and Debian
            Reporter: Dirk Wöhr
             Fix For: 4.1.2.Final


Component method doesn't set returned content type to application/xml (works in CF9).

Here's a short example:
{code}<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>{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list