> I'm trying to use wddx to pass an image file from one site to
> another over the web. I've followed the examples in the
> documentation and think I'm on the right track, but end up
> with the following error...

The problem might be that there is some character in the Base64 string that
is an XML character, such as an angle bracket (<). You'll have to escape any
such characters. If you're using CF 4.5.1, there's a function called
XMLFormat that will do this for you:

<cfwddx action="cfml2wddx" input="#XMLFormat(q)#"
output="myWDDXEncodedImage">

Unfortunately, there's no "XMLUnFormat" function, so you'll have to run a
Replace or two, or a ReplaceList, to change these characters back after
deserialization.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to