My XMLhttpRequest object is returning with a wddxpacket and two whole lines of white spaces which I like to remove. I didn't know cfc's returned with white spaces.
Ex. In the browser source window //white space or /n //white space or /n <wddxPacket version='1.0'><header/><data><string>0</string></data></wddxPacket> I think the white spaces are causing wddxDes errors too. Error from wddxDes.js Error: str.split is not a function Source File: http://dan:8500/wddxDes.js Line: 758 alert("response was"+req.responseText+":"); between the "was" and "<wddx" is a large space. I was wondering if anyone has deserialized WDDX packets from CF and removed the white space returned by a CFC? My Code: MyDeser = new WddxDeserializer; Books = MyDeser.deserialize(req); When I view the cfc from the browser it returns with at least two lines of white space which can't be good. I have tried <cfreturn trim(helloworld)> but I think the white spaces are server side. Anyone ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196689 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

