Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8916

Replacement for StaxUtils.setInnerElementCountThreshold

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 3.4.0
    • None
    • WS-* Components
    • None
    • Unknown

    Description

      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 ?

      System.setProperty("com.ctc.wstx.maxChildrenPerElement", "100000");

      or should it be:

      System.setProperty("org.apache.cxf.stax.maxChildElements", "100000");

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            richm123 Rich M
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: