An application should call this method when it wishes to specify a particular limit to the number of entity expansions the parser will permit in a particular document.
The default behaviour should allow the parser to validate nearly all XML non-malicious XML documents; if an application knows that it is operating in a domain where entities are uncommon, for instance, it may wish to provide a limit lower than the parser's default. -
Parameters:
-
newLimit |
the new entity expansion limit |
|