You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by "Thomas Vandahl (JIRA)" <ji...@apache.org> on 2006/06/23 14:43:31 UTC

[jira] Created: (TRB-19) Extend Fulcrum XSLT Service

Extend Fulcrum XSLT Service
---------------------------

         Key: TRB-19
         URL: http://issues.apache.org/jira/browse/TRB-19
     Project: Turbine
        Type: Improvement

  Components: Fulcrum  
    Reporter: Thomas Vandahl


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


[jira] Updated: (TRB-19) Extend Fulcrum XSLT Service

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TRB-19?page=all ]

Thomas Vandahl updated TRB-19:
------------------------------

    Attachment: fulcrum-xslt.diff

Patch against latest Fulcrum/xslt trunk

> Extend Fulcrum XSLT Service
> ---------------------------
>
>          Key: TRB-19
>          URL: http://issues.apache.org/jira/browse/TRB-19
>      Project: Turbine
>         Type: Improvement

>   Components: Fulcrum
>     Reporter: Thomas Vandahl
>  Attachments: fulcrum-xslt.diff
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


[jira] Resolved: (TRB-19) Extend Fulcrum XSLT Service

Posted by "Scott Eade (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TRB-19?page=all ]
     
Scott Eade resolved TRB-19:
---------------------------

    Resolution: Fixed
     Assign To: Scott Eade

Patch applied.
I corrected the copyright dates and added an entry to changes.xml - if you can do this in the future it would be helpful.
I also bumped the version to 1.0.4-dev (perhaps this should be 1.1 for a release).

Thanks.

> Extend Fulcrum XSLT Service
> ---------------------------
>
>          Key: TRB-19
>          URL: http://issues.apache.org/jira/browse/TRB-19
>      Project: Turbine
>         Type: Improvement

>   Components: Fulcrum
>     Reporter: Thomas Vandahl
>     Assignee: Scott Eade
>  Attachments: fulcrum-xslt.diff
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org