forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit65c5864
committed
xml2: Replace deprecated routines with recommended ones
Some functions are used in the tree and are currently marked asdeprecated by upstream. This commit refreshes the code to use therecommended functions, leading to the following changes:- xmlSubstituteEntitiesDefault() is gone, and needs to be replaced withXML_PARSE_NOENT for the paths doing the parsing.- xmlParseMemory() -> xmlReadMemory().These functions, as well as more functions setting global states, havebeen officially marked as deprecated by upstream in August 2022. Theirreplacements exist since the 2001-ish area, as far as I have checked,so that should be safe.Author: Dmitry KovalDiscussion:https://postgr.es/m/18274-98d16bc03520665f@postgresql.org1 parent8ad1f7d commit65c5864
2 files changed
+12
-8
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
78 | 77 |
| |
79 | 78 |
| |
80 | 79 |
| |
| |||
380 | 379 |
| |
381 | 380 |
| |
382 | 381 |
| |
383 |
| - | |
384 |
| - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
385 | 385 |
| |
386 | 386 |
| |
387 | 387 |
| |
| |||
624 | 624 |
| |
625 | 625 |
| |
626 | 626 |
| |
627 |
| - | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
628 | 630 |
| |
629 | 631 |
| |
630 | 632 |
| |
|
Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 |
| - | |
89 |
| - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
90 | 91 |
| |
91 | 92 |
| |
92 | 93 |
| |
93 | 94 |
| |
94 | 95 |
| |
95 | 96 |
| |
96 |
| - | |
97 |
| - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
98 | 100 |
| |
99 | 101 |
| |
100 | 102 |
| |
|
0 commit comments
Comments
(0)