@@ -148,6 +148,18 @@ SELECT xmlelement(name foo, bytea 'bar');
148148ERROR: unsupported XML feature
149149DETAIL: This functionality requires the server to be built with libxml support.
150150HINT: You need to rebuild PostgreSQL using --with-libxml.
151+ SELECT xmlelement(name foo, xmlattributes(true as bar));
152+ ERROR: unsupported XML feature
153+ DETAIL: This functionality requires the server to be built with libxml support.
154+ HINT: You need to rebuild PostgreSQL using --with-libxml.
155+ SELECT xmlelement(name foo, xmlattributes('2009-04-09 00:24:37'::timestamp as bar));
156+ ERROR: unsupported XML feature
157+ DETAIL: This functionality requires the server to be built with libxml support.
158+ HINT: You need to rebuild PostgreSQL using --with-libxml.
159+ SELECT xmlelement(name foo, xmlattributes('infinity'::timestamp as bar));
160+ ERROR: unsupported XML feature
161+ DETAIL: This functionality requires the server to be built with libxml support.
162+ HINT: You need to rebuild PostgreSQL using --with-libxml.
151163SELECT xmlparse(content 'abc');
152164ERROR: unsupported XML feature
153165DETAIL: This functionality requires the server to be built with libxml support.