Problem with pipeline processor

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

Problem with pipeline processor

alan.boshier

I have a strange problem invoking an .xpl file which creates a dynamic pipeline and then in turn invokes that.

Without any debug attributes, the pipeline throws an exception:

11:19:45,031 [TeeProcessor] creation
org.orbeon.oxf.common.ValidationException: null, line 0, column 0:
null, line 0, column 0:

at org.orbeon.oxf.processor.pipeline.TeeProcessor.(TeeProcessor.java:45) at org.orbeon.oxf.processor.pipeline.PipelineBlock.connectProcessorToHref(PipelineBlock.java:96) at org.orbeon.oxf.processor.pipeline.PipelineBlock.connectProcessorToHref(PipelineBlock.java:190) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.createConfigFromAST(PipelineProcessor.java:271) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.readPipelineConfig(PipelineProcessor.java:470) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$2200(PipelineProcessor.java:66) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$9.read(PipelineProcessor.java:626) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:622) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.getInput(PipelineProcessor.java:140) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:89) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:1012)

The problem goes away if I put a debug=”true” attribute on a particular element in the dynamically constructed pipeline.

I’ve attached 3 files:

        Working xpl file (with comment concerning where to put single debug=”true” hack), which constructs a dynamic
pipeline to perform an XML include of one file into another.

        Two XML files that are passed to the pipeline, one constituting the master XML that performs the inclusion, and
the other constituting the XML to be included.

 

(In this particular example there is no need for a dynamically constructed pipeline, but this is a simplified version of more
elaborate example where the number of XML include’s in the master file is unbounded at runtime.)

My guess is that adding “debug” subtly influences the flow of control of the pipeline, and is hiding the underlying issue.

Thanks

 

Alan

 

VAT Registration No. 755 615 318
Esprit Ltd registered in England Company No. 02312520
Registered Office: Esprit Limited, Hall View Drive off Glaisdale Drive,
West
Bilborough, Nottingham, Nottinghamshire, NG8 4DG

 



--
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

getDataForeCAF.xpl (5K) Download Attachment
eCAFSnapshot.xml (10K) Download Attachment
forms.xml (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem with pipeline processor

Alessandro Vernet
Administrator
Hi Alan,

On 5/29/07, Alan Boshier <[hidden email]> wrote:
> I have a strange problem invoking an .xpl file which creates a dynamic
> pipeline and then in turn invokes that.

I was able to reproduce the problem and have started investigating the
issue. This is an intriguing one! I don't have a definitive result to
report yet, but have already created a bug for this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=307174&group_id=168&atid=350207

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.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: Problem with pipeline processor

Alessandro Vernet
Administrator
Alan,

On 6/11/07, Alessandro Vernet <[hidden email]> wrote:
> I was able to reproduce the problem and have started investigating the
> issue.

Fixed!

This was a hard one, and I have to say that it took me a while to
figure it out :). It was not a problem with the pipeline engine per
se, but rather with the way we were using the pipeline API in the
XInclude processor. The fix will be in the next nightly build. Let us
know how it works for you.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.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