XMLTABLE default namespace in docs

Started by Daniel Gustafssonover 8 years ago2 messagesdocs
Jump to latest
#1Daniel Gustafsson
daniel@yesql.se

When reviewing Pavels patch for default namespace in XMLTABLE, I came across
this sentence in the devel (and 10beta) docs in subsection 9.14.3.3. xmltable:

The following example illustrates how the XMLNAMESPACES clause can be
used to specify the default namespace, and a list of additional
namespaces used in the XML document as well as in the XPath
expressions:

That seems odd since we don’t support default namespaces (hence the patch for
adding it). Am I reading it wrong, or shouldn’t we apply something like the
attached for now?

cheers ./daniel

Attachments:

xmltable-def-ns.patchapplication/octet-stream; name=xmltable-def-ns.patchDownload+1-2
#2Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Daniel Gustafsson (#1)
Re: [DOCS] XMLTABLE default namespace in docs

On 2017-Sep-11, Daniel Gustafsson wrote:

When reviewing Pavels patch for default namespace in XMLTABLE, I came across
this sentence in the devel (and 10beta) docs in subsection 9.14.3.3. xmltable:

The following example illustrates how the XMLNAMESPACES clause can be
used to specify the default namespace, and a list of additional
namespaces used in the XML document as well as in the XPath
expressions:

That seems odd since we don’t support default namespaces (hence the patch for
adding it). Am I reading it wrong, or shouldn’t we apply something like the
attached for now?

You're right, we should -- thanks for noticing. I have pushed it now.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services