http-request-095 (AB)

Test parameter "timeout" must be a non-negative xs:decimal.

Test ab-http-request-095.xml is expected to fail with error code err:XC0124.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         
         <p:http-request method="get" href="http://tests.xproc.org/service/fixed-xml" parameters="map{'timeout' : -1}">
            <p:with-input>
               <p:empty/>
            </p:with-input>
         </p:http-request>
         
      </p:declare-step>
   
MorganaXProc passing

Revision history

18 Jan 2020, Achim Berndzen

Added new tests for p:http-request.