Adding a fallback DOMImplementationSource: the DOMXSImplemenationSourceImpl class from Xerces.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8dcb34f116
commit
ad5eac5eb9
@ -65,6 +65,11 @@ public final class DOMImplementationRegistry {
|
|||||||
*/
|
*/
|
||||||
private static final int DEFAULT_LINE_LENGTH = 80;
|
private static final int DEFAULT_LINE_LENGTH = 80;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default DOMImplementationSource.
|
||||||
|
*/
|
||||||
|
private static final String DEFAULT_DOM_IMPLEMENTATION_SOURCE = "org.apache.xerces.dom.DOMXSImplementationSourceImpl";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The list of DOMImplementationSources.
|
* The list of DOMImplementationSources.
|
||||||
*/
|
*/
|
||||||
@ -127,7 +132,7 @@ public final class DOMImplementationRegistry {
|
|||||||
//
|
//
|
||||||
// DOM Implementations can modify here to add *additional* fallback
|
// DOM Implementations can modify here to add *additional* fallback
|
||||||
// mechanisms to access a list of default DOMImplementationSources.
|
// mechanisms to access a list of default DOMImplementationSources.
|
||||||
|
p = DEFAULT_DOM_IMPLEMENTATION_SOURCE;
|
||||||
}
|
}
|
||||||
if (p != null) {
|
if (p != null) {
|
||||||
StringTokenizer st = new StringTokenizer(p);
|
StringTokenizer st = new StringTokenizer(p);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user