Hi Pradeep, _IG_FetchXmlContent is a wrapper function intended to create compatibility with the older google gadgets specification. You should not use this function, but rather use gadgets.io.makeRequest() instead. Here's a link to a page that shows some examples of using this function:
http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest You probably want to use the DOM content-type. Hope this helps, ~Arne On Sun, Feb 24, 2008 at 5:48 AM, pradeep <[EMAIL PROTECTED]> wrote: > > I am trying to load an XML file by using URL. In the callback > function, i am not able to access it as an xmlResponse object. It is > null. > I am using _IG_FetchXmlContent to fetch the XML content. > > Example: > > _IG_FetchXmlContent(url,method); > method(xml){ > if(xml==null) > alert('Evil'); > } > > This code alerts with the 'Evil' message. > > > > On Feb 19, 11:03 pm, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]> > wrote: > > Are you sure this is an error and not just visible in the response from > the > > Orkut server? This string is placed in front of JSON encoded data that > is > > returned from the OpenSocial queries you send to Orkut, but stripped out > > before it reaches your application. It shouldn't be causing an error > in > > the page, though - please let me know if it is causing a JS error. > > > > Thanks, > > ~Arne > > > > On Feb 17, 2008 8:56 AM, Cory R. <[EMAIL PROTECTED]> wrote: > > > > > > > > > There's a toggle button in the firefox preferences marked "Be Evil". > > > > > Uncheck that, you should be fine. > > > > > I've seen this error too, but I've not found the true answer =) > > > > > On Feb 16, 8:11 am, RS <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > > I have noticed "throw 1; < don't be evil' error in "Firebug" > Console. > > > > But my page loaded properly. Any Idea what is causing this error? > > > > > > Cheers, > > > > RS > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

