<?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:XC0038">

<t:title>Test xslt-002</t:title>

<t:input port='source'>
<document>
<title>Some Title</title>
<para>Some paragraph.</para>
</document>
</t:input>

<t:input port='style'>
<!-- irrelevant -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns="http://www.w3.org/1999/xhtml"
                version="1.0"/>
</t:input>

<t:pipeline>
<p:declare-step version='1.0' name="pipeline">
<p:input port="parameters" kind="parameter"/>
<p:input port="source"/>
<p:input port="style"/>
<p:output port="result"/>

<p:xslt version="0.5">
  <p:input port="source">
    <p:pipe step="pipeline" port="source"/>
  </p:input>
  <p:input port="stylesheet">
    <p:pipe step="pipeline" port="style"/>
  </p:input>
</p:xslt>

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

</t:test>

