<?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:px="http://xproc.dev.java.net/ns/extensions"
      xmlns:c="http://www.w3.org/ns/xproc-step"
      xmlns:err="http://www.w3.org/ns/xproc-error"
      error="err:XS0018">
<t:title>Test for err:XS0018 - 003</t:title>

<t:description xmlns="http://www.w3.org/1999/xhtml">
  <p>Tests if static error XS0018 is thrown if a compound step
  is invoked without specifying a value for a required option.</p>  
</t:description>

<t:pipeline>
  <p:declare-step version='1.0' xmlns:ex="http://example.com/ns/xproc-extensions">
    <p:declare-step type="ex:user-defined">
      <p:output port="result"/>
      <p:option name="opt" required="true"/>
    </p:declare-step>

    <ex:user-defined/>
  </p:declare-step>

</t:pipeline>

</t:test>

