好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

ORA-19292: XQST0057: It is a static error if a schema import binds a namespace prefix but does not s

文档解释

ORA-19292: XQST0057: It is a static error if a schema import binds a namespace prefix but does not specify a target namespace other than a zero-length string

Cause: An error occurred during the processing of the XQuery expression.

Action: Check the detailed error message for the possible causes.

这个错误代表在导入XML模式时,尝试绑定命名空间前缀时却没有指定一个非零长度的目标命名空间。

官方解释

XQST0057:如果模式导入绑定namespace前缀,但未指定除零长度字符串以外的目标namespace,则静态错误。

常见案例

错误可能在尝试使用以下语法绑定命名空间前缀时发生:

IMPORT SCHEMA namespace prefix…

例如,使用以下语法:

IMPORT SCHEMA MyPrefix

一般处理方法及步骤

要正确处理,您需要在指定的前缀后添加目标命名空间,或者使用语法如下:

IMPORT SCHEMA namespace = “target_namespace_URI”

例如:

IMPORT SCHEMA MyPrefix = “http://www.example.com/MySchema.xsd”

查看更多关于ORA-19292: XQST0057: It is a static error if a schema import binds a namespace prefix but does not s的详细内容...

  阅读:17次