Skip to content

Commit

Permalink
MediaType.APPLICATION_XML set for affiliation parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominika Tkaczyk committed May 11, 2015
1 parent cd905c2 commit 57bb7e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ public ResponseEntity<String> parseSync(HttpServletRequest request, Model model)
response = outputter.outputString(element);
}
} else {
responseHeaders.setContentType(MediaType.APPLICATION_XML);
CRFAffiliationParser parser = new CRFAffiliationParser();
Element parsedAff = parser.parse(affText);
XMLOutputter outputter = new XMLOutputter(Format.getPrettyFormat());
Expand Down

0 comments on commit 57bb7e1

Please sign in to comment.