Tests XS0031 is raised, when step is called with an undeclared option in short-cut
Test ab-with-option-001.xml is expected to fail with error code err:XS0031
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="main" version="3.0">
<p:input port="source"/>
<p:output port="result"/>
<p:identity option="not-declared">
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
</p:declare-step>
Some new and some changed tests