Re: XMLSerialize: version and explicit XML declaration

2025-05-23 Thread Jim Jones
rebase Best, Jim From 2b684d290cf4d3690e98ca9719af615d137237c8 Mon Sep 17 00:00:00 2001 From: Jim Jones Date: Fri, 23 May 2025 08:59:51 +0200 Subject: [PATCH v3] Add XMLSerialize: version and explicit XML declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Enco

Re: XMLSerialize: version and explicit XML declaration

2025-02-21 Thread Jim Jones
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()

Re: XMLSerialize: version and explicit XML declaration

2024-09-30 Thread Jim Jones
Hi Tom 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

Re: XMLSerialize: version and explicit XML declaration

2024-09-25 Thread Tom Lane
Jim Jones writes: > Is there any validation mechanism for VERSION literal>? 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. regards, tom