diff -U3 /home/postgres/oss_postgres_misc/src/test/regress/expected/xml.out /home/postgres/oss_postgres_misc/src/test/regress/results/xml.out
--- /home/postgres/oss_postgres_misc/src/test/regress/expected/xml.out 2023-02-16 07:53:55.577490032 +1100
+++ /home/postgres/oss_postgres_misc/src/test/regress/results/xml.out 2023-02-16 08:19:25.588981111 +1100
@@ -9,8 +9,6 @@
LINE 1: INSERT INTO xmltest VALUES (3, '', NULL, '');
xmlconcat
--------------
@@ -255,16 +251,12 @@
&
^
line 1: chunk is not well balanced
-&
- ^
SELECT xmlparse(content '&idontexist;');
ERROR: invalid XML content
DETAIL: line 1: Entity 'idontexist' not defined
&idontexist;
^
line 1: chunk is not well balanced
-&idontexist;
- ^
SELECT xmlparse(content '');
xmlparse
---------------------------
@@ -283,11 +275,7 @@
&idontexist;
^
line 1: Opening and ending tag mismatch: twoerrors line 1 and unbalanced
-&idontexist;
- ^
line 1: chunk is not well balanced
-&idontexist;
- ^
SELECT xmlparse(content '');
xmlparse
---------------------
@@ -297,8 +285,6 @@
SELECT xmlparse(document ' ');
ERROR: invalid XML document
DETAIL: line 1: Start tag expected, '<' not found
-
- ^
SELECT xmlparse(document 'abc');
ERROR: invalid XML document
DETAIL: line 1: Start tag expected, '<' not found
@@ -316,16 +302,12 @@
&
^
line 1: Opening and ending tag mismatch: invalidentity line 1 and abc
-&
- ^
SELECT xmlparse(document '&idontexist;');
ERROR: invalid XML document
DETAIL: line 1: Entity 'idontexist' not defined
&idontexist;
^
line 1: Opening and ending tag mismatch: undefinedentity line 1 and abc
-&idontexist;
- ^
SELECT xmlparse(document '');
xmlparse
---------------------------
@@ -344,8 +326,6 @@
&idontexist;
^
line 1: Opening and ending tag mismatch: twoerrors line 1 and unbalanced
-&idontexist;
- ^
SELECT xmlparse(document '');
xmlparse
---------------------