BUG #16091: xpath fails to compute "name()", regression

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: cherio(at)gmail(dot)com
Subject: BUG #16091: xpath fails to compute "name()", regression
Date: 2019-10-30 16:58:33
Message-ID: 16091-a4296887079c549f@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16091
Logged by: Yuri Cherio
Email address: cherio(at)gmail(dot)com
PostgreSQL version: 12.0
Operating system: Ubuntu Linux 18.04
Description:

After upgrading postgresql from 9 to 12 the following statement no longer
produces the same result: SELECT xpath('name()', '<abc>xyz</abc>'::XML)

PostgreSQL 9 returns '{abc}'
PostgreSQL 12 returns '{""}'

This behavior changed in version 11 and perpetuated into 12.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2019-10-30 18:10:26 Re: BUG #16091: xpath fails to compute "name()", regression
Previous Message Stepan Yankevych 2019-10-30 15:27:42 RE: BUG #16089: Index only scan does not happen but expected