Error err:XS0096
is raised for an invalid sequence type.
See also [[err.inline.S0096]][XP].
Test err-xs0096-001.xml is expected to fail with error code err:XS0096
.
<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:output port="result" sequence="true"/>
<p:variable name="error" as="foo bar baz" select="'hello world'"/>
<p:identity name="inline">
<p:with-input port="source">
<p:inline>
<t:doc>{$error}</t:doc>
</p:inline>
</p:with-input>
</p:identity>
</p:declare-step>
Updated to correct error code; renamed test file.