Tests p:document with a simple text document in an unsupported encoding.
Test ab-p-document019.xml is expected to fail with error code err:XD0060
.
<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:identity>
<p:with-input>
<p:document href="../documents/text-file-iso-8859-1.txt" content-type="text/plain; charset=unsupported"/>
</p:with-input>
</p:identity>
<p:wrap-sequence wrapper="doc"/>
</p:declare-step>
adding @content-type on p:document
Fix namespace declarations
Change test with document-properties to map{xs:QName, item()}
More tests.
Some new tests.