FIX: MSXML Does Not Parse Slash Mark Character with Base64 Encoded Data (301356)



The information in this article applies to:

  • Microsoft Internet Explorer 5.0 for Windows NT 4.0
  • Microsoft Internet Explorer 5.0 for Windows 98 Second Edition
  • Microsoft XML 2.0

This article was previously published under Q301356

SYMPTOMS

When you parse or load XML base64 encoded data with the MSXML parser version 2.0a and the data contains the slash mark (/) character, you may receive the following error message:
Run-time error '-2147467259 (80004005)':
Error parsing '...' as bin.base64 datatype.

CAUSE

The base64 character set contains the following characters, with decimal values ranging from 0 to 63:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/ 
				
The MSXML parser version 2.0a (Msxml.dll, file version 5.0.2314.1000) that ships with Internet Explorer version 5.0a recognizes the asterisk (*) instead of the slash mark character (/) of the Base64 character set.

RESOLUTION

The bug has been fixed in the MSXML parser version 2.5a (5.0.2919.6303), which ships with Internet Explorer version 5.01 and in later versions of the parser.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

For the latest version and service packs of Internet Explorer, see the following Microsoft Web site:

Modification Type:MajorLast Reviewed:10/1/2002
Keywords:kbbug kbDSupport kbMSXMLnosweep KB301356