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

Bug in Calabash: not reporting error on input port with p:empty

From: Costello, Roger L. <costello@mitre.org>
Date: Sat, 18 Jul 2009 09:28:26 -0400
To: "xproc-dev@w3.org" <xproc-dev@w3.org>
Message-ID: <9E51F88D5247B648908850C35A3BBB500400458CA1@IMCMBX3.MITRE.ORG>

Hey Norm,

This pipeline has an empty input port:

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

Calabash accepts it. Shouldn't it generate an error?

/Roger
Received on Saturday, 18 July 2009 13:29:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 July 2009 13:29:05 GMT