Skip site navigation (1) Skip section navigation (2)

Re: contrib/xml2: add function xml_encode_special_chars

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Markus Bertheau <twanger(at)bluetwanger(dot)de>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>,pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: contrib/xml2: add function xml_encode_special_chars
Date: 2004-11-06 22:13:47
Message-ID: 1099779227.6942.460.camel@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
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...

Best Regards, Simon Riggs

In response to


pgsql-patches by date

Next:From: Markus BertheauDate: 2004-11-06 23:42:22
Subject: Re: contrib/xml2: add function xml_encode_special_chars
Previous:From: Bruce MomjianDate: 2004-11-06 20:37:13
Subject: Re: ON COMMIT and foreign keys

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group