Closed obruchez closed 5 months ago
"A slash character (/) at the beginning of a path expression means that the path is to begin at the root node of the tree that contains the context node. That root node must be a document node."
Does that mean that DB2 doesn't consider a fragment of an XML tree as a document?
Using XMLDOCUMENT to "tag" the XML fragment as a document seems to work.
Following #1069, fix the workaround that was added in
Provider
(seefixedPath
method).Strangely, XPath expressions starting with "/*/" don't work with XML data extracted using
XMLTABLE
. The current workaround consists of replacing "/*/" with "//", which works but is semantically incorrect.