Re: XMLSerialize: version and explicit XML declaration - Mailing list pgsql-hackers

From Tom Lane
Subject Re: XMLSerialize: version and explicit XML declaration
Date
Msg-id 3712088.1727280167@sss.pgh.pa.us
Whole thread Raw
In response to XMLSerialize: version and explicit XML declaration  (Jim Jones <jim.jones@uni-muenster.de>)
List pgsql-hackers
Jim Jones <jim.jones@uni-muenster.de> writes:
> Is there any validation mechanism for VERSION <character string
> 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 lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Support Int64 GUCs
Next
From: Alvaro Herrera
Date:
Subject: Re: Possible null pointer dereference in afterTriggerAddEvent()