Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Abhijeet Anand on May 28, 2008 19:55
open dhtmlx forum
Error During XML Loading in IE

Hi,
I have a functionality where I am generating a very large XML sting which goes as input to the DHTML Tree control. The file is nearly 1 MB in size and close to 12,000 lines. The XML html elements like text box, check boxes, radio button as nodes of the tree. This XML string is generated at the run time, when the DHTML tree makes a request.
When I try to load the page containing the tree control in firefox, it works fine, but when I try to do the same in IE it gives me the following error


1) Error type:LoadXML
Descriptin :Incorrect XML

2) Error type:DataStructure
Descriptin :XML refers to not existing parent

I have validated the XML and its fine.. no issues with the XML.
Also this behaviour is happening when I deploy my code on to the test server but on my local box, it works fine for both IE and fire fox.
Its only the issue when I m testing with IE on Test Server.
Could you please provide some pointers as to what could be the cause for this.

Thanks
Answer posted by Support on May 29, 2008 03:53
Please be sure that XML data sent with correct content type
    Content-type:text/xml
IE will throw an error if XML feed served with different content type.