SAML AttributeValue max length

I’m trying IdP initiated flow from Okta, and utilizing custom attribute statements. What is the maximum supported length for the value? I had no issues sending from Okta and receiving on SP pretty long value 10K symbols, but your documentation states 1024 (https://help.okta.com/en/prod/Content/Topics/Apps/attribute-statements-saml.htm)

Can you comment on that?