Re: xpath_array with namespaces support

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: xpath_array with namespaces support
Дата
Msg-id 200704041504.15435.peter_e@gmx.net
обсуждение исходный текст
Ответ на xpath_array with namespaces support  ("Nikolay Samokhvalov" <samokhvalov@gmail.com>)
Список pgsql-patches
Am Mittwoch, 4. April 2007 14:42 schrieb Nikolay Samokhvalov:
> > Why is the function not strict?
>
> Because in case of 3rd argument (NS mappings) being NULL, we shouldn't
> return NULL immediately:

If the namespace mapping is NULL then it is unknown, and therefore the result
of the XPath expression cannot be evaluated with certainty.  If no namespace
mapping is to be passed, then you should pass a list(/array/...) of length
zero.

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

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: xpath_array with namespaces support
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch