Could it be the hash sign that's causing the error?

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: gabriel l smallman [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 7:52 AM
To: CF-Talk
Subject: RE: Xmlformat() ... well not formatting


Plot thickens, so I cdata the element and hit service with IE:

An invalid character was found in text content. Error processing resource
'http://icc.getfused.com:8700/proshopwebservices/...

   <BILLTOCOMPANY>Compa

Here is odd thing, I view source:

<SHIPTOCOMPANY><![CDATA[Compa&#xf1;ia de Seguros]]></SHIPTOCOMPANY>

Looks to me like it escaped it, but yet it still throws the error when IE
tries to view the xml. Im guessing if IE tosses the error then the xml
transform on the asp page will prob. Choke as well.

gabe





-----Original Message-----
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 8:30 AM
To: CF-Talk
Subject: RE: Xmlformat() ... well not formatting

Have you tried...

<SHIPTOCOMPANY><![CDATA[Compañia de Seguros]]></SHIPTOCOMPANY>


....:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-----Original Message-----
From: gabriel l smallman [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 8:24 AM
To: CF-Talk
Subject: Xmlformat() ... well not formatting

Hey all,

Im running into an issue with xml based service. Im sending the following
out the door:

<SHIPTOCOMPANY>Compañia de Seguros</SHIPTOCOMPANY>

The ñ is causing the receiving application to choke when it tries transform
this into an xml object (asp page). I am running xmlformat on all the
fields. The documentation tells me that xmlformat should replace this value
ASCII 241 with its escape. But no joy. Documentation shows that it should
escape ASCII stuff above 127 "the XmlFormat function also escapes hi-ASCII
characters (127 - 256)."

Anyone have this issue and figure something out?

gabe








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223009
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

Reply via email to