xml_diff.diffs
application/octet-stream
Filename: xml_diff.diffs
Type: application/octet-stream
Part: 0
diff -U3 /home/reshke/pg/src/test/regress/expected/xml.out /home/reshke/pg/src/test/regress/results/xml.out
--- /home/reshke/pg/src/test/regress/expected/xml.out 2025-12-07 06:50:22.458217444 +0000
+++ /home/reshke/pg/src/test/regress/results/xml.out 2025-12-07 06:53:59.795047399 +0000
@@ -2042,8 +2042,6 @@
xml_data xml,
xsd_schema text
);
-CREATE TABLE
-
INSERT INTO xml_validation_test VALUES
('<number>42</number>',
'<?xml version="1.0"?>
@@ -2060,8 +2058,6 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="text" type="xs:string"/>
</xs:schema>');
-INSERT 0 3
-
SELECT xmlvalidate(DOCUMENT xml_data ACCORDING TO XMLSCHEMA xsd_schema) AS is_valid
FROM xml_validation_test;
is_valid
@@ -2072,15 +2068,12 @@
(3 rows)
DROP TABLE xml_validation_test;
-DROP TABLE
-
SELECT xmlvalidate(DOCUMENT '<test>value</test>'
ACCORDING TO XMLSCHEMA '<this-is-not-valid-xsd>');
ERROR: failed to parse XML schema
DETAIL: line 1: Premature end of data in tag this-is-not-valid-xsd line 1
<this-is-not-valid-xsd>
^
-
SELECT xmlvalidate(DOCUMENT '<unclosed-tag>'
ACCORDING TO XMLSCHEMA '<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
@@ -2091,4 +2084,4 @@
^
DETAIL: line 1: Premature end of data in tag unclosed-tag line 1
<unclosed-tag>
- ^
\ No newline at end of file
+ ^