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
.
<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>
Added new tests for p:declare-step and p:import.