Search notes:

Oracle: A NULL instance of an XMLTYPE cannot be created

The following select statement throws ORA-06553: PLS-307: too many declarations of 'XMLTYPE' match this call:
select
   xmltype(null)
from
   dual;
The following PL/SQL block throws ORA-06550: line 4, column 7: PLS-00307: too many declarations of 'XMLTYPE' match this call
declare
   x xmltype;
begin
   x:=xmltype(null);
end;
/
Trying to specify a data type for the null value results in ORA-19032: expected XML tag not present:
select
   xmltype(cast (null as varchar2(1)))
from
   dual;

See also

ORA-31011: XML parsing failed

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759428580, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/types/XMLType/constructing-from-null(56): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78