Re: contrib/xml2: add function xml_encode_special_chars - Mailing list pgsql-patches

From Markus Bertheau
Subject Re: contrib/xml2: add function xml_encode_special_chars
Date
Msg-id 1099701419.2634.10.camel@teetnang
Whole thread Raw
In response to Re: contrib/xml2: add function xml_encode_special_chars  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: contrib/xml2: add function xml_encode_special_chars
Re: contrib/xml2: add function xml_encode_special_chars
List pgsql-patches
В Сбт, 06.11.2004, в 01:24, Peter Eisentraut пишет:
> Markus Bertheau wrote:
> > attached is a patch that adds the function xml_encode_special_chars
> > to the xml2 contrib module. It's against 8.0beta4. It's intended for
> > commit.
>
> Would you also tell us what this function does?

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.

--
Markus Bertheau <twanger@bluetwanger.de>


pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: GiST: memory allocation, cleanup
Next
From: Andrew Dunstan
Date:
Subject: yet another .exe path fix