ORA-19280: XQuery dynamic type mismatch: expected atomic value – got node
Cause: A node was passed in to the expression where an atomic value was expected.
Action: Correct the XQuery expression to return an atomic value.
Ora-19280错误表明XQuery查询在尝试将节点类型转换为原子(单一)值时发生了动态类型不匹配的错误。
ORA-19280: XQuery dynamic type mismatch: expected atomic value – got node 错误消息表明XQuery查询在尝试将节点类型转换为原子(单一)值时发生了动态类型不匹配的错误。
ORA-19280: XQuery dynamic type mismatch: expected atomic value – got node(例如,将XML中句点的结果转换为字符串,如下图所示):
要解决ORA-19280错误,请重新定义查询的类型或更改XML文档的数据类型以使其与先前定义的类型匹配。