Re: xpath processing brain dead - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: xpath processing brain dead
Date
Msg-id 49AAA606.6070200@dunslane.net
Whole thread Raw
In response to Re: xpath processing brain dead  (Hannu Krosing <hannu@2ndQuadrant.com>)
Responses Re: xpath processing brain dead  (Hannu Krosing <hannu@2ndQuadrant.com>)
List pgsql-hackers

Hannu Krosing wrote:
>> Some of the functions, including some specified in the standard, produce 
>> fragments. That's why we have the 'IS DOCUMENT' test.
>>     
>
> But then you could use xmlfragments as the functions return type, no ?
>
> Does tha standard require that the same field type must store both
> documents and fragments ?
>
>   

Yes, the standard very explicitly provides for one XML type which need 
not be an XML document. We have no choice about that.

cheers

andrew


pgsql-hackers by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: Re: cardinality()
Next
From: Andrew Dunstan
Date:
Subject: Re: cardinality()