Re: xpath_array with namespaces support

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: nikolay(at)samokhvalov(dot)com, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: xpath_array with namespaces support
Date: 2007-04-10 15:19:39
Message-ID: 200704101719.40231.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Am Dienstag, 10. April 2007 15:17 schrieb Andrew Dunstan:
> Nikolay Samokhvalov wrote:
> > 6. (bugfix) Work with fragments with prologue: select xpath('/a',
> > '<?xml version="1.0"?><a /><b />'); // now XML datum is always wrapped
> > with dummy <x>...</x>, XML prologue simply goes away (if any).
>
> Is that legal XML? I though only documents could have prologs.

It's not a legal XML document, but it's a legal XML content fragment,
specified by SQL/XML.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-04-10 17:28:51 Re: [HACKERS] Full page writes improvement, code update
Previous Message Andrew Dunstan 2007-04-10 13:17:48 Re: xpath_array with namespaces support