Probably since 2.5 final, the oxf:xslt maps to the generic XSLT 2.0 processor:

<processor name="oxf:xslt" uri="oxf/processor/xslt">
    <instantiation name="oxf:generic-xslt-2.0">
        <input name="transformer">
            <config>
                <class>DEFAULT</class>
            </config>
        </input>
    </instantiation>
</processor>

It looks like you have your own processors.xml? Except for your own custom processors that you may have added to processors.xml, the rest of it should in general remain untouched.

-Erik

Anindita Goswami wrote:

Hi Erik,

We are not using actual v2.5. It is beta release of 2.5, which is quite different from 2.5.
In my epilogue it was <p:processor name="oxf:xslt">. But then it was throwing error in oxf-rewrite as it seems it supports only 1.0. In my processors.xml file entry for xslt processor is as follows.


<processor name="oxf:generic-xslt-1.0" uri="oxf/processor/generic-xslt-1.0">
<class name="org.orbeon.oxf.processor.transformer.xslt.XSLT1Transformer"/>
</processor>
<processor name="oxf:xslt" uri="oxf/processor/xslt">
<instantiation name="oxf:generic-xslt-1.0">
<input name="transformer">
<config>
<class>DEFAULT</class>
</config>
</input>
</instantiation>
</processor>


So in epilogue I changed oxf:xslt to oxf:xslt-2.0 and it started working.
Entry for oxf:xslt-2.0 in processors.xml is as follows:

<processor name="oxf:generic-xslt-2.0" uri="oxf/processor/generic-xslt-2.0">
<class name="org.orbeon.oxf.processor.transformer.xslt.XSLT2Transformer"/>
</processor>
<processor name="oxf:saxon7" uri="oxf/processor/saxon7">
<instantiation name="oxf:generic-xslt-2.0">
<input name="transformer">
<config>
<class>net.sf.saxon.TransformerFactoryImpl</class>
</config>
</input>
</instantiation>
</processor>
<processor name="oxf:xslt-2.0" uri="oxf/processor/xslt-2.0">
<instantiation name="oxf:saxon7"/>
</processor>


Please let me know if I am doing anything wrong.

Thanks,
Anindita


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to