<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/nw-psvi-002.xml"
        name="nw-psvi-002.xml"
        expected="fail"
        code="err:XD0022"
        features="no-psvi-support">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>nw-psvi-002</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2024-12-26</t:date>
            <t:author>
               <t:name>Norm Tovey-Walsh</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Proposed test.</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Tests that p:validate-with-xml-schema produces PSVI annotations.</p>
   </t:description>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step 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>
   </t:pipeline>
</t:test>
