Entity Expansion Limit (-entityExpansionLimit)
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Use Entity Expansion Limit (-entityExpansionLimit) to set an upper limit on how many entity substitutions
the XML parser (DOM or SAX) will allow in a document.
| Operating system and syntax | UNIX / Windows |
-entityExpansionLimit
n
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | 2,147,483,647 | 0 | 50,000 | 50,000 |
- n
- The number of entity substitutions the XML parser will allow. Valid values are integers equal to or greater than 0. If the parameter is not specified, the default value is 50,000.
By limiting the number of entity substitutions, use of this parameter prevents recursive entities from consuming system resources.
This behavior can also be controlled on a case-by-case basis by the ENTITY-EXPANSION-LIMIT attribute of a particular SAX-reader or X-document object
handle or the XML-ENTITY-EXPANSION-LIMIT of the WEB-OBJECT system handle. Setting the ENTITY-EXPANSION-LIMIT or XML-ENTITY-EXPANSION-LIMIT attribute overrides the behavior indicated by the
startup parameter. See ABL Reference for more information.