Re: xpath_array with namespaces support - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: xpath_array with namespaces support
Date
Msg-id 200704101719.40231.peter_e@gmx.net
Whole thread Raw
In response to Re: xpath_array with namespaces support  (Andrew Dunstan <andrew@dunslane.net>)
List 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/

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: xpath_array with namespaces support
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Full page writes improvement, code update