TXFADOMLimits Record

TXFADOMLimits = record
  MaxInputBytes, MaxOutputBytes: Integer;
  MaxPackets, MaxNodes, MaxDepth: Integer;
  MaxAttributesPerNode: Integer;
  MaxTotalAttributeBytes, MaxTotalTextBytes: Integer;
  MaxQueryResults: Integer;
  class function Default: TXFADOMLimits; static;
end;

Default provides finite production budgets for both storage forms; pass a smaller record to the overloaded TXFAPacketDOM constructor when processing untrusted or tenant-scoped content

XFA Packet DOM