Re: [PATCH] Add XMLText function (SQL/XML X038) - Mailing list pgsql-hackers

From Chapman Flack
Subject Re: [PATCH] Add XMLText function (SQL/XML X038)
Date
Msg-id e981b323c38612682f413b92e0485ec7@anastigmatix.net
Whole thread Raw
In response to Re: [PATCH] Add XMLText function (SQL/XML X038)  (Vik Fearing <vik@postgresfriends.org>)
Responses Re: [PATCH] Add XMLText function (SQL/XML X038)
Re: [PATCH] Add XMLText function (SQL/XML X038)
List pgsql-hackers
On 2023-08-25 10:49, Vik Fearing wrote:
> I do not think this should be addressed in this patch because
> there are quite a lot of functions that need to handle this.

Indeed, as described in [0], we still largely provide the SQL/XML:2003
notion of a single XML datatype, not the distinguishable XML(DOCUMENT),
XML(CONTENT), XML(SEQUENCE) types from :2006 and later, which has a
number of adverse consequences for developers[1], and that wiki page
proposed a couple possible ways forward[2].

Regards,
-Chap


[0] https://wiki.postgresql.org/wiki/PostgreSQL_vs_SQL/XML_Standards
[1] 
https://wiki.postgresql.org/wiki/PostgreSQL_vs_SQL/XML_Standards#Obstacles_to_improving_conformance
[2] 
https://wiki.postgresql.org/wiki/PostgreSQL_vs_SQL/XML_Standards#Possible_ways_forward



pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: [PATCH] Add XMLText function (SQL/XML X038)
Next
From: Nathan Bossart
Date:
Subject: Re: initdb caching during tests