Re: [PoC] Add CANONICAL option to xmlserialize
Jim Jones <jim.jones@uni-muenster.de>
From: Jim Jones <jim.jones@uni-muenster.de>
To: newtglobal postgresql_contributors
<postgresql_contributors@newtglobalcorp.com>,
pgsql-hackers@lists.postgresql.org
Date: 2025-03-12T07:49:53Z
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