Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
9.11.4
-
Unknown
-
Description
org.xwiki.xml.internal.html.DefaultHTMLCleaner is using DocumentBuilderFactory.newInstance() which which is a bit expensive when called very often and also lock the Classloader when loading the class of the factory.
Would be better to find a thread safe factory implementation or parse the XML using another tool.