ppkarwasz opened a new pull request, #95:
URL: https://github.com/apache/commons-secure-xml/pull/95

   `newXMLFilter` built a `SecureTemplates` and called `newTransformer()` 
inside every `parse`. The filter now takes the `Transformer` it drives, built 
once in the factory, which is what the stock filters do: Apache Xalan's and the 
JDK's `TrAXFilter` both call `templates.newTransformer()` in their constructor. 
Two consequences: a stylesheet that cannot produce a transformer fails from 
`newXMLFilter` rather than from the first parse, and state set on the 
transformer — parameters, output properties — survives across parses of the 
same filter.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to