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

From Peter Eisentraut
Subject Re: contrib/xml2: add function xml_encode_special_chars
Date
Msg-id 200411070055.32452.peter_e@gmx.net
Whole thread Raw
In response to Re: contrib/xml2: add function xml_encode_special_chars  (Markus Bertheau <twanger@bluetwanger.de>)
Responses Re: contrib/xml2: add function xml_encode_special_chars  (Markus Bertheau <twanger@bluetwanger.de>)
List 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/


pgsql-patches by date:

Previous
From: Markus Bertheau
Date:
Subject: Re: contrib/xml2: add function xml_encode_special_chars
Next
From: Alvaro Herrera
Date:
Subject: src/include/Makefile: remove-old-headers