<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite"
        xmlns:p="http://www.w3.org/ns/xproc"
        xmlns:c="http://www.w3.org/ns/xproc-step"
        xmlns:err="http://www.w3.org/ns/xproc-error">

<t:title>Test versioning #007</t:title>

<t:description xmlns="http://www.w3.org/1999/xhtml">
  <p>Tests that forwards-compatible mode is triggered for steps from
  libraries from future versions of XProc.</p>
</t:description>

<t:pipeline>
<p:declare-step version="1.0" xmlns:ex="http://example.com/ns/xproc">
  <p:output port="result"/>

  <p:import href="library-v2.xpl"/>

  <ex:test/>

</p:declare-step>
</t:pipeline>

<t:output port="result"><doc/></t:output>

</t:test>

