Re: [PoC] Add CANONICAL option to xmlserialize - Mailing list pgsql-hackers

From Jim Jones
Subject Re: [PoC] Add CANONICAL option to xmlserialize
Date
Msg-id 81d16f75-50cb-43a8-ae77-1415431bebdd@uni-muenster.de
Whole thread Raw
In response to Re: [PoC] Add CANONICAL option to xmlserialize  (newtglobal postgresql_contributors <postgresql_contributors@newtglobalcorp.com>)
List pgsql-hackers
Hi

On 12.03.25 08:21, newtglobal postgresql_contributors wrote:
> The following review has been posted through the commitfest application:
> make installcheck-world:  tested, failed
> Implements feature:       tested, failed
> Spec compliant:           tested, failed
> Documentation:            tested, failed


Did it really fail?

> After testing various scenarios, I found that `XMLCANONICALIZE` is working as expected. It:
> - Removes unnecessary whitespace and newlines.
> - Sorts attributes in a consistent order.
> - Converts empty elements to start-end tag pairs.
> - Preserves or removes comments based on the flag.
> - Works well with table data and dynamically generated XML.
>

Thanks a lot for the thorough review. Much appreciated!

Best regards, Jim




pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Wrong results with subquery pullup and grouping sets
Next
From: Andrei Lepikhov
Date:
Subject: Re: Add Postgres module info