Checks XS0107 (statically invalid @select) even if an option value is provided. (See #506)
Test ab-option-024.xml is expected to fail with error code err:XS0107
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:option name="option" required="false" select="5+$undeclared"/>
<p:identity>
<p:with-input>
<doc>{$option}</doc>
</p:with-input>
</p:identity>
</p:declare-step>
Changed @select expression, so it is statically invalid.
Changed error code from XS0071 to XS0107.
New tests and some previous texts adapted to recent development
added new tests