FIX: SAX MSXMLWriter Fails to Save Characters Under Certain Encoding (291370)
The information in this article applies to:
- Microsoft XML 3.0
- Microsoft XML 3.0 SP1
This article was previously published under Q291370 SYMPTOMS When you call the parse or parseURL methods of the SAXXMLReader to parse XML data that contains characters that cannot be
represented in the output encoding of the Simple API for XML (SAX) MSXMLWriter, you receive the following error message:
Unable to save character to 'iso-8859-1' encoding. -2147467259 For
example, the error message occurs when the XML data contains the characters
&#B9 FA; &#E1 BB; in GB2312 encoding while the output encoding for the
SAX MSXMLWriter is set to ISO-8859-1. CAUSE The XML data contains a character that cannot be
represented in the ISO-8859-1 character set. STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
This
bug was corrected in Microsoft XML 3.0 Service Pack 1.
For additional information on other fixes included in Microsoft
XML 3.0 Service Pack 1, click the article number below to view the article in
the Microsoft Knowledge Base: 292935 INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 1
For the latest information and downloads of MSXML,
refer to the following Web site:
Modification Type: | Minor | Last Reviewed: | 8/9/2004 |
---|
Keywords: | kbdownload kbdownload kbBug kbfix KbMSXML300SP1fix kbMSXMLnosweep KB291370 |
---|
|