Article ID: 290083 - View products that this article applies to.
This article was previously published under Q290083
BUG #: 236233 (SHILOH_BUGS)
In an XML EXPLICIT mode, under certain conditions, with the xmltext element defined as double-byte character set (DBCS), a query may not overwrite the conflict attribute and may produce XML that is not well-formed.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
In an XML EXPLICIT mode, under normal conditions, if an attribute that appears in the xmltext element conflicts with an attribute that is retrieved on the same element level, the attribute in xmltext is ignored and overwritten. Under certain conditions with DBCS, however, the conflict attribute is not overwritten, but is instead duplicated. This produces XML that is not well-formed.
To reproduce this behavior, create a table, insert a row, and query the table as follows:
The following is returned
when the expected result should be as follows:
Contact us for more help
Connect with Answer Desk for expert help.