Re: [PATCH] Add XMLText function (SQL/XML X038)

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Add XMLText function (SQL/XML X038)
Date: 2023-03-25 11:53:10
Message-ID: CAFj8pRDMo4=oiCRktFbW5AkP--Fk-WKRdBD+Exi0CF=96AdP=A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

so 25. 3. 2023 v 12:49 odesílatel Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
napsal:

> Hi,
>
> This small patch proposes the implementation of the standard SQL/XML
> function XMLText (X038). It basically converts a text parameter into an
> xml text node. It uses the libxml2 function xmlEncodeSpecialChars[1] to
> escape possible predefined entities.
>
> This patch also contains documentation and regression tests.
>
> Any thoughts?
>

+1

Pavel

> Best, Jim
>
> 1 -
>
> https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-entities.html#xmlEncodeSpecialChars
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Jones 2023-03-25 12:25:23 Re: [PATCH] Add XMLText function (SQL/XML X038)
Previous Message Jim Jones 2023-03-25 11:49:33 [PATCH] Add XMLText function (SQL/XML X038)