> i encountered this error if one of my WDDX field contain an
> ampersand (&)
>
> XML parsing error: not well-formed (error code 4, line 1,
> column 941, buffer offset 941)
>
> The error occurred while processing an element with a general
> identifier of (CFWDDX), occupying document position (21:1) to
> (21:64).
>
> any idea how can i solve this?
The ampersand is a symbolic character in XML and HTML. You'll need to escape
any symbolic characters using the XMLFormat function before using CFWDDX.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists