Do not use WebLogic servlet filter for XML parsing

This rule detects the use of the weblogic.servlet.XMLParsingHelper servlet filter. This rule detects the servlet filter in the web.xml file. A separate rule detects the use of servlet set/get attribute in Java files, which are enabled by this filter.

An automated fix will be provided that deletes the filter element and the filter mapping element associated with it. In the examples, both of these elements are deleted.
If the Automated fix cannot find a filter-mapping with the same name as provided by the <filter-name> element, then only the filter is deleted because the filter mapping could not be found.

The following case is detected:
The presence of a <filter> element in a web.xml file, where that filter element has a <filter-class> element with the value: weblogic.servlet.XMLParsingHelper.
Example:
<filter>
      <filter-name>WLXmlParsingFilter</filter-name>
       <filter-class>weblogic.servlet.XMLParsingHelper</filter-class>
</filter>
<filter-mapping>
      <filter-name>WLXmlParsingFilter</filter-name>
      <url-pattern>/somePath</url-pattern>
      <dispatcher>REQUEST</dispatcher>
</filter-mapping>