I just spoke with Matthieu about this and it might be a genuine bug. Can
you please file an issue in Jira?
I'd recommend using XPath 2.0 in the mean time, it's close to
99.9%compatible with XPath
1.0
alex
On 11/15/07, Yannick Lizzi <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Yes I played a bit with the BPEL to try to understand from where the
> problem
> could come.
> I tested again with the original bpel (and original xsl) and I get the
> same
> error:
>
> DEBUG - GeronimoLog.debug(66) | Fault response message: {
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure
> 09:16:37,879 DEBUG [ODEService] Fault response message: {
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure
> ERROR - GeronimoLog.error(108) | Error processing response for MEX
> {MyRoleMex#hqejbhcnphr2qu047sdqrq [Client hqejbhcnphr2qu047sdqrp] calling
> {
> http://pxe/bpel/unit-test.wsdl}HelloXslService.helloXsl(...)}
> org.apache.axis2.AxisFault: {
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailureAn
> exception occured while evaluating "{OXPath10Expression
> bpws:doXslTransform("HelloXslWorld.xsl", $myVar.TestPart, 'middle',
> $otherVar)}": Content is not allowed in prolog.
> at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:221)
> at org.apache.ode.axis2.ODEService.onAxisMessageExchange(
> ODEService.java
> :173)
> at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(
> ODEMessageReceiver.java:69)
> at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(
> ODEMessageReceiver.java:50)
>
>
> Cheers
> Yannick
>
>
>
> On Nov 15, 2007 12:25 AM, Alex Boisvert <[EMAIL PROTECTED]> wrote:
>
> > Strange. Did you change the XSL stylesheet or the BPEL? I noticed the
> > original BPEL contains the following expression,
> >
> > bpws:doXslTransform("HelloXslWorld.xsl", $myVar.TestPart, 'middle',
> > $otherVar)
> >
> > but the log below doesn't have the last two parameters.
> >
> > alex
> >
> >
> > On 11/14/07, Yannick Lizzi <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi all,
> > >
> > > Is it possible to use doXslTransform with query language BPEL 2.0 -
> > XPath
> > > 1.0 (instead of 2.0)?
> > > I understand it should be possible regarding the standards, but I
> always
> > > get
> > > the following error: "Content is not allowed in prolog". (I use ODE
> 1.1)
> > >
> > > To reproduce this, I take the HelloXslWorld test and change query
> > language
> > > and expression language "urn:oasis:names:tc:wsbpel:
> 2.0:sublang:xpath2.0"
> > > in
> > > "urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0". I report a part of
> the
> > > exception here:
> > > org.apache.axis2.AxisFault: {
> > >
> >
> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailureAn
> <
> http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailureAn
> >
> > > exception occured while evaluating "{OXPath10Expression
> > > bpws:doXslTransform("HelloXslWorld.xsl", $myVar.TestPart)}": Content
> is
> > > not
> > > allowed in prolog.
> > > at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:221)
> > > at org.apache.ode.axis2.ODEService.onAxisMessageExchange(
> > > ODEService.java
> > > :173)
> > > at
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic
> > (
> > > ODEMessageReceiver.java:69)
> > > at
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic
> > (
> > > ODEMessageReceiver.java:50)
> > > at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
> > > AbstractMessageReceiver.java:96)
> > > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
> > >
> > > Is it the expected outcome?
> > >
> > > Thanks
> > > Yannick
> > >
> >
>