[xml] possibility to use xpath searching on xml balanced chunks

2018-09-05 Thread Pavel Stehule via xml
Hi I try to fix one issue of PostgreSQL's implementation of XMLTABLE function. This is based on libxml2 XPath support and without one issue, it works perfect. When the xml document is loaded with function xmlCtxtReadMemory(), then XPath searching via xmlXPathCompiledEval functions works great. B

Re: [xml] possibility to use xpath searching on xml balanced chunks

2018-09-05 Thread Nick Wellnhofer
On 05/09/2018 10:53, Pavel Stehule via xml wrote: Is any possibility to read balanced chunk in format where XPatch searching is possible? By design, XPath only works on full documents. All you can do is to insert the balanced chunk under a dummy document node. Nick

Re: [xml] possibility to use xpath searching on xml balanced chunks

2018-09-05 Thread Pavel Stehule via xml
2018-09-05 12:53 GMT+02:00 Nick Wellnhofer : > On 05/09/2018 10:53, Pavel Stehule via xml wrote: > >> Is any possibility to read balanced chunk in format where XPatch >> searching is possible? >> > > By design, XPath only works on full documents. All you can do is to insert > the balanced chunk un