Test err-xd0061-001.xml is expected to fail with error code err:XD0061
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="main" version="3.0">
<p:output port="result" sequence="true"/>
<p:variable name="error" as="xs:QName" 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>
A few editorial changes without substantive effect on the test.
Fixed test by declaring xs-namespace.
Error should now be err:XD0061
,
since we now have a more specific code. (Was originally name 'err-xd0036-001.xml')
New tests. Some tests changed to new order in p:pipe
Added tests for invalid sequence type and unmatched sequence type