use cdata? If you ever have characters that could make the xml mis-formed, especially all user entered data, put it in a cdata.
<root> <node><![CDATA[ my ' bad / <> "data".... ]]></node> </root> That will parse just fine. http://www.w3schools.com/xml/xml_cdata.asp On 4/9/06, Josh Nathanson <[EMAIL PROTECTED]> wrote: > Hello All, > > When creating an xml document using cfxml, I get the following error: > > --------------- > An error occured while Parsing an XML document. > An invalid XML character (Unicode: 0x1c) was found in the element content of > the document. > ------------------ > > The values in question are text strings entered by users and could contain > tabs, carriage returns, line feeds etc. I've tried stripping those out > using Replace but no luck, and tried XmlFormat(variable) with no luck. > > When I look up the unicode character 0x1c00, it says it's unassigned. I > don't see anything weird in the string values that might be causing the > error. > > Any thoughts/ideas are appreciated. > > -- Josh Nathanson > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237310 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54