Article ID: 914640 - Last Review: April 25, 2006 - Revision: 2.2 Error message when you try to convert a string to the XML data type in SQL Server 2005: "Cannot bind to the reserved namespace"Bug #: 383622 (SQLBUDT) On This PageSYMPTOMSWhen you try to convert a string to the
XML data type in Microsoft SQL Server 2005, you may receive the following error message:
An error occurred while executing batch. Error
message is: Cannot bind to the reserved namespace. CAUSEThis problem occurs because the XML specification does not
allow the namespace "http://www.w3.org/XML/1998/namespace" to be bound to any
prefix other than "xml". RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:913089
(http://support.microsoft.com/kb/913089/
)
How to obtain the latest service pack for SQL Server 2005
WORKAROUNDTo work around this problem, do not bind the namespace
"http://www.w3.org/XML/1998/namespace" to any prefix other than "xml."
Additionally, the prefix is case sensitive. Therefore, "XML" will not
work. STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. This problem was first corrected in Microsoft SQL Server 2005 Service Pack 1. | Article Translations
|
Back to the top
