Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-122

add jbi extension support in saxon component

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.1
    • 2013.02
    • servicemix-saxon
    • None
    • all

    • Patch Available

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kkalmbach Kevin kalmbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified