Skip to content

Commit

Permalink
Merge branch 'fix_export_version' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bjosel committed Apr 5, 2024
1 parent 6e274e6 commit 3c2d297
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,13 @@ public void downloadXML(DataCitation citation, String fileNameString) {
HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse();
response.setContentType("text/xml");
response.setHeader("Content-Disposition", fileNameString);

try {
ServletOutputStream out = response.getOutputStream();
citation.writeAsEndNoteCitation(out);
out.flush();
ctx.responseComplete();
} catch (IOException e) {

}
}

Expand Down

0 comments on commit 3c2d297

Please sign in to comment.