Library import 023 (AB)

Tests XS0077 is raised if option/@visibility in prologue of p:library is not 'public | private'.

Test ab-library-023.xml is expected to fail with error code err:XS0077.

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-018.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.