Article ID: 279430 - View products that this article applies to.
This article was previously published under Q279430
When you invoke the sp_xml_preparedocument stored procedure, the call fails with this error message:
Server: Msg 6603, Level 16, State 1, Procedure sp_xml_preparedocument, Line 19 XML parsing error: A string literal was expected, but no opening quote character was found.
The sp_xml_preparedocument stored procedure was given an invalid XML document to process.
Correct the XML document passed into the sp_xml_preparedocument stored procedure for processing.
Users have requested that the program have the ability to provide the location within the XML document in which the error is located. Currently, this functionality does not exist. However, here is way you can determine where the error is occurring in your XML document:
Steps to Reproduce Behavior