You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/01/30 11:21:24 UTC

[jira] Commented: (SM-1204) add jbi extension support in saxon component

    [ https://issues.apache.org/activemq/browse/SM-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41183#action_41183 ] 

Guillaume Nodet commented on SM-1204:
-------------------------------------

Would it be possible to provide the patch as a 'svn diff' ?
It makes it far easier to review and apply.
Also, make sure the java files all have the correct ASF header.

If you have more time, a very simple junit test case would be awesome
and that would give an idea how to configure the xslt to leverage these
extensions (in addition to making sure it works).

> add jbi extension support in saxon component
> --------------------------------------------
>
>                 Key: SM-1204
>                 URL: https://issues.apache.org/activemq/browse/SM-1204
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-saxon
>    Affects Versions: 3.2.1
>         Environment: all
>            Reporter: Kevin kalmbach
>         Attachments: saxon.zip
>
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>
> In the lw container there were jbi extensions for xalan xsl transformations.
> We would like this functionality reproduced in the Saxon transformers.
> I attached all new files.
> The only change to xsl files is that in the header, there needs to be this line.. (indicating the class for the extensions).
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> 	xmlns:jbi="saxon://org.apache.servicemix.saxon.JBIExtension"
>         extension-element-prefixes="jbi"
> >
> Also in XsltEndpoint.java (Both in saxon and xalan), at the bottom of the file, there are sets for in, exchange and component.
> out needs to be set here as well (This looks like an old bug even from the xalan days).  This is needed for setProperties and copyOut.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.