<?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"
        error="err:XD0023">
  
  <t:title>Test err:XD0023 - #004</t:title>
  
  <t:description xmlns="http://www.w3.org/1999/xhtml"><p>Tests that XProc extension functions are not available in the step XPath context.</p></t:description>

  <t:pipeline>
    <p:declare-step version='1.0'>
      <p:output port="result" sequence="true"/>

      <!--  -->
      <p:split-sequence test="p:system-property('p:episode')">
        <p:input port="source">
          <p:inline><doc/></p:inline>
        </p:input>
      </p:split-sequence>

    </p:declare-step>
  </t:pipeline>
  
</t:test>

