Test DTD validation: Error needs to be raised for invalid document.
Test ab-validate-with-dtd-009.xml is expected to fail with error code err:XC0210
.
It requires the following features: p-validate-with-dtd.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
<p:output port="result"/>
<p:validate-with-dtd serialization="map{'doctype-system' : '../documents/address.dtd'}">
<p:with-input>
<p:inline>
<address>
<first-name>Douglas</first-name>
<last>Adams</last>
<phone>42</phone>
</address>
</p:inline>
</p:with-input>
</p:validate-with-dtd>
</p:declare-step>
Initial check in.