Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
I ported my changes to the TurbineXSLTService over to Fulcrum.
This is what I did:
- Get rid of direct File() access in DefaultXSLTService and replace it with URL access. The change also allows to place the repository of XSL files elsewhere. You can, for example, define your style sheet path as "http://style.acme.com/"
- Add transform() methods having an additional parameter to forward a parameter set to the XSLT. The parameters can be used in the style sheet.
- Addition of several JavaDocs
- Code formatting
- Fixed visibility issues
The Turbine 2.3.2 code base has additionally
- Replace the cache Map() with a LRUMap() to avoid infinite memory growth
I did not want to add a dependency on commons-collections just for this only purpose, so I left that out.