Tests XS0031 is raised, when p:with-option uses an undeclared option name.
Test ab-with-option-002.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>
<p:with-option name="undeclared" select="option"/>
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
</p:declare-step>
Some new and some changed tests