Cause: The object passed as ADT parameter to sys.XMLType.toObject() is not the same type, or a super-type, of the mapped type. See the solution below.
Error solution: Pass an object of the correct type to toObject().
Database version: Oracle 11g Release 2 (11.2)