viewport-025 (AB)

Test p:viewport raises XS0107 for statically invalid match value.

Test is expected to fail with error code err:XS0107.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result"/>
   <p:viewport match="i-do-not-exist()">
      <p:with-input>
         <doc/>
      </p:with-input>
      <p:add-attribute match="/*" attribute-name="att"
                       attribute-value="3"/>
   </p:viewport>
</p:declare-step>

Revision history

18 Sep 2019, Achim Berndzen
Additional tests for p:viewport (partly ported from 1.0)