SQL Server Errors or Failures Error: 2337 to Error: 2361

Error: 2337, Severity: 16, %sThe target of ‘replace’ must be at most one node, found ‘%ls’,
Error: 2338, Severity: 16, %sThe second ‘replace’ operand must contain only nodes, found ‘%ls’,
Error: 2339, Severity: 16, %sEither a memberType attribute or a simpleType child must be present. Location: ‘%ls’.,
Error: 2340, Severity: 16, %sComment started on line %u has no end,
Error: 2341, Severity: 16, %sExpected hex character code following ‘\\x’,
Error: 2342, Severity: 16, %sInvalid numeric constant.,
Error: 2343, Severity: 16, %sUnterminated text section – missing `,
Error: 2348, Severity: 16, %sA namespace URI should contain at least one non-whitespace character.,
Error: 2349, Severity: 16, %sAttempt to redefine namespace prefix ‘%ls’,
Error: 2350, Severity: 16, %sInvalid XML element content,
Error: 2351, Severity: 16, %sExpected ‘first’ or ‘last’,
Error: 2353, Severity: 16, %s’to’ or ‘insert’ or ‘delete’ expected,
Error: 2354, Severity: 16, %sInvalid source character encoding,
Error: 2355, Severity: 16, %s’else’ expected,
Error: 2356, Severity: 16, %sThe target of ‘replace value of’ must be a non-metadata attribute or an element with simple typed content, found ‘%ls’,
Error: 2357, Severity: 16, %sA document node may only be replaced with another document node, found ‘%ls’,
Error: 2358, Severity: 16, %sDerivation with both a ‘base’ attribute and an embedded type definition is not supported in this release. Location: ‘%ls’.,
Error: 2359, Severity: 16, %sThe target of ‘%ls’ may not be a constructed node,
Error: 2360, Severity: 16, %sCannot have both a ‘name’ and ‘ref’ attribute. Location: ‘%ls’.,
Error: 2361, Severity: 16, %sThe base type of an XSD extension or restriction type must be a simple type.,
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.