viewport-027 (AB)

Test p:viewport raises XD0010 if attribute is matched.

Test ab-viewport-027.xml is expected to fail with error code err:XD0010.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:viewport match="doc/@a">
      <p:with-input>
         <doc a="100"/>
      </p:with-input>
      <p:add-attribute match="/*" attribute-name="att" attribute-value="3"/>
   </p:viewport>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

18 Sep 2019, Achim Berndzen

Additional tests for p:viewport (partly ported from 1.0)