Microsoft KB Archive/819333

= BUG: &quot;Run-time error: -2147467259 IPersistXML: Error parsing XML&quot; error message when you load an XML document in Commerce Server 2002 =

Article ID: 819333

Article Last Modified on 3/9/2007

-

APPLIES TO


 * Microsoft Commerce Server 2002, Service Pack 3 (SP3)
 * Microsoft Commerce Server 2002 Service Pack 2
 * Microsoft Commerce Server 2002 Service Pack 1
 * Microsoft Commerce Server 2002 Standard Edition

-





SYMPTOMS
Well-formed XML documents start with a declaration that identifies the document and that identifies the version of XML that is being used. However, if the  tag is present in an XML document, the LoadXML method of the IPersistXML interface fails when the LoadXML method tries to load the document in Microsoft Commerce Server 2002. When this problem occurs, you receive the following error message:

Run-time error: -2147467259 IPersistXML: Error parsing XML

Error Code 0x80004005

Description: “Unspecified error”. Error occurred in XML stream near…



CAUSE
The LoadXML method is not designed to handle all components of an XML document. In this case, the LoadXML method fails when it tries to parse the header.



WORKAROUND
Remove the  tag from the header of the XML document before you process the document.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information about the IPersistXML interface, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/aa481825.aspx

Additional query words: EBizSE 580

Keywords: kbbug KB819333

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.