[basex-talk] XML catalog with fetch:xml

2018-09-18 Thread Andy Bunce
Hi, Using a recent 9.1 Beta on windows. I create an XML catalog at c:\tmp\mycatalog.xml http://nowhere.com/doc"; uri="file:///c:/tmp/doc.xml" /> Then in the GUI fetch:xml("http://nowhere.com/doc";, map{"catfile": "C:\tmp\mycatalog.xml"} ) It goes to nowhere, I was hoping to get back c:/t

Re: [basex-talk] web:response-header & Set-Cookie

2018-09-18 Thread Marco Lettere
Hi Bogdan, I assume the last map is for options only. All headers should go into the second map. Try with: return (     web:response-header(   map { 'media-type': web:content-type($path) },   map { 'Cache-Control': 'max-age=3600,public', 'Set-Cookie': 'JSESSIONID=' || session:id() |