]> git.pld-linux.org Git - packages/postgresql.git/blob - postgresql-libxml2.patch
- fix for new libxml2
[packages/postgresql.git] / postgresql-libxml2.patch
1 diff --git a/src/test/regress/expected/xml.out b/src/test/regress/expected/xml.out
2 index 9b7b393..72f0be3 100644
3 --- a/src/test/regress/expected/xml.out
4 +++ b/src/test/regress/expected/xml.out
5 @@ -9,8 +9,6 @@ ERROR:  invalid XML content
6  LINE 1: INSERT INTO xmltest VALUES (3, '<wrong');
7                                         ^
8  DETAIL:  line 1: Couldn't find end of Start Tag wrong line 1
9 -<wrong
10 -      ^
11  SELECT * FROM xmltest;
12   id |        data        
13  ----+--------------------
14 @@ -63,8 +61,6 @@ ERROR:  invalid XML content
15  LINE 1: SELECT xmlconcat('bad', '<syntax');
16                                  ^
17  DETAIL:  line 1: Couldn't find end of Start Tag syntax line 1
18 -<syntax
19 -       ^
20  SELECT xmlconcat('<foo/>', NULL, '<?xml version="1.1" standalone="no"?><bar/>');
21    xmlconcat   
22  --------------
23 @@ -212,16 +208,12 @@ DETAIL:  line 1: xmlParseEntityRef: no name
24  <invalidentity>&</invalidentity>
25                  ^
26  line 1: chunk is not well balanced
27 -<invalidentity>&</invalidentity>
28 -                                ^
29  SELECT xmlparse(content '<undefinedentity>&idontexist;</undefinedentity>');
30  ERROR:  invalid XML content
31  DETAIL:  line 1: Entity 'idontexist' not defined
32  <undefinedentity>&idontexist;</undefinedentity>
33                               ^
34  line 1: chunk is not well balanced
35 -<undefinedentity>&idontexist;</undefinedentity>
36 -                                               ^
37  SELECT xmlparse(content '<invalidns xmlns=''&lt;''/>');
38           xmlparse          
39  ---------------------------
40 @@ -240,11 +232,7 @@ DETAIL:  line 1: Entity 'idontexist' not defined
41  <twoerrors>&idontexist;</unbalanced>
42                         ^
43  line 1: Opening and ending tag mismatch: twoerrors line 1 and unbalanced
44 -<twoerrors>&idontexist;</unbalanced>
45 -                                    ^
46  line 1: chunk is not well balanced
47 -<twoerrors>&idontexist;</unbalanced>
48 -                                    ^
49  SELECT xmlparse(content '<nosuchprefix:tag/>');
50        xmlparse       
51  ---------------------
52 @@ -268,16 +256,12 @@ DETAIL:  line 1: xmlParseEntityRef: no name
53  <invalidentity>&</abc>
54                  ^
55  line 1: Opening and ending tag mismatch: invalidentity line 1 and abc
56 -<invalidentity>&</abc>
57 -                      ^
58  SELECT xmlparse(document '<undefinedentity>&idontexist;</abc>');
59  ERROR:  invalid XML document
60  DETAIL:  line 1: Entity 'idontexist' not defined
61  <undefinedentity>&idontexist;</abc>
62                               ^
63  line 1: Opening and ending tag mismatch: undefinedentity line 1 and abc
64 -<undefinedentity>&idontexist;</abc>
65 -                                   ^
66  SELECT xmlparse(document '<invalidns xmlns=''&lt;''/>');
67           xmlparse          
68  ---------------------------
69 @@ -296,8 +280,6 @@ DETAIL:  line 1: Entity 'idontexist' not defined
70  <twoerrors>&idontexist;</unbalanced>
71                         ^
72  line 1: Opening and ending tag mismatch: twoerrors line 1 and unbalanced
73 -<twoerrors>&idontexist;</unbalanced>
74 -                                    ^
75  SELECT xmlparse(document '<nosuchprefix:tag/>');
76        xmlparse       
77  ---------------------
This page took 0.030784 seconds and 4 git commands to generate.