aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-01-06 23:06:13 -0500
committerPeter Eisentraut <peter_e@gmx.net>2015-01-17 22:37:07 -0500
commitc975fa4713c2325623d7bbfd81806327234281ac (patch)
tree9f37de4a6e62cc04bd98ebc725a323bdb1d59a1b /src/tutorial/complex.c
parent1c49561762933b6d0502bd852cf4acbcbfedd66b (diff)
downloadpostgresql-c975fa4713c2325623d7bbfd81806327234281ac.tar.gz
postgresql-c975fa4713c2325623d7bbfd81806327234281ac.zip
Fix namespace handling in xpath function
Previously, the xml value resulting from an xpath query would not have namespace declarations if the namespace declarations were attached to an ancestor element in the input xml value. That means the output value was not correct XML. Fix that by running the result value through xmlCopyNode(), which produces the correct namespace declarations. Author: Ali Akbar <the.apaan@gmail.com>
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions