Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3
-
None
Description
For instance, in SessionImpl.java:
public void exportSystemView(String absPath, OutputStream out,
boolean skipBinary, boolean noRecurse)
throws IOException, PathNotFoundException, RepositoryException {
SAXTransformerFactory stf = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
try
catch (TransformerException te)
{ throw new RepositoryException(te); }catch (SAXException se)
{ throw new RepositoryException(se); }}
(1) It should be "setOutputProperty()", not "setParameter()",
(2) My tests show that setting the parameters only has an effect when done before calling setResult()
That being said, the effect is minor, as the default settings for the TransformerHandler seem to be correct anway.