p:document 011

Tests that a p:with-input with an @href to a not well-formed document raises err:XD0049.

Test ab-p-document011.xml is expected to fail with error code err:XD0049.

The pipeline


<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 href="../documents/ab-not-wellformed.xml"/>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

24 Oct 2018, Norman Walsh

Correct error code, err:XD0049 is expected.

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

03 Apr 2018 16:57, Achim Berndzen

Some new tests.