ENTITY-EXPANSION-LIMIT attribute
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Data type: INTEGER
Access: Readable/Writable
Applies to: SAX-reader object handle, X-document object handle
By limiting the number
of entity substitutions, use of this attribute prevents recursive entities from consuming
system resources. The default value is 50,000. The attribute's value must be equal to or
greater than 0; setting the attribute to a negative value will result in a runtime error. If
the attribute is set to the Unknown value (?), the feature
is off.
You can set this behavior globally by using the -entityExpansionLimit startup parameter. The default value of the
attribute is set by the startup parameter, but you can change the attribute as needed to
override the behavior set by the startup parameter. See the Startup
Command and Parameter Reference for more information.