The information in this post comes from Books OnLine (ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/6bb3bfaa-0ddd-423a-ac0d-e9bafcc1ad76.htm) and this online update.
There are a number of SET options that impact access to data contained in the XML datatype, as well as the ability to construct and modify primary and secondary XML indexes. Here's the list:
If these options are not set as shown, you'll get runtime errors when you attempt to access or modify XML data.
Thanks to Remus Rusanu, who provided the MSDN link, which was the first I'd heard that these limitations extended to XML access as well as index creation.
Frequent visitors might recall a thread earlier in the spring regarding optional parameters to a stored...