Re: contrib/xml2: add function xml_encode_special_chars

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Markus Bertheau <twanger(at)bluetwanger(dot)de>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: contrib/xml2: add function xml_encode_special_chars
Date: 2004-11-06 23:55:32
Message-ID: 200411070055.32452.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Markus Bertheau wrote:
> It calls the similarly named function from libxml2. It replaces
> characters that carry a special meaning in XML (<, >, &, " and \r)
> with their respective XML entities.

Where does this fit with the overall scheme of things? I mean, you
clearly wouldn't call that function on an XML document.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2004-11-07 00:33:02 src/include/Makefile: remove-old-headers
Previous Message Markus Bertheau 2004-11-06 23:42:22 Re: contrib/xml2: add function xml_encode_special_chars