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
-~----------~----~----~----~------~----~------~--~---

Reply via email to