oxf:pipeline problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

oxf:pipeline problem

Ryan Puddephatt
I'm using the oxf:pipeline processor like so
 
<!-- create the config url generator to load the model.xpl-->
<p:processor name="oxf:xslt-2.0">
 
<p:input name="data" href="current()" debug="CURRENT"/>
  <p:input
name="config">
   
<config xsl:version="2.0"
     
xsl:exclude-result-prefixes="#all">
      <url>
        <xsl:text>oxf:/pages/scheduler/tasks/xpl/</xsl:text>
        <xsl:value-of select="/task/name"/>
        <xsl:text>.xpl</xsl:text>
      </url>
      <content-type>text/xml</content-type>
      <force-content-type>true</force-content-type>
    </config>
  </p:input>
 
<p:output name="data" id="url-gen-config" debug="URL-GEN-CONFIG"/>
</p:processor>

<p:processor name="oxf:url-generator">
 
<p:input name="config" href="#url-gen-config"/>
  <p:output name="data" id="pipe-in" debug="PIPE-IN"/>
</p:processor>

<p:processor name="oxf:pipeline">
 
<p:input name="instance" href="current()" debug="A-INSTANCE"/>
 
<p:input name="config" href="#pipe-in"/>
  <p:output name="data" ref="pipeline-response" debug="PIPELINE-RESPONSE"/>
</p:processor>

This works ok, except the instance input to oxf:pipeline isn't passed through and causes an error, I have had it working when I haven't needed it. Any idea why this isn't passed through?
 
Thanks
 
Ryan

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: oxf:pipeline problem

Alessandro  Vernet
Administrator
Ryan,

On 10/24/06, Ryan Puddephatt <[hidden email]> wrote:
> This works ok,  except the instance input to oxf:pipeline isn't passed through
> and causes an  error, I have had it working when I haven't needed it. Any idea
> why this isn't  passed through?

What is the error you are getting?

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: oxf:pipeline problem

Ryan Puddephatt
Alex,
        It's a not very helpful null:null, so I've attached the XML version
of the exception

Hope this helps

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: [hidden email] [mailto:[hidden email]] On Behalf
>Of Alessandro Vernet
>Sent: 25 October 2006 02:36
>To: [hidden email]
>Subject: Re: [ops-users] oxf:pipeline problem
>
>Ryan,
>
>On 10/24/06, Ryan Puddephatt <[hidden email]> wrote:
>> This works ok,  except the instance input to oxf:pipeline
>isn't passed
>> through and causes an  error, I have had it working when I haven't
>> needed it. Any idea why this isn't  passed through?
>
>What is the error you are getting?
>
>Alex
>--
>Blog (XML, Web apps, Open Source):
>http://www.orbeon.com/blog/
>
>

exception.xml (60K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: oxf:pipeline problem

Ryan Puddephatt
Alex,
        I've found the problem, it was because I used xs:date() in an XSLT
processor, but I didn't have the xs namespace. Don't know why it gave me
such an odd message, took a lot of trial and error!

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Ryan Puddephatt [mailto:[hidden email]]
>Sent: 25 October 2006 10:26
>To: [hidden email]
>Subject: RE: [ops-users] oxf:pipeline problem
>
>Alex,
> It's a not very helpful null:null, so I've attached the
>XML version of the exception
>
>Hope this helps
>
>Ryan
>
>Ryan Puddephatt
>Software Engineer
>
>Teleflex Group - IT UK
>1 Michaelson Square
>Livingston
>West Lothian
>Scotland
>EH54 7DP
>
>e> [hidden email]
>t> +44(0)1506 407 110
>f> +44(0)1506 407 108
>
>
>
>>-----Original Message-----
>>From: [hidden email] [mailto:[hidden email]] On Behalf Of
>>Alessandro Vernet
>>Sent: 25 October 2006 02:36
>>To: [hidden email]
>>Subject: Re: [ops-users] oxf:pipeline problem
>>
>>Ryan,
>>
>>On 10/24/06, Ryan Puddephatt <[hidden email]> wrote:
>>> This works ok,  except the instance input to oxf:pipeline
>>isn't passed
>>> through and causes an  error, I have had it working when I haven't
>>> needed it. Any idea why this isn't  passed through?
>>
>>What is the error you are getting?
>>
>>Alex
>>--
>>Blog (XML, Web apps, Open Source):
>>http://www.orbeon.com/blog/
>>
>>
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws