Skip to content

Commit 896cd26

Browse files
committed
Remove new XML test cases added by e719248.
These turn out to produce libxml2-version-dependent error reports. They aren't adding value that would justify dealing with that, so just remove them again. (I had in fact guessed wrong about what versions matching xml_2.out would produce, but it doesn't matter because there are other discrepancies.) Per buildfarm. Discussion: https://postgr.es/m/trinity-b0161630-d230-4598-9ebc-7a23acdb37cb-1720186432160@3c-app-gmx-bap25 Discussion: https://postgr.es/m/trinity-361ba18b-541a-4fe7-bc63-655ae3a7d599-1720259822452@3c-app-gmx-bs01
1 parent b3bd182 commit 896cd26

File tree

4 files changed

+0
-68
lines changed

4 files changed

+0
-68
lines changed

src/test/regress/expected/xml.out

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -285,19 +285,6 @@ SELECT xmlparse(content '<nosuchprefix:tag/>');
285285
<nosuchprefix:tag/>
286286
(1 row)
287287

288-
SELECT xmlparse(content '<unclosed>');
289-
ERROR: invalid XML content
290-
DETAIL: line 1: Premature end of data in tag unclosed line 1
291-
<unclosed>
292-
^
293-
SELECT xmlparse(content '<parent><child></parent></child>');
294-
ERROR: invalid XML content
295-
DETAIL: line 1: Opening and ending tag mismatch: child line 1 and parent
296-
<parent><child></parent></child>
297-
^
298-
line 1: Opening and ending tag mismatch: parent line 1 and child
299-
<parent><child></parent></child>
300-
^
301288
SELECT xmlparse(document ' ');
302289
ERROR: invalid XML document
303290
DETAIL: line 1: Start tag expected, '<' not found
@@ -356,19 +343,6 @@ SELECT xmlparse(document '<nosuchprefix:tag/>');
356343
<nosuchprefix:tag/>
357344
(1 row)
358345

359-
SELECT xmlparse(document '<unclosed>');
360-
ERROR: invalid XML document
361-
DETAIL: line 1: Premature end of data in tag unclosed line 1
362-
<unclosed>
363-
^
364-
SELECT xmlparse(document '<parent><child></parent></child>');
365-
ERROR: invalid XML document
366-
DETAIL: line 1: Opening and ending tag mismatch: child line 1 and parent
367-
<parent><child></parent></child>
368-
^
369-
line 1: Opening and ending tag mismatch: parent line 1 and child
370-
<parent><child></parent></child>
371-
^
372346
SELECT xmlpi(name foo);
373347
xmlpi
374348
---------

src/test/regress/expected/xml_1.out

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,6 @@ DETAIL: This functionality requires the server to be built with libxml support.
180180
SELECT xmlparse(content '<nosuchprefix:tag/>');
181181
ERROR: unsupported XML feature
182182
DETAIL: This functionality requires the server to be built with libxml support.
183-
SELECT xmlparse(content '<unclosed>');
184-
ERROR: unsupported XML feature
185-
DETAIL: This functionality requires the server to be built with libxml support.
186-
SELECT xmlparse(content '<parent><child></parent></child>');
187-
ERROR: unsupported XML feature
188-
DETAIL: This functionality requires the server to be built with libxml support.
189183
SELECT xmlparse(document ' ');
190184
ERROR: unsupported XML feature
191185
DETAIL: This functionality requires the server to be built with libxml support.
@@ -213,12 +207,6 @@ DETAIL: This functionality requires the server to be built with libxml support.
213207
SELECT xmlparse(document '<nosuchprefix:tag/>');
214208
ERROR: unsupported XML feature
215209
DETAIL: This functionality requires the server to be built with libxml support.
216-
SELECT xmlparse(document '<unclosed>');
217-
ERROR: unsupported XML feature
218-
DETAIL: This functionality requires the server to be built with libxml support.
219-
SELECT xmlparse(document '<parent><child></parent></child>');
220-
ERROR: unsupported XML feature
221-
DETAIL: This functionality requires the server to be built with libxml support.
222210
SELECT xmlpi(name foo);
223211
ERROR: unsupported XML feature
224212
DETAIL: This functionality requires the server to be built with libxml support.

src/test/regress/expected/xml_2.out

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -279,19 +279,6 @@ SELECT xmlparse(content '<nosuchprefix:tag/>');
279279
<nosuchprefix:tag/>
280280
(1 row)
281281

282-
SELECT xmlparse(content '<unclosed>');
283-
ERROR: invalid XML content
284-
DETAIL: line 1: Premature end of data in tag unclosed line 1
285-
<unclosed>
286-
^
287-
SELECT xmlparse(content '<parent><child></parent></child>');
288-
ERROR: invalid XML content
289-
DETAIL: line 1: Opening and ending tag mismatch: child line 1 and parent
290-
<parent><child></parent></child>
291-
^
292-
line 1: Opening and ending tag mismatch: parent line 1 and child
293-
<parent><child></parent></child>
294-
^
295282
SELECT xmlparse(document ' ');
296283
ERROR: invalid XML document
297284
DETAIL: line 1: Start tag expected, '<' not found
@@ -342,19 +329,6 @@ SELECT xmlparse(document '<nosuchprefix:tag/>');
342329
<nosuchprefix:tag/>
343330
(1 row)
344331

345-
SELECT xmlparse(document '<unclosed>');
346-
ERROR: invalid XML document
347-
DETAIL: line 1: Premature end of data in tag unclosed line 1
348-
<unclosed>
349-
^
350-
SELECT xmlparse(document '<parent><child></parent></child>');
351-
ERROR: invalid XML document
352-
DETAIL: line 1: Opening and ending tag mismatch: child line 1 and parent
353-
<parent><child></parent></child>
354-
^
355-
line 1: Opening and ending tag mismatch: parent line 1 and child
356-
<parent><child></parent></child>
357-
^
358332
SELECT xmlpi(name foo);
359333
xmlpi
360334
---------

src/test/regress/sql/xml.sql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ SELECT xmlparse(content '<invalidns xmlns=''&lt;''/>');
7777
SELECT xmlparse(content '<relativens xmlns=''relative''/>');
7878
SELECT xmlparse(content '<twoerrors>&idontexist;</unbalanced>');
7979
SELECT xmlparse(content '<nosuchprefix:tag/>');
80-
SELECT xmlparse(content '<unclosed>');
81-
SELECT xmlparse(content '<parent><child></parent></child>');
8280

8381
SELECT xmlparse(document ' ');
8482
SELECT xmlparse(document 'abc');
@@ -89,8 +87,6 @@ SELECT xmlparse(document '<invalidns xmlns=''&lt;''/>');
8987
SELECT xmlparse(document '<relativens xmlns=''relative''/>');
9088
SELECT xmlparse(document '<twoerrors>&idontexist;</unbalanced>');
9189
SELECT xmlparse(document '<nosuchprefix:tag/>');
92-
SELECT xmlparse(document '<unclosed>');
93-
SELECT xmlparse(document '<parent><child></parent></child>');
9490

9591

9692
SELECT xmlpi(name foo);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy