Project

General

Profile

Defect #126

System.setProperty called in XSLTranslator

Added by Michele Vivoda over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
medium
Assignee:
-
Target version:
-
Start date:
2012-04-26
Due date:
2012-05-03
% Done:

100%

Estimated time:
1.00 h
Spent time:

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

#1 Updated by Michele Vivoda over 6 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.

#2 Updated by Hiroya Kubo over 6 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.

#3 Updated by Hiroya Kubo over 6 years ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF