On 08/31/2009 07:43 AM, Rahul wrote: > > Hi > I just checked and i am not getting an null response > xmlDoc1 is not empty with FireFox also
What happens after the removeWhitespace() call? Also, try pruning the MDL file to a bare minimum. See if that works on all browsers. Then start adding back HTML elements. I'm not convinced that there isn't an error about which either FF or Chrome is stricter than IE. The other thing you can try is to take the result of the removeWhitespace() call (via capturing the output from a call to GWT.log), add any missing elements (like Head), put it into a separate HTML file and load it via the "load file." See if all three browsers correctly load the file. > > > > On Aug 28, 3:53 pm, Jeff Chimene <[email protected]> wrote: >> On 08/28/2009 07:03 AM, Rahul wrote: >> >> >> >> >> >>> Hi >>> This is a sample code how i am using to create my UI from parsing XML >>> files >> >>> protected void fucn(final VerticalPanel verticalPanel, String >>> substring,final PickupDragController drag) { >>> // TODO Auto-generated method stub >>> RequestBuilder builder1 = new RequestBuilder >>> (RequestBuilder.GET,substring+".mdl"); >>> try >>> { >>> Request request1 = builder1.sendRequest(null, new >>> RequestCallback() >>> { >> >>> public void onError(Request request1, Throwable >>> exception) { >>> } >> >>> @Override >>> public void onResponseReceived(Request request1, >>> Response response1) >>> { >>> Document xmlDoc1 = >>> XMLParser.parse(response1.getText()); >> >> You wrote earlier that "... I am believing that it gets an null response" >> >> is xmlDoc1 indeed empty? >> >> My guess is that there is a subtle syntax error in the MDL file; which >> problem IE ignores. FF on the other hand doesn't let it slide. >> >>> XMLParser.removeWhitespace(xmlDoc1); >> >> Does xmlDoc1 lose its contents after this call? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
