You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Rich M (Jira)" <ji...@apache.org> on 2023/08/18 05:20:00 UTC

[jira] [Created] (CXF-8916) Replacement for StaxUtils.setInnerElementCountThreshold

Rich M created CXF-8916:
---------------------------

             Summary: Replacement for StaxUtils.setInnerElementCountThreshold
                 Key: CXF-8916
                 URL: https://issues.apache.org/jira/browse/CXF-8916
             Project: CXF
          Issue Type: Improvement
          Components: WS-* Components
    Affects Versions: 3.4.0
            Reporter: Rich M


This is related to CXF-8273, where following method was removed from code: 
public static void setInnerElementCountThreshold(int i)

Description also states - "Instead, set the system properties to customize how we restrict XML."

What system property should be set and should any input factory be passed ?

If I set property just like this, would it be effective ?

{color:#1d1c1d}System.setProperty("com.ctc.wstx.maxChildrenPerElement", "100000");{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)