<?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:XC0058">
<t:title>Test for err:XC0058 - 001</t:title>

<t:description xmlns="http://www.w3.org/1999/xhtml">
  <p>Tests if dynamic error XC0058 is thrown if the all and relative options are both true.</p>  
</t:description>

<t:input port='source'>
    <doc1/>
</t:input>


<t:pipeline>
<p:declare-step version='1.0' name="main"
		xmlns:p="http://www.w3.org/ns/xproc"
		xmlns:ex="http://xproc.org/ns/xproc/ex">
  <p:input port="source"/>
  <p:output port="result"/>

  <p:add-xml-base relative="true" all="true">
    <p:input port="source">
      <p:pipe step="main" port="source"/>
    </p:input>
  </p:add-xml-base>
</p:declare-step>
</t:pipeline>

</t:test>

