Oracle Message ORA-19028 - Invalid ADT parameter passed to toObject() function

ERRORInvalid ADT parameter passed to toObject() function
CAUSEThe object passed as ADT parameter to sys.XMLType.toObject() is not the same type, or a super-type, of the mapped type.
ACTIONPass an object of the correct type to toObject().