RestXQ bug in 12.4

Thursday, 23 July 2026 · 1 message
ML
Marco Lettere23 Jul 2026 15:44 #
Dear BaseX team, today I've just stumbled upon this bug which has severe consequences for us. When having multiple optional multipart/form-data parameters the RestXQ parser somehow messes them up. In the attached example you check it out and compare to Basex11.9 which did not have this issue. In brief I have 6 options named profile1 to profile6 as parameters. If I pass parameters profile1, profile3 and profile4 they get parsed as profile1, profile3 and profile3 (twice). This does not happen for all combinations but it's not clear what combinations are treated wrongly (feel like if you ask for first and last then it's ok). Please let us know if there is something we can do to avoid the bug and please let us also know what is needed from our side (providing a PR? Paying?) to have 12.4 patched on 12 branch given that we can not move to the latest (13 branch) because of missing MIXUPDATES. Thanks. Regards, Marco.

⚡Generated with XQuery