In my java project I use an external library (Semantic Measures Library) which uses an external parser. Whenever I try to run large datasets this external Library throws
The parser has encountered more than "100,000" entity expansions in this document; this is the limit imposed by the application.
I have tried
-DentityExpansionLimit=100000000
and
-DentityExpansionLimit=0
(the same for -Djdk.xml.totalEntitySizeLimit
and -Djdk.xml.entityExpansionLimit=0
).
I have also tried to change the type of input files as suggested to me.