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
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
----------------------------------------------------------------------------------------
| Erik Bruchez <ebruchez @orbeon.com> Sent by: orbeon-user-admin 01/10/2005 05:06 PM
|
To: [email protected] cc: Subject: Re: [orbeon-user] error thrown in oxf-ewrite.xsl |
The epilogue should contain:
<p:processor name="oxf:xslt">
Which is the generic XSLT transformer, which supports both 1.0 and 2.0.
There is no migration documentation. In your first email you mentioned
moving from 1.5 to 2.6, but I guess you meant 2.5 to 2.6, right?
At any rate, not much changed between 2.5 and 2.6 that should impact you
except some XForms enhancements, so I am surprised you have problems.
Did you make heavy changes in the epilogue?
-Erik
Anindita Goswami wrote:
>
>
> Hi Erik,
>
> I have solved the problem. And you are right. I was using xslt1.0
> processor. But I am referring to the epilogue given in the v2.6
> examples. There it is using xslt1.0 processor.
> I was wondering if there is any documentation available for migration
> from v2.5 beta to v2.6, as it seems its not a straight forward process.
> Thanks a lot.
> -Anindita
>
> ----------------------------------------------------------------------------------------
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
> written agreement or government initiative expressly permitting the use
> of e-mail for such purpose.
> ----------------------------------------------------------------------------------------
>
>
>
> *Erik Bruchez <ebruchez
> @orbeon.com>*
> Sent by: orbeon-user-admin
>
> 01/07/2005 11:16 PM
> Please respond to orbeon-user
>
>
> To: [email protected]
> cc:
> Subject: Re: [orbeon-user] error thrown in oxf-ewrite.xsl
>
>
>
>
> Are you using an old epilogue, or the one that comes with 2.6? This
> suggests that the oxf-rewrite.xsl stylesheet, which now uses XSLT 2.0,
> is passed to an XSLT 1.0 processor.
>
> -Erik
>
> Anindita Goswami wrote:
> >
> > Hi,
> > My application needs to be migrated from oxf v1.5 to oxf v2.6. While
> > rendering the first page of application, it is generating the page in
> > pipeline, but the page could not be displayed, as error is thrown from
> > epilogue.xpl in oxf-rewrite.xsl file. Following is the error i am
> getting:
> >
> > ERROR org.orbeon.oxf.pipeline.InitUtils - Exception at
> > oxf:/oxf/pfc/oxf-rewrite.xsl, line 50, column 91
> >
> > org.orbeon.oxf.common.ValidationException: oxf:/oxf/pfc/oxf-rewrite.xsl,
> > line 50, column 91 : Error attribute "version" has a bad value(schema:
> > http://www.w3.org/1999/XSL/Transform|1.0) :
> > oxf:/oxf/pfc/oxf-rewrite.xsl, line 50, column 91: Error attribute
> > "version" has a bad value(schema:
> http://www.w3.org/1999/XSL/Transform|1.0)
> >
> > Any idea if I am missing something or this is a bug?
> > Thanks in advance,
> > Anindita
> >
> >
> ----------------------------------------------------------------------------------------
> > This is a PRIVATE message. If you are not the intended recipient, please
> > delete without copying and kindly advise us by e-mail of the mistake in
> > delivery. NOTE: Regardless of content, this e-mail shall not operate to
> > bind CSC to any order or other contract unless pursuant to explicit
> > written agreement or government initiative expressly permitting the use
> > of e-mail for such purpose.
> >
> ----------------------------------------------------------------------------------------
> >
>
>
>
> -------------------------------------------------------
> 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
>
>
-------------------------------------------------------
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
