Re: [HACKERS] bugfix: xpath encoding issue

2017-04-13 Thread Pavel Stehule
2017-04-13 17:19 GMT+02:00 Alvaro Herrera : > Pavel Stehule wrote: > > Hi > > > > When I tested XMLTABLE function I found a bug of XPATH function - > > xpath_internal > > > > There xmltype is not correctly encoded to xmlChar due possible invalid > > encoding info in header. It is possible when XML

Re: [HACKERS] bugfix: xpath encoding issue

2017-04-13 Thread Alvaro Herrera
Pavel Stehule wrote: > Hi > > When I tested XMLTABLE function I found a bug of XPATH function - > xpath_internal > > There xmltype is not correctly encoded to xmlChar due possible invalid > encoding info in header. It is possible when XML was loaded with recv > function and has not UTF8 encoding.

[HACKERS] bugfix: xpath encoding issue

2017-03-12 Thread Pavel Stehule
Hi When I tested XMLTABLE function I found a bug of XPATH function - xpath_internal There xmltype is not correctly encoded to xmlChar due possible invalid encoding info in header. It is possible when XML was loaded with recv function and has not UTF8 encoding. The functions based on xml_parse fu