ExtractValue(xml, 'substring(/x,/y)') crashes

Description

This query crashes the server:

Notice '..' in the 'position' argument to XPath substring() function,
which obviously goes above the root XML element.

If I change the position argument to something inside the XML tree,
it works fine:

Environment

None

Assignee

Alexander Barkov

Reporter

Alexander Barkov

Labels

None

Fix versions

Affects versions

Priority

Major
Configure