Microsoft KB Archive/257723

= FIX: XML Data Island Does Not Load Correctly in Internet Explorer =

Article ID: 257723

Article Last Modified on 5/11/2006

-

APPLIES TO


 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01

-



This article was previously published under Q257723



97989, 93604, 423083



SYMPTOMS
When you load an HTML document with an inline XML data island, sometimes the data island does not load correctly. The following error message: appears:

Object Required.



RESOLUTION
To resolve this problem, obtain the latest service pack for Internet Explorer version 5.01. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

267954 How to Obtain the Latest Internet Explorer 5.01 Service Pack

Use the SRC attribute of the data island to point to an XML file or an Active Server Pages (ASP) page that returns XML data instead of embedding the XML data file directly in the data island itself. For example:  or 



STATUS
This problem was first corrected in Internet Explorer version 5.01 Service Pack 2.This problem was corrected in Internet Explorer 5.5.



MORE INFORMATION
This problem only occurs with Internet Explorer 5.01, and it usually happens when you access the XMLDOM of a large or complex inline XML data island. Internet Explorer 5.0 works correctly.

Steps to Reproduce Behavior
  Create an Active Server Pages (ASP) page called InlineXML.asp that is similar to the following: <%@ Language=VBScript %>    function Show {           if (docXML.readyState=="complete") {               alert(docXML.documentElement.xml); }   }

 

 <P> Click on the "Show me the XML" button, an alert will comes up showing the xml of the data island. When the XML Data Island is not loaded correctly, a runtime error will be generated instead.</P> <xml id=docXML> <%    Response.Write " " %> <P>&#xa0;</P> <input type="button" onClick="Show" value="Show me the XML"> </BODY> </HTML> </li> <li>Use Internet Explorer 5.01 to navigate to InlineXML.asp.</li> <li>Click the Show me the XML button. Occasionally, Internet Explorer will return the error noted in this article or a similar error.</li></ol>

<div class="references_section">