title: Either a source document or an initial template must be specified
body: <p>I'm trying to run the following <strong>xproc</strong> code which involves sequence of xslt steps in pipeline. However the Calabash is not able to read or get the source document although the 'href' link is clearly mentioned. </p>
  
  <p>The following error is reported in oXygen editor:</p>
  
  <p><strong>E [Calabash XProc] "Either a source document or an initial template must be specified"</strong></p>
  
  <p>The following error is seen when running the calabash from console:</p>
  
  <blockquote>
    <p>Mai 07, 2013 2:41:52 PM
    com.xmlcalabash.util.DefaultXProcMessageListener error SEVERE:
    err:XD0011:XProc error err:XD0011 Mai 07, 2013 2:41:52 PM
    com.xmlcalabash.drivers.Main error SEVERE: It is a dynamic error if
    the resource referenced by a p:document element  does not exist,
    cannot be accessed, or is not a well-formed XML document. Mai 07, 2013
    2:41:52 PM com.xmlcalabash.drivers.Main error SEVERE: Underlying
    exception: net.sf.saxon.s9api.SaxonApiException: I/O error re ported
    by XML parser processing C:stlConversionxprocstlxml.xpl:
    C:stlConversionx procstlxml.xpl (Das System kann die angegebene Datei
    nicht finden)</p>
  </blockquote>
  
  <p>Can someone please help me with this error?</p>
  
  <p>Heres my xproc code:</p>
  
  <p>
  
      <br>
      
      <br>
        </p>
  
  <pre><code>&lt;p:output port="result" sequence="true"&gt;  
      &lt;p:pipe step="pre-run" port="result"/&gt;
      &lt;p:pipe step="normalize-stl-xml" port="result"/&gt;
      &lt;p:pipe step="tf-transform" port="result"/&gt;
      &lt;p:pipe step="transformARDOnline" port="result"/&gt;
      &lt;p:pipe step="filterUnusedStyleLayout" port="result"/&gt;
  &lt;/p:output&gt;
  
  &lt;p:xslt name="pre-run"&gt;
      &lt;p:input port="source"&gt;
          &lt;p:document href="file:/C:/stlConversion/temp/a.xml"/&gt;
      &lt;/p:input&gt;
      &lt;p:input port="stylesheet"&gt;  
          &lt;p:document href="file:/C:/stlConversion/xslt/test.xsl"/&gt; 
      &lt;/p:input&gt;  
      &lt;p:input port="parameters"&gt;  
          &lt;p:empty/&gt; 
      &lt;/p:input&gt;
  &lt;/p:xslt&gt;
  
  &lt;p:xslt name="normalize-stl-xml"&gt;
      &lt;p:input port="source"&gt;  
          &lt;p:pipe step="pre-run" port="result"/&gt;
      &lt;/p:input&gt;  
      &lt;p:input port="stylesheet"&gt;  
          &lt;p:document href="file:/C:/stlConversion/xslt/normalize_stl_xml.xsl"/&gt; 
      &lt;/p:input&gt;  
      &lt;p:input port="parameters"&gt;  
          &lt;p:empty/&gt; 
      &lt;/p:input&gt;
  &lt;/p:xslt&gt;
  
  &lt;p:xslt name="tf-transform"&gt;
      &lt;p:input port="source"&gt;  
          &lt;p:pipe step="normalize-stl-xml" port="result"/&gt;
      &lt;/p:input&gt;  
      &lt;p:input port="stylesheet"&gt;  
          &lt;p:document href="file:/C:/stlConversion/xslt/tf_test_transform.xsl"/&gt; 
      &lt;/p:input&gt;  
      &lt;p:input port="parameters"&gt;  
          &lt;p:empty/&gt; 
      &lt;/p:input&gt;
  &lt;/p:xslt&gt;
  
  &lt;p:xslt name="transformARDOnline"&gt;
      &lt;p:input port="source"&gt;  
          &lt;p:pipe step="tf-transform" port="result"/&gt;
      &lt;/p:input&gt;  
      &lt;p:input port="stylesheet"&gt;  
          &lt;p:document href="file:/C:/stlConversion/xslt/transformARDOnline.xslt"/&gt; 
      &lt;/p:input&gt;  
      &lt;p:input port="parameters"&gt;  
          &lt;p:empty/&gt; 
      &lt;/p:input&gt;
  &lt;/p:xslt&gt;
  
  &lt;p:xslt name="filterUnusedStyleLayout"&gt;
      &lt;p:input port="source"&gt;  
          &lt;p:pipe step="transformARDOnline" port="result"/&gt;
      &lt;/p:input&gt;  
      &lt;p:input port="stylesheet"&gt;  
          &lt;p:document href="file:/C:/stlConversion/xslt/filterUnusedStyleLayout.xslt"/&gt; 
      &lt;/p:input&gt;  
      &lt;p:input port="parameters"&gt;  
          &lt;p:empty/&gt; 
      &lt;/p:input&gt;
  &lt;/p:xslt&gt;
  
  &lt;p:store href="file:/C:/stlConversion/ebu-tt_ard_online.xml" media-type="text/xml"/&gt;
  </code></pre>
  
  <p></p>