Reputation: 39
When creating a DocumentBuilder
using Xerces
java library, can we set our own Entity Expansion Limit
? By default the limit is set to 100,000
and I could not find a way to change this value.
Thanks.
Upvotes: 2
Views: 537
Reputation: 149047
You should be able to set the System property entityExpansionLimit
.
-DentityExpansionLimit=1234
Upvotes: 1