Re: contrib/xml2: add function xml_encode_special_chars

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема Re: contrib/xml2: add function xml_encode_special_chars
Дата
Msg-id 1099784542.6074.18.camel@teetnang
обсуждение исходный текст
Ответ на Re: contrib/xml2: add function xml_encode_special_chars  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: contrib/xml2: add function xml_encode_special_chars
Список pgsql-patches
В Сбт, 06.11.2004, в 23:13, Simon Riggs пишет:
> On Sat, 2004-11-06 at 00:36, Markus Bertheau wrote:
> > В Сбт, 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.
>
> Wow! Hadn't noticed xml2 didn't do that. Thats pretty important...

What do you mean, it didn't do that? Where had you expected it to do
that?

--
Markus Bertheau <twanger@bluetwanger.de>


В списке pgsql-patches по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: contrib/xml2: add function xml_encode_special_chars
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: contrib/xml2: add function xml_encode_special_chars