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

Calabash 0.9.4 and p:http-request; response content conversion

From: Florent Georges <fgeorges@fgeorges.org>
Date: Thu, 5 Feb 2009 17:16:54 +0100
Message-ID: <ebaca5bf0902050816p21b0de5aj3bb47e88da5e24ff@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>


  When I execute the following pipeline with Calabash 0.9.4:

    <p:pipeline xmlns:p="http://www.w3.org/ns/xproc"

          <p:input port="source">
                <c:request href="http://localhost:8080/exist/rest/db"
                           method="post" username=".." password="..">
                   <c:body content-type="application/xml">
                         <e:text>concat('Hello, ', 'world!')</e:text>
                            <e:property name="indent" value="yes"/>


I get the following result:

    <c:body xmlns:c="http://www.w3.org/ns/xproc-step"
content-type="text/xml; charset=UTF-8">&lt;exist:result
xmlns:exist="http://exist.sourceforge.net/NS/exist" exist:hits="1"
exist:start="1" exist:count="1"&gt;
        &lt;exist:value exist:type="xs:string"&gt;Hello,

  First, I think that tells to parse the result (see
http://www.w3.org/TR/xproc/#c.response: "Otherwise (the detailed
attribute is not specified [...]".)  And even if the body had not
to be parsed, the step should return a c:response, not a c:body.

  Am I wrong?


Florent Georges
Received on Thursday, 5 February 2009 16:22:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:04 UTC