p:document 023
Test is expected to fail with error code err:XD0058.
The pipeline
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:t="http://xproc.org/ns/testsuite/3.0" 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':'reject'}"/>
</p:with-input>
</p:identity>
</p:declare-step>
Revision history
- 23 Nov 2019, Achim Berndzen
Changed test from p:document-properties-document() to p:document-properties(). - 29 Aug 2018, Achim Berndzen
Now I have all tests where p:document needs a content-type according to the new specs - 02 Jun 2018, Norman Walsh
Fix namespace declarations - 25 Apr 2018, Achim Berndzen
More tests.