Testing p:load
Test ab-load-008.xml is expected to fail with error code err:XD0023
.
<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:load href="../documents/address-invalid-sample.xml" parameters="map{'dtd-validate' : true()}"/>
</p:declare-step>
Ported test for p:load from 1.0 test suite.