Re: XMLSerialize: version and explicit XML declaration

Поиск
Список
Период
Сортировка
От Jim Jones
Тема Re: XMLSerialize: version and explicit XML declaration
Дата
Msg-id 6793f32a-1796-40db-a7f0-1496f369bf1a@uni-muenster.de
обсуждение исходный текст
Ответ на XMLSerialize: version and explicit XML declaration  (Jim Jones <jim.jones@uni-muenster.de>)
Ответы Re: XMLSerialize: version and explicit XML declaration
Список pgsql-hackers
On 30.09.24 10:08, Jim Jones wrote:
> On 25.09.24 18:02, Tom Lane wrote:
>> AFAICS, all we do with an embedded XML version string is pass it to
>> libxml2's xmlNewDoc(), which is the authority on whether it means
>> anything.  I'd be inclined to do the same here.
> Thanks. I used xml_is_document(), which calls xmlNewDoc(), to check if
> the returned document is valid or not. It then decides if an unexpected
> version deserves an error or just a warning.
>
> Attached v1 with the first attempt to implement these features.

rebase

Best regards, Jim


Вложения

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