Re: [PoC] Add CANONICAL option to xmlserialize

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: newtglobal postgresql_contributors <postgresql_contributors(at)newtglobalcorp(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PoC] Add CANONICAL option to xmlserialize
Date: 2025-03-12 07:49:53
Message-ID: 81d16f75-50cb-43a8-ae77-1415431bebdd@uni-muenster.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrei Lepikhov 2025-03-12 07:58:38 Re: Add Postgres module info
Previous Message Richard Guo 2025-03-12 07:45:06 Re: Wrong results with subquery pullup and grouping sets