PostgreSQL does not recognise NULL-value in the XML
I am trying to parse XML using PostgreSQL. XML contains a null-value. The expected type of column is "int". But Postgres treats the value as an empty (not null) string. with data as ( select '<root> <test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <row> <int_value…