=?iso-8859-5?B?stjb1d0gwtDc0d7S5tXS?= <v(dot)tambovtsev(at)outlook(dot)com> writes:
> Any news on this bug? 9.4 still behaves wrong and this actively stops us from using Postgresql as a storage for our xml docs.
AFAICS the conclusion in that thread was that the current behavior is
correct; in particular xpath()'s output is still XML and so it must not
de-escape anything.
http://stream.boxwatch.ru/message-id/72DA66D9-0222-4888-AF55-61D3337CAC7A@phlo.org
regards, tom lane