You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2023/09/05 14:43:00 UTC
[jira] [Assigned] (CXF-8916) Replacement for StaxUtils.setInnerElementCountThreshold
[ https://issues.apache.org/jira/browse/CXF-8916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh reassigned CXF-8916:
----------------------------------------
Assignee: Colm O hEigeartaigh
> 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
> Assignee: Colm O hEigeartaigh
> Priority: Minor
>
> 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."
> If I set property just like this, would it be effective ?
> {color:#1d1c1d}System.setProperty("com.ctc.wstx.maxChildrenPerElement", "100000");{color}
> {color:#1d1c1d}or should it be:{color}
> {color:#1d1c1d}{color:#1d1c1d}System.setProperty("org.apache.cxf.stax.maxChildElements", "100000");{color}{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)