diff --git a/vicav.xqm b/vicav.xqm index f109a5c..deecfd4 100644 --- a/vicav.xqm +++ b/vicav.xqm @@ -1454,8 +1454,7 @@ function vicav:_get_feature_labels() { 'xslt/feature_labels-json.xslt') return serialize($renderedJson, map {"method": "json"}) else - (web:response-header(map {'method': 'xml'}, map:merge((cors:header(()), vicav:return_content_header()))), - {$out}) + {$out} }; @@ -1519,8 +1518,7 @@ declare function vicav:_get_data_words($type as xs:string*) { 'xslt/data_words-json.xslt') return serialize($renderedJson, map {"method": "json"}) else - (web:response-header(map {'method': 'xml'}, map:merge((cors:header(()), vicav:return_content_header()))), - {$out}) + {$out} };