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

Hi Vojetch,
When is the next release planned ?

Regards,

Xmlizer

On Mon, Jul 13, 2009 at 7:49 AM, <Toman_Vojtech@emc.com> wrote:

> >
> > 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 08:32:20 UTC