SQL Server Errors or Failures from Error: 6307 to Error: 6328

Error: 6307, Severity: 16, XML well-formedness check: Attribute cannot appear outside of element declaration. Rewrite your XQuery so it returns well-formed XML.
Error: 6308, Severity: 16, XML well-formedness check: Duplicate attribute ‘%.*ls’. Rewrite your XQuery so it returns well-formed XML.
Error: 6309, Severity: 16, XML well-formedness check: the data for node ‘%.*ls’ contains a character (0x%04X) which is not allowed in XML.
Error: 6310, Severity: 16, Altering existing schema components is not allowed. There was an attempt to modify an existing XML Schema component, component namespace: ‘%.*ls’ component name: ‘%.*ls’ component kind:%.*ls
Error: 6311, Severity: 16, An internal XMLDB schema processor error occurred. Contact Technical Support for assistance.
Error: 6312, Severity: 16, Could not find schema components with target namespace ‘%.*ls’ in collection ‘%.*ls’.
Error: 6314, Severity: 16, Collection specified does not exist in metadata : ‘%.*ls’
Error: 6315, Severity: 16, XQuery: Cannot update with value ‘%.*ls’ as the canonical form of type ‘{%.*ls}%.*ls’ violates the required pattern. It is recommended that you not use pattern facets on non-string types.
Error: 6316, Severity: 16, Specified component ‘%s’ can not be dropped because it is used by component:’%s’
Error: 6317, Severity: 16, XQuery: Cannot update with value ‘%.*ls’ because it failed validation against type ‘{%.*ls}%.*ls’
Error: 6318, Severity: 16, XQuery: String conversion failed during UPDATE validation
Error: 6320, Severity: 16, XQuery: Only nillable elements or text nodes can be updated with empty sequence
Error: 6321, Severity: 16, xml:space attribute must have a value of ‘preserve’ or ‘default’. ‘%.*ls’ is not valid.
Error: 6322, Severity: 16, XML Parser ran out of memory. This could be caused by too many attributes or namespace declarations.
Error: 6323, Severity: 16, The xml schema collection for variable ‘%.*ls’ has been altered while the batch was being executed. Remove all XML schema collection DDL operations it is dependent on from the batch, and re-run the batch.
Error: 6324, Severity: 16, DROP XML INDEX does not support any options.
Error: 6325, Severity: 16, XQuery: Replacing the value of a node with an empty sequence is allowed only if ‘()’ is used as the new value expression. The new value expression evaluated to an empty sequence but it is not ‘()’.
Error: 6326, Severity: 16, XML well-formedness check: XML namespace declaration cannot appear outside of element declaration. Rewrite your XQuery so it returns well-formed XML.
Error: 6327, Severity: 16, The specified xml schema collection ID is not valid: %d
Error: 6328, Severity: 16, Specified collection ‘%.*ls’ cannot be dropped because it is used by %S_MSG ‘%ls’.
This is applicable on below versions of SQL Server
SQL Server 2005
SQL Server 2008 R2
SQL Server 2012
SQL Server 2014
Hope this was helpful.
Thanks,
SQLServerF1 Team
In-Depth Blogs on SQL Server, Information about SQL Server Conferences and Events, SQL Server Frequently asked questions, SQL Server Trainings.