title: XSLT not able to resolve file path while using direct-vm in JBoss FSW Switchyard
body: <p>We have developed integration components(Consumer, Router &amp; Provider) using JBoss FSW. The flow of our integration is, a request will come to the consumer, the router will do transformation or routing logic, and the provider will call the actual provider and return the response to the calling program.</p>
  
  <p>In this, we are doing some translation using XSLT. XSLT is referring to XML document, which is available in the classpath. But XSLT is not able to resolve XML document while using <strong>direct-vm://</strong>, but the same is working while using <strong>vm://</strong>.</p>
  
  <pre><code>&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
      &lt;!-- &lt;xsl:output omit-xml-declaration="yes" indent="yes"/&gt; --&gt;
      &lt;xsl:param name="metaData" select="document('../xml/MappingReference.xml')" /&gt;
      &lt;xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/&gt;
      &lt;xsl:strip-space elements="*"/&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>URI for Direct-VM:
  direct-vm://Translator</p>
  
  <p>Please let me know if you need any other details.
  Any help would be much appreciated!</p>
  
  <p>Thanks</p>