Library import 023 (AB)

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

Test 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:t="http://xproc.org/ns/testsuite/3.0" 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>

Revision history

28 Feb 2019, Achim Berndzen
Added new tests for p:declare-step and p:import.