Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context
От | Pavel Stehule |
---|---|
Тема | Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context |
Дата | |
Msg-id | CAFj8pRAATebovxCtHORfE=uh3gCXL8T0eaiFdrsuGE3GKgnK3A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context (Ramanarayana <raam.soft@gmail.com>) |
Ответы |
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context
Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context |
Список | pgsql-hackers |
čt 28. 2. 2019 v 9:58 odesílatel Ramanarayana <raam.soft@gmail.com> napsal:
The other two issues are resolved by this patch.Hi,I have tested the three issues fixed in patch 001. Array Indexes issue is still there.Running the following query returns ERROR: more than one value returned by column XPath expressionSELECT xmltable.*
FROM (SELECT data FROM xmldata) x,
LATERAL XMLTABLE('/ROWS/ROW'
PASSING data
COLUMNS
country_name text PATH 'COUNTRY_NAME/text()' NOT NULL,
size_text float PATH 'SIZE/text()',
size_text_1 float PATH 'SIZE/text()[1]',
size_text_2 float PATH 'SIZE/text()[2]',
"SIZE" float, size_xml xml PATH 'SIZE')
what patches you are used?
Regards
Pavel
--Cheers
Ram 4.0
В списке pgsql-hackers по дате отправления: