Fix failing test

This commit is contained in:
Rossen Stoyanchev
2014-02-03 21:44:13 -05:00
parent d90a36170a
commit 1a8629d408
2 changed files with 2 additions and 3 deletions

View File

@@ -229,7 +229,7 @@ public class Jaxb2CollectionHttpMessageConverter<T extends Collection>
*/
protected XMLInputFactory createXmlInputFactory() {
XMLInputFactory inputFactory = XMLInputFactory.newInstance();
inputFactory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false);
inputFactory.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, false);
return inputFactory;
}