W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2009

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

From: Costello, Roger L. <costello@mitre.org>
Date: Sat, 11 Jul 2009 12:50:45 -0400
To: "xproc-dev@w3.org" <xproc-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB500400458C76@IMCMBX3.MITRE.ORG>

Hi Folks,

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.

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>
Received on Saturday, 11 July 2009 16:51:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 July 2009 16:51:21 GMT