I'm digging. This came up 3 years ago too:

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:32864


On Wed, Sep 8, 2010 at 4:54 PM, Jake Munson <jmun...@idahopower.com> wrote:
>
> Ray,
>
> In addition to my previous email with proof of concept code, I am able to 
> reproduce my problem using your code below by adding this cffile tag to the 
> end of your code:
> <cffile action="write" file="#expandPath('foo.xml')#" output="#toString(x)#">
>
>>Weird. I can't reproduce this:
>>
>>
>><cfset s = "<font color=""red""><b>foo</b></font>">
>><cfxml variable="x">
>><root>
>><child name="one" />
>></root>
>></cfxml>
>>
>><cfset x.root.child[1].xmlText = s>
>>
>>
>><cfoutput>
>>#x.root.child[1].xmltext#
>><p>
>>#s#
>></cfoutput>
>>
>>The value is NOT escaped in the XML, nor in the original variable.
>>
>>
>>
>>>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336925
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to