RE: How do I invoke Calumet without a specifying a binding to the input port?

> 
> Is there a way to invoke Calumet without specifying on the 
> command line a binding to the primary input port?
> 
> In all of my pipelines I specify the bindings *in* the 
> pipeline; I don't want to specify a binding on the command line.

This has already been reported by other users. This is a bug in the
engine, and I have already fixed it for the next release. I don't think
there is a way to workaround the issue with the present version.

> 
> I get a null pointer exception when I invoke the below 
> pipeline. Here's how I invoked Calumet:
> 
> java -classpath %CLASSPATH% 
> com.emc.documentum.xml.xproc.tool.Cmd -i source=empty.xml data.xpl
> 
> /Roger
> 
> I get a null pointer exception when I invoke this pipeline:
> 
> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
>                 xmlns:h="http://www.helloworld.org">
> 
>     <p:input port="source">
>         <p:empty />
>     </p:input>
> 
>     <p:output port="result" />
> 
>     <p:identity>
>         <p:input port="source">
>             <p:data wrapper="h:HelloWorld"
>                     content-type="text/plain"
>                     href="HelloWorld.txt" />
>         </p:input>
>     </p:identity>
> 
> </p:declare-step>

Fixed for the next release. BTW, the following is not correct in your
pipeline:

<p:input port="source">
  <p:empty/>
</p:input>

Unless you make the "source" port accept sequences (sequence="true"),
you will get a dynamic error.


Thanks for reporting the problems.

Regards,
Vojtech

Received on Monday, 13 July 2009 06:50:50 UTC