Tests p:document with a JSON-document: Error XD0059 expected because 'duplicates' has illegal value.
Test ab-p-document025.xml is expected to fail with error code err:XD0059
.
<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 select="p:document-properties(.)">
<p:document href="../documents/JSon-doc1.json" content-type="application/json" parameters="map{'duplicates': 'illegal'}"/>
</p:with-input>
</p:identity>
</p:declare-step>
Changed test from p:document-properties-document() to p:document-properties().
Now I have all tests where p:document needs a content-type according to the new specs
Fix namespace declarations
More tests.