Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 298961 - Last Review: October 16, 2003 - Revision: 2.0
FIX: No Error Message When XML Malformed File Opened in Internet Explorer on Windows 95/98/Me Systems
This article was previously published under Q298961
On This Page
SYMPTOMS
When you use Microsoft Internet Explorer to open an XML file that has no encoding specified and that contains characters with high ASCII-codes, and
your computer is running Microsoft Windows 95, Microsoft Windows 98, or Microsoft Windows Millennium Edition (Me) with MDAC version 2.5 and MSXML version 2.5, Internet Explorer does not display an error message.
Internet Explorer should display the following error message:
An Invalid character was found in text content. Line n, Position n
CAUSE
If an XML file has no encoding specified and contains characters with high ASCII-codes, the UTF-8 decoder in MSXML 2.5 converts these invalid chararacters to unicode #FFFF, which causes internal functions to work improperly on Windows 95, Windows 98, and Windows Me systems, and no error message is displayed in the Internet Explorer window.
RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft Data Access Components 2.5. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
293312Â
(http://kbalertz.com/Feedback.aspx?kbNumber=293312/EN-US/
)
INFO: How to Obtain the Latest MDAC 2.5 Service Pack
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Data Access Components 2.5 Service Pack 2.
MORE INFORMATION
Steps to Reproduce Behavior
Save the following code in an XML file and open the file in Internet Explorer. No error message is displayed on Windows Windows 95, Windows 98, and Windows Me systems with MDAC 2.5 and MSXML 2.5.
<?xml version="1.0" ?>
<!-- test -->
<root>
<name type="first name">John</name>
<name>Doe</name>
<name></name>
</root>
REFERENCES
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
296730Â
(http://kbalertz.com/Feedback.aspx?kbNumber=296730/EN-US/
)
INFO: MDAC 2.5 Service Pack 2 Included in Windows 2000 Service Pack 2 Release
APPLIES TO
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.5 Service Pack 1
- Microsoft XML Parser 2.5
| kbbug kbfix kbmdac250sp2fix kbmsxmlnosweep KB298961 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please