mirror of
https://github.com/apache/olingo-odata4.git
synced 2025-02-06 01:59:12 +00:00
[OLINGO-989] XMLFactory enhancements
Signed-off-by: Christian Amend <christian.amend@sap.com>
This commit is contained in:
parent
9a30d75711
commit
c8d69b33e6
@ -94,6 +94,8 @@ public class AtomDeserializer implements ODataDeserializer {
|
||||
private final AtomGeoValueDeserializer geoDeserializer;
|
||||
|
||||
protected XMLEventReader getReader(final InputStream input) throws XMLStreamException {
|
||||
FACTORY.setProperty("javax.xml.stream.isSupportingExternalEntities", false);
|
||||
FACTORY.setProperty("javax.xml.stream.isReplacingEntityReferences", false);
|
||||
return FACTORY.createXMLEventReader(input);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user