Dear BaseX team,
I seem to remember that in earlier versions of BaseX a copy/modify/return did not change the base URI of the processed document. However, now it is lost, or more precisely, replaced with the static base URI of the processing XQuery module.
Am I mistaken? At any rate it would be very desirable for copy/modify/return to preserve the base URI of the processed document or fragment.
Kind regards,Hans-Jürgen