On 9/30/05, Ryan Guill <[EMAIL PROTECTED]> wrote:
> So will it give an error or what exactly, do you know? I am assuming
> it will try to validate it as a component type of xml and will bomb
> then.
>
I just ran a test for you and this is what is says (it does throw an error):
The value returned from function bar() is not of type xml.
I created a CFC call Foo.cfc with a method in there called bar():
<cfcomponent output="false">
<cffunction name="bar" returntype="xml" access="public" output="false">
<cfset var myXML = "" />
<cfxml variable="myXML"><cfoutput>
<DYNCONFIG>
<!--- Overrides the Input file name --->
<ELEMENT>
<LOCATOR>TOOL(MyCSV)/DATA_FILE</LOCATOR>
<VALUE>\\test\\test1\\fileName.csv</VALUE>
</ELEMENT>
</DYNCONFIG></cfoutput>
</cfxml>
<cfreturn myXML />
</cffunction>
</cfcomponent>
Hope this helps?
Regards,
Dave.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219758
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54