nw-ns-007

Tests for a non-XProc binding for p:. h/t Amanda Galtman.

Test nw-ns-007.xml is expected to fail with error code xyz:my-error-code.

The pipeline


<abc:declare-step xmlns:abc="http://www.w3.org/ns/xproc" xmlns:xyz="http://example.com/p" version="3.1">
    <!-- Note: The error element binds the 'p' prefix to
        a namespace different from the standard XProc one. -->
   <abc:error xmlns:p="http://example.com/p" code="p:my-error-code">
      <abc:with-input>
         <error-document>An error occurred.</error-document>
      </abc:with-input>
   </abc:error>
</abc:declare-step>

Revision history

25 Feb 2026, Norm Tovey-Walsh

Initial commit