Start of change

-20275   The XML NAME xml-name IS NOT VALID. REASON CODE = reason-code

Explanation

The statement contains an invalid XML name.

xml-name
The invalid name string.
reason-code
The reason for the message or SQL code, indicated by one of the following values:
1
The value "xmlns" is used either as an attribute name or as a prefix for an element or attribute name.
2
The namespace prefix in a qualified name is not declared within its scope.
3
The name for an element or attribute is not an XML QName.
4
The name of the XML processing instruction is not an XML NCName.
5
The name of the XML processing instruction cannot contain the letter string "xml" in any combination of upper or lower case characters.
6
The name for an argument of XMLTABLE, XMLQUERY or XMLEXISTS expression is not an XML NCName.

System action

The statement cannot be processed.

Programmer response

Correct the XML name and resubmit the statement.

SQLSTATE

42634

End of change