Microsoft KB Archive/823593

= INFO: List of Bugs That Are Fixed in Microsoft XML 3.0 Service Pack 4 =

Article ID: 823593

Article Last Modified on 1/21/2004

-

APPLIES TO


 * Microsoft XML Parser 3.0

-



SUMMARY
This article provides information about the bugs that are fixed in Microsoft XML Parser (MSXML) 3.0 Service Pack 4 (SP4).

Microsoft service packs are cumulative and include bugs that are fixed in earlier service packs that were released for the product.

This service pack includes the bug fixes that are included in MSXML 3.0 Service Packs 1, 2, and 3. For additional information about how to obtain MSXML 3.0 service packs, click the following article number to view the article in the Microsoft Knowledge Base:

308480 INFO: How to Obtain the Latest Microsoft XML 3.0 Service Pack



MSXML 3.0 SP4
  While transforming certain data by using the format-number function in XSLT, an Access Violation occurs.

When you use the format-number function in XSLT while transforming XML data, an access violation occurs. The problem occurs when you use 18-digit numbers.

To reproduce the problem, use the following .xsl and .xml files:

Format.xsl
       

Format.xml
    Resetting an empty nodelist caused a Null reference general protection fault (GPF).

In MSXML 3.0 SP2, calling the reset method on a node list that is empty may produce a GPF. The following VBScript code reproduces the problem: Dim dom Set dom = CreateObject(“MSXML2.DomDocument”); dom.loadXML “<a>abc</a>” dom.documentElement.firstChild.childNodes.reset </li>  Crash would occur when validating circular entity reference defined in XML Document Type Definition (DTD). The XML DTD [ Document Type definition ] is a standard used to define the valid building blocks that can be used to create an instance of a specific XML document. It defines an XML document’s structure with a list of valid elements and attributes that can be used to create an instance of the XML document. A DTD can be declared inline within the XML document, or externally in a separate file.If declared externally, it will need to be referenced in the XML file to which it is applicable.

DTDs are commonly used to validate the structure of an XML document. Validating the structure of an XML document is a very important requirement in XML based applications that need to receive and process XML data from a variety of internal and external sources. Validation helps verify that the data in an XML document adheres to the structure defined in its associated DTD. This is a proactive step that needs to be executed before the XML data is processed in order to prevent errors that could occur as a result of invalid, or required but missing elements and attributes in the data.

If a DTD contains a circular reference, MSXML may stop responding. The following code reproduces the problem:

MyXml.xml
<?xml version=&quot;1.0&quot;?> <!DOCTYPE test [ <!ELEMENT test ANY> <!ELEMENT a ANY> <!ENTITY z &quot;<a>&z;</a>&quot;> ]> &z; In this instance, the entity &quot;z&quot; replaces the &quot;&z&quot; with XML. At this point, the parser tries to replace the entity again with the XML, thus producing a circular reference. </li></ul>

<div class="references_section">

MSXML 3.0 SP3
For additional information about the problems that are fixed by MSXML 3.0 Service Pack 3, click the following article numbers to view the articles in the Microsoft Knowledge Base:

328995 INFO: List of Issues Fixed in MSXML 3.0 Service Pack 3 (Part 1)

328998 INFO: List of Issues Fixed in MSXML 3.0 Service Pack 3 (Part 2)

MSXML 3.0 SP2
For additional information about the problems that are fixed by MSXML 3.0 Service Pack 2, click the following article numbers to view the articles in the Microsoft Knowledge Base:

308563 INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 1 of 4)

308564 INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 2 of 4)

308565 INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 3 of 4)

308566 INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 2 (Part 4 of 4)

Microsoft XML Parser (MSXML) 3.0 Service Pack 1
For additional information about the problems that are fixed by MSXML 3.0 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:

292935 INFO: List of Issues Fixed in Microsoft XML 3.0 Service Pack 1

Keywords: kbinfo KB823593

-

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

© Microsoft Corporation. All rights reserved.