p:document 019
Test is expected to fail with error code err:XD0060.
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>
<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>
Revision history
- 14 Jul 2018, Achim Berndzen
adding @content-type on p:document - 02 Jun 2018, Norman Walsh
Fix namespace declarations - 02 May 2018, Achim Berndzen
Change test with document-properties to map{xs:QName, item()} - 25 Apr 2018, Achim Berndzen
More tests. - 03 Apr 2018, Achim Berndzen
Some new tests.