Tests that err:XS0037
is raised when p:output
contains non whitespace text nodes.
Test ab-err-s0037-005.xml is expected to fail with error code err:XS0037
.
<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:pipe step="identity"/>This is illegal text
</p:output>
<p:identity name="identity">
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
</p:declare-step>
Corrected the error code.
Fix namespace declarations
More tests.