| Package | Description |
|---|---|
| org.apache.axiom.om.impl.dom.jaxp |
| Class and Description |
|---|
| DocumentBuilderFactoryImpl
Deprecated.
This class has static methods that allow to switch between DOOM and the default
DOM implementation as returned by JAXP. This was a hack introduced for Rampart.
Recent versions of Rampart no longer rely on this hack. On the other hand
usage of
DocumentBuilderFactoryImpl.setDOOMRequired(boolean) in a concurrent environment can
lead to unexpected behavior and severe bugs, as shown in
AXIOM-3 and
AXIS2-1570.
Due to the way DocumentBuilderFactoryImpl.newDocumentBuilder() is implemented, it is not possible
to get rid of the setDOOMRequired hack without the risk of breaking existing code.
Application code should always use |
Copyright © The Apache Software Foundation. All Rights Reserved.