Allow setting Entity Expansion limit on WFS XML Readers

Description

Currently WFS XML Readers (example: org.geoserver.wfs.xml.v1_0_0.WfsXmlReader) don't have a way to set an Entity expansion limit configuration. A good improvement could be having a configuration System Property that allows to achieve this task and setting a low default (100 as example?).

See Entity Expansion limit on documentation:
https://docs.oracle.com/javase/tutorial/jaxp/limits/using.html

Environment

None

Status

Assignee

Fernando Miño

Reporter

Fernando Miño

Triage

None

Fix versions

Affects versions

2.16-RC

Priority

Medium
Configure