Defect #126
System.setProperty called in XSLTranslator
Status:
Closed
Priority:
medium
Assignee:
-
Target version:
-
Description
In XSLTranslator there are some calls to System.setProperty:
System.setProperty("javax.xml.transform.TransformerFactory",
"org.apache.xalan.processor.TransformerFactoryImpl");
System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
System.setProperty("javax.xml.parsers.SAXParserFactory",
"org.apache.xerces.jaxp.SAXParserFactoryImpl");
In a web application these calls influence all the other web applications so should not be used.
Proposal: move these calls to the Swing Layer (SourceEditor)
History
Updated by Michele Vivoda about 10 years ago
PS: are these properties really necessary ? For me everyhting works finely without them,
I think however that there was a time when these were necessary.
Updated by Hiroya Kubo about 10 years ago
- Due date set to 2012-05-03
- % Done changed from 0 to 100
- Estimated time set to 1.00 h
commented out lines of System.setProperty.
Thanks.