The error doesn't look right. Are you sure it's generated by XMLTOCURSOR()?
The XMLTOCURSOR() internally uses MSXML 3.0. I would try to upgrade to the latest SP
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=28494391-052b-42ff-9674-f752bdca9582>the name is passed in and in this particular error it was "savesch_employee"
>
>I have tested by creating a log table where lcXML and lcTableCursorName are captured before and after the statement. When the errror happens, i have tested the lcXML to make sure it is valid.
>
>I was assuming that some how the lcXML was at fault, but for the life of me, can not get an example when it is not.
>
>is it possible that the XMLTOCURSOR function is creating a naming convention "_XMLArray_B8468283_C239_4DA8_B4B2_49FAD15EB656_" that is conflicting with something?
>
--sb--