-16015 AN ELEMENT CONSTRUCTOR CONTAINS AN ATTRIBUTE NODE NAMED attribute-name THAT FOLLOWS AN XQUERY NODE THAT IS NOT AN ATTRIBUTE NODE. ERROR QNAME = err:error-name
Explanation
The content sequence of an element constructor contains an attribute node that follows anXQuery node that is not an attribute node.
- attribute-name
- The name of the attribute node.
- err:error-name
- The error. Expected values are:
- err:XQTY0024
- The content sequence of an element constructor contains an attribute node that follows an XQuery node that is not an attribute node. Attribute nodes can occur only at the beginning of the content sequence.
- err:XUTY0004
- The content of an insertion sequence based on the source expression of an insert expression or a replace expression contains an attribute node that follows an XQuery node that is not an attribute node. Attribute nodes can occur only at the beginning of the insertion sequence.
System action
The XQuery expression cannot be processed.
Programmer response
Modify the content sequence to ensure that attribute nodes follow other attribute nodes.
SQLSTATE
10507