Oracle Error ORA-19256: XQST0036 – missing type definitions in imported module

Oracle Error Message

ORA-19256: XQST0036 – missing type definitions in imported module

Reason for the Error

A module was imported, which contains references to type names that are not defined in the in-scope type definitions inside the module.

Solution

Fix the module definintion to include the in-scope type definition.