Tests that err:XD0019 is raised if a user-defined
option has enumerated values and a provided value isn’t one of the
enumerated values. (Without a sequence type this time.)
Test nw-err-xd0019-002.xml is expected to fail with error code err:XD0019.
<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="choice" values="('no', 'yes')" select="'no'"/>
<p:identity name="step">
<p:with-input>
<doc choice="{$choice}"/>
</p:with-input>
</p:identity>
</p:declare-step>
Initial commit