nw-psvi-002

Tests that p:validate-with-xml-schema produces PSVI annotations.

Test nw-psvi-002.xml is expected to fail with error code err:XD0022.

It requires the following features: no-psvi-support.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:ex="http://example.com/sample" xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="3.0" psvi-required="true" exclude-inline-prefixes="#all">
   <p:output port="result" sequence="true"/>
   <p:identity>
      <p:with-input>
         <fail/>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

26 Dec 2024, Norm Tovey-Walsh

Proposed test.