<?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 p:log #002</t:title>
  
  <t:description xmlns="http://www.w3.org/1999/xhtml">
    <p>Tests that <code>p:log</code> can be used in an atomic step.</p>
  </t:description>

  <t:input port="source">
    <doc>
      <para>Some text</para>
    </doc>
  </t:input>

  <t:pipeline>
    <p:pipeline version="1.0">
      <p:identity>
        <p:log port="result" href="file:///tmp/out.log"/>
      </p:identity>
    </p:pipeline>
  </t:pipeline>

  <t:output port="result">
    <doc>
      <para>Some text</para>
    </doc>
  </t:output>


</t:test>

