SOLVED: URL had leading space. trim() fixed it. Thanks! :-)
On Tue, Jun 17, 2014 at 3:10 PM, John M Bliss <bliss.j...@gmail.com> wrote: > Element. This changed my XML from this: > > <Url>http://myurl.com/?x=y&a=b <http://myurl.com/?x=y&a=b></Url> > > ...to this: > > <Url><![CDATA[ http://myurl.com/?x=y&a=b]]></Url> > > ...which, I guess, was the desired effect. Now, response I'm getting has > changed to, "URL 'http:// http://myurl.com/?x=y&a=b' is not in the > expected format." Repeating "http://" is new... > > > On Tue, Jun 17, 2014 at 3:03 PM, Dave Watts <dwa...@figleaf.com> wrote: > >> >> > CDATA: MyXMLObj.MyXMLChild[1].XMLCData=èttp://myurl.com?x=y&a=b'; >> > >> > Most XML libraries for other languages will read CDATA just like they >> would a non-escaped node. >> >> I'm pretty sure that this will only work for element values, not >> attribute values. I'm not sure whether John's using this in an element >> or an attribute. >> >> Dave Watts, CTO, Fig Leaf Software >> 1-202-527-9569 >> http://www.figleaf.com/ >> http://training.figleaf.com/ >> >> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on >> GSA Schedule, and provides the highest caliber vendor-authorized >> instruction at our training centers, online, or onsite. >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358749 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm