PRB: XML Parser Cannot Parse UTF-7 Documents (251134)
The information in this article applies to:
- Microsoft XML 2.0
- Microsoft XML 2.5
This article was previously published under Q251134 SYMPTOMS
When attempting to load an XML file saved as UTF-7 (a transfer encoding format for Unicode), the XML parser in Internet Explorer generates the following error message:
Invalid at the top level of the document.
The same error also occurs when using the MSXML parser from server-side or client-side script.
CAUSE
Versions of the MSXML parser prior to MSXML 2.6 do not support UTF-7.
RESOLUTION
To resolve this problem, save your XML documents as UTF-8, the preferred transfer encoding format for Unicode.
MSXML 2.6 or later supports UTF-7 encoding.
STATUS
This behavior is by design.
REFERENCES
For more information on Unicode, please visit the following Web addresses For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Jay Andrew Allen, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbBug kbIntl kbIntlDev kbnofix kbprb kbUnicode KB251134 |
---|
|