Removed "fallback implementation class name" from sources as it is
unnecessary as long as a services resource file exists in the jar. The original author put that in there b/c of parinoia. This change makes the implementation of javax.xml.parsers and javax.xml.transform totally implementation neutral. git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@225925 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0949fcbb88
commit
f13681688c
@ -140,7 +140,7 @@ public abstract class DocumentBuilderFactory {
|
|||||||
/* The default property name according to the JAXP spec */
|
/* The default property name according to the JAXP spec */
|
||||||
"javax.xml.parsers.DocumentBuilderFactory",
|
"javax.xml.parsers.DocumentBuilderFactory",
|
||||||
/* The fallback implementation class name */
|
/* The fallback implementation class name */
|
||||||
"org.apache.crimson.jaxp.DocumentBuilderFactoryImpl");
|
null);
|
||||||
} catch (FactoryFinder.ConfigurationError e) {
|
} catch (FactoryFinder.ConfigurationError e) {
|
||||||
throw new FactoryConfigurationError(e.getException(),
|
throw new FactoryConfigurationError(e.getException(),
|
||||||
e.getMessage());
|
e.getMessage());
|
||||||
|
|||||||
@ -136,7 +136,7 @@ public abstract class SAXParserFactory {
|
|||||||
/* The default property name according to the JAXP spec */
|
/* The default property name according to the JAXP spec */
|
||||||
"javax.xml.parsers.SAXParserFactory",
|
"javax.xml.parsers.SAXParserFactory",
|
||||||
/* The fallback implementation class name */
|
/* The fallback implementation class name */
|
||||||
"org.apache.crimson.jaxp.SAXParserFactoryImpl");
|
null);
|
||||||
} catch (FactoryFinder.ConfigurationError e) {
|
} catch (FactoryFinder.ConfigurationError e) {
|
||||||
throw new FactoryConfigurationError(e.getException(),
|
throw new FactoryConfigurationError(e.getException(),
|
||||||
e.getMessage());
|
e.getMessage());
|
||||||
|
|||||||
@ -140,7 +140,7 @@ public abstract class TransformerFactory {
|
|||||||
/* The default property name according to the JAXP spec */
|
/* The default property name according to the JAXP spec */
|
||||||
"javax.xml.transform.TransformerFactory",
|
"javax.xml.transform.TransformerFactory",
|
||||||
/* The fallback implementation class name */
|
/* The fallback implementation class name */
|
||||||
"org.apache.xalan.processor.TransformerFactoryImpl");
|
null);
|
||||||
} catch (FactoryFinder.ConfigurationError e) {
|
} catch (FactoryFinder.ConfigurationError e) {
|
||||||
throw new TransformerFactoryConfigurationError(e.getException(),
|
throw new TransformerFactoryConfigurationError(e.getException(),
|
||||||
e.getMessage());
|
e.getMessage());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user