Help and Support
 

powered byLive Search

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

Article ID:257723
Last Review:May 11, 2006
Revision:3.0
This article was previously published under Q257723
97989, 93604, 423083
On This Page

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.

Back to the top

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 (http://support.microsoft.com/kb/267954/EN-US/) 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:
<xml src="myXML.xml"></xml> or <xml src="myXML.asp"></xml>
				

Back to the top

STATUS

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

Back to the top

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.

Back to the top

Steps to Reproduce Behavior

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

</Script>
</HEAD>

<BODY>
<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 "<Data>"
	for i=1 to 100
	
	Response.Write "<Node>Node " & i & "</Node>"
	
	next
	Response.Write "</Data>"
%>
</xml>
<P>&#xa0;</P>
<input type="button" onClick="Show()" value="Show me the XML"></input>
</BODY>
</HTML>
					
2.Use Internet Explorer 5.01 to navigate to InlineXML.asp.
3.Click the Show me the XML button. Occasionally, Internet Explorer will return the error noted in this article or a similar error.

Back to the top

REFERENCES

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
239540 (http://support.microsoft.com/kb/239540/EN-US/) PRB: XML Viewer Does Not Perform Validation
254643 (http://support.microsoft.com/kb/254643/EN-US/) PRB: loadXML Method Fails to Process DTD or Schema with Relative Path at the Server Side
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
http://msdn.microsoft.com/ie/ (http://msdn.microsoft.com/ie/)

http://support.microsoft.com/iep (http://support.microsoft.com/iep)
XML Developer Center (http://msdn.microsoft.com/xml/default.asp)

Back to the top


APPLIES TO
Microsoft Internet Explorer 5.0
Microsoft Internet Explorer 5.01

Back to the top

Keywords: 
kbbug kbfix kbie501presp2fix kbmsxmlnosweep KB257723

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.