After running catqm.sql i still get the same error. And there is no table of the name XMLTYPE either.
SQL> select object_name, object_type , owner , status from dba_objects where object_name='XMLTYPE';

OBJECT_NAME OBJECT_TYPE OWNER STATUS
------------------------------ --------------- --------------- -------
XMLTYPE TYPE SYS VALID
XMLTYPE TYPE BODY SYS VALID
XMLTYPE SYNONYM PUBLIC VALID