Monday, 2 April 2012

ORA-19284: Encoding specification in version declaration not supported

ORA-19284: Encoding specification in version declaration not supported

Cause: The query contained an encoding specification.

Action: Remove the encoding specification.

ORA-19283: XQ0031 - It is a static error if the version number specified in a version declaration is not supported by the implementation.

ORA-19283: XQ0031 - It is a static error if the version number specified in a version declaration is not supported by the implementation.

Cause: The query contained a version declaration not supported by this implementation.

Action: Change the version declaration to 1.0 which is the version supported by this implementation.

ORA-19282: XQ0068 - It is a static error if a Prolog contains more than one xmlspace declaration

ORA-19282: XQ0068 - It is a static error if a Prolog contains more than one xmlspace declaration

Cause: The query prolog contained multiple xmlspace declarations.

Action: Remove the duplicate xmlspace declarations.

ORA-19281: XQ0055 - It is a static error if a Prolog contains more than one inherit-namespaces declaration

ORA-19281: XQ0055 - It is a static error if a Prolog contains more than one inherit-namespaces declaration

Cause: The query prolog contained multiple inherit-namespaces declarations.

Action: Remove the duplicate inherit-namespaces declarations.

ORA-19280: XQuery dynamic type mismatch: expected atomic value - got node

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-19279: XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence

ORA-19279: XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence

Cause: The XQuery sequence passed in had more than one item.

Action: Correct the XQuery expression to return a single item sequence.

ORA-19278: Invalid value: (string) for type: (string)

ORA-19278: Invalid value: (string) for type: (string)

Cause: The value was invalid for the type.

Action: Correct the value or change the type.