Re: contrib/xml2: add function xml_encode_special_chars

From: Markus Bertheau <twanger(at)bluetwanger(dot)de>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: contrib/xml2: add function xml_encode_special_chars
Date: 2004-11-06 00:36:59
Message-ID: 1099701419.2634.10.camel@teetnang
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)bluetwanger(dot)de>

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-11-06 03:39:32 yet another .exe path fix
Previous Message Neil Conway 2004-11-06 00:31:07 Re: GiST: memory allocation, cleanup