Microsoft Knowledge Base Email Alertz

KBAlertz.com: (818085) - This article is a part 4 of 4 in the series of articles that documents the bugs that are fixed in Microsoft XML (MSXML) 4.0 Service Pack 2 (SP2). The following bugs have been fixed in MSXML 4.0 SP2: Fix: Validation of XML by Using an XDR That Has an...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 818085 - Last Review: August 27, 2003 - Revision: 2.0

INFO: List of Issues Fixed in MSXML 4.0 SP2 (Part 4 of 4)

SUMMARY

Fix: Validation of XML by Using an XDR That Has an Element with More Than 16 Attributes May Cause Access Violation

When an element has more than 16 attributes, internal objects that keep track of the attributes may run out of bounds while storing the attributes. The problem may not occur immediately.

Fix: GetValue() and GetQName() in SAXXMLReader May Cause Memory Leak

This problem typically occurs when you use a contentHandler that pulls information from the ISAXAttributes and IVBSAXAttributes interfaces. The interfaces leak BSTRs that are not cleaned up correctly.

Fix: Calling SelectSingleNode Method from COM+ May Cause Access Violation Under Stress

An Access violation may occur under stress when you call the selectSingleNode method from a COM+ component. This problem has not been seen in other methods.

Fix: "MyNamespace:string Is Undefined" Error Message Occurs When You Include an XSD

When you have a schema that redefines the default namespace with the XSD namespace, and include that schema in another schema that has a targetNamespace, you may receive the following error message when compiling the parent schema:
myNamespace:string is undefined
This error occurs because the default namespace in the included schema is replaced by the targetNamespace in the including schema. The following two schemas illustrate this problem:

FirstSchema.xsd
<?xml version="1.0" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="myNamespace" xmlns:ns="myNamespace" elementFormDefault="qualified">
	<include schemaLocation="includedSchema.xsd" />
	<element name="root" type="ns:MainType" />
	<complexType name="MainType">
		<sequence>
			<element name="myElement" type="ns:globalTypeMyType" />
		</sequence>
	</complexType>
</schema>
IncludedSchema.xsd
<?xml version="1.0" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" version="1.0" elementFormDefault="qualified" xml:lang="EN">
	<simpleType name="globalTypeMyType">
		<restriction base="string">
			<enumeration value="Type1" />
			<enumeration value="Type2" />
		</restriction>
	</simpleType>
</schema>

Fix: SAXXMLReader.parse Method Does Not Release IStream Pointer When Returned

When you call the parse method on the SAXXMLReader, and pass it a variant that contains an IUnknown pointer to a stream object, the SAX parser does not release the pointer when the method has completed. To release the pointer, destroy the reader or make a subsequent call to the parse method by using a NULL variant as the parameter.

Fix: Redirect to a Relative URL Does Not Work When You Use ServerXMLHTTP

When you retrieve a page that redirects you to a relative URL, you may receive the following error message:
Unspecified error.
This only occurs when you use a ServerXMLHTTP object.

Fix: Single-Line XML Input in a SAXXMLReader May Cause Slow Performance

When you call the parse method on the SAXXMLReader, and you load large XML documents that do not have any line-breaks, you may see slow performance. Also, memory usage may increase dramatically. This does not occur when you use MSXML 3.0. This behavior occurs because the MSXML 4.0 SAX parser buffers the whole document in memory before it parses the document. The MSXML 4.0 SAX parser uses line-break checks to stop buffering and to process what it had before getting the next chunk of XML. When there are no line breaks in an XML document or stream, all data is buffered. This can use a lot of memory, and performance can drop when you work with large volumes of data.

Design Change: The Pre-compiled (Original) Schema Is Loaded in the Schema Object Model

The Schema Object Model (SOM) is an implementation where you can walk the loaded schema. In MSXML 4.0 SP1, when you retrieve the schema, you receive the post-compiled schema. In MSXML 4.0 SP2, you receive the original or pre-compiled schema. This changes the way you walk the schema. However, it does not change the validation aspect of the schema. The schema continues to validate the XML correctly.

REFERENCES

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
818081  (http://kbalertz.com/Feedback.aspx?kbNumber=818081/EN-US/ ) INFO: List of Issues Fixed in MSXML 4.0 SP2 (Part 1 of 4)
818083  (http://kbalertz.com/Feedback.aspx?kbNumber=818083/EN-US/ ) INFO: List of Issues Fixed in MSXML 4.0 SP2 (Part 2 of 4)
818084  (http://kbalertz.com/Feedback.aspx?kbNumber=818084/EN-US/ ) INFO: List of Issues Fixed in MSXML 4.0 SP2 (Part 3 of 4)


APPLIES TO
  • Microsoft XML Core Services 4.0 Service Pack 1
Keywords: 
kbinfo kbxml KB818085
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please