Hi guys,

i have a problem with redirects in basex.
I have following function:

declare %restxq:path("anyPath")  function { 
   "Some XQuery Code", 
   <restxq:redirect xmlns:restxq="http://exquery.org/ns/restxq">/restxq/anyOtherPath</restxq:redirect> 
};

This function I call with http://localhost/restxq/anyPath in my browser (Chrome).
So I expect, that the browser gets the redirect an executes it. But it only returns:
<restxq:redirect xmlns:restxq="http://exquery.org/ns/restxq">/restxq/anyOtherPath</restxq:redirect>
instead of the redirected page.

In the attachment there is a screenshot.

Is there anyone with the same problem or a solution?

Regards,

Florian

PS: Are there any BaseX developer meetings in Germany?