Library import 022 (AB)

Tests XS109 is raised if option in prologue of p:library is not declared as static.

Test ab-library-022.xml is expected to fail with error code err:XS0109.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" xmlns:x="http://test" version="3.0">
   <p:import href="../pipelines/ab-library-017.xpl"/>
   <p:output port="result"/>
   <p:option name="option" static="true" select="99"/>
   <p:identity>
      <p:with-input>
         <doc>{$option}</doc>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash failing

Revision history

28 Feb 2019, Achim Berndzen

Added new tests for p:declare-step and p:import.