forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc975fa4
committed
Fix namespace handling in xpath function
Previously, the xml value resulting from an xpath query would not havenamespace declarations if the namespace declarations were attached toan ancestor element in the input xml value. That means the output valuewas not correct XML. Fix that by running the result value throughxmlCopyNode(), which produces the correct namespace declarations.Author: Ali Akbar <the.apaan@gmail.com>1 parent1c49561 commitc975fa4
4 files changed
+45
-1
lines changedLines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3286 | 3286 |
| |
3287 | 3287 |
| |
3288 | 3288 |
| |
| 3289 | + | |
3289 | 3290 |
| |
3290 | 3291 |
| |
| 3292 | + | |
| 3293 | + | |
| 3294 | + | |
| 3295 | + | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
3291 | 3304 |
| |
3292 | 3305 |
| |
3293 |
| - | |
| 3306 | + | |
3294 | 3307 |
| |
3295 | 3308 |
| |
3296 | 3309 |
| |
3297 | 3310 |
| |
| 3311 | + | |
3298 | 3312 |
| |
3299 | 3313 |
| |
3300 | 3314 |
| |
3301 | 3315 |
| |
| 3316 | + | |
3302 | 3317 |
| |
3303 | 3318 |
| |
3304 | 3319 |
| |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
496 | 496 |
| |
497 | 497 |
| |
498 | 498 |
| |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
499 | 514 |
| |
500 | 515 |
| |
501 | 516 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
450 | 450 |
| |
451 | 451 |
| |
452 | 452 |
| |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
453 | 465 |
| |
454 | 466 |
| |
455 | 467 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
| 165 | + | |
| 166 | + | |
165 | 167 |
| |
166 | 168 |
| |
167 | 169 |
| |
|
0 commit comments
Comments
(0)