nw-library-004

Tests that option imports are transitive.

Test is expected to fail with error code err:XS0088.

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/nw-library-002.xpl"/>
   <p:output port="result"/>
   <p:option name="option" select="'bzzzt. nope.'"/>
   <p:identity>
      <p:with-input>
         <result>
            <option>{$option}</option>
         </result>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

06 Dec 2024, Norm Tovey-Walsh
Initial commit