max-node-size

This command specifies the maximum node size for the multiprotocol gateway.

Syntax

max-node-size bytes

Parameters

bytes
Specifies the maximum message node size in bytes. The default value is 0, which indicates that no limit is imposed.

Guidelines

The max-node-size command sets the maximum size of a single parsed XML node. If this size is exceeded, the source XML document is considered malicious and dropped. For best performance, enter a size that is a power of two. Although you set an explicit value, the in-use value is the rounded-down, largest power of two that is smaller than the defined value.

If you enable service-specific parser limits, the value on this command overrides the value on the Parser Limits max-node-size command. The service inherits parser limits from the XML manager that is assigned to this service.

To define service-specific parser limits, you must enable parser limits with the gateway-parser-limits command.