ORA-19138
        invalid target type of cast or castable expression
        
        
        Cause
        A target type of a cast or castable expression was not a valid atomic type.
        Action
        Ensure that a cast or castable expression is an atomic type that is in the schema types in-scope and it is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator "?".
        
     
    
    
        ORA-19138
        The target type of a cast or castable expression must be an atomic type that is in the in-scope schema types and is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator "?"; otherwise a static error is raised
        
        
        Cause
        An error occurred during the processing of the XQuery expression.
        Action
        Check the detailed error message for the possible causes.
        
     
    
    
        ORA-19138
        The target type of a cast or castable expression must be an atomic type that is in the in-scope schema types and is not xs:NOTATION or xs:anyAtomicType, optionally followed by the occurrence indicator "?"; otherwise a static error is raised
        
        
        Cause
        An error occurred during the processing of the XQuery expression.
        Action
        Check the detailed error message for the possible causes.