Hi, I'm trying to use the camel XSLT component with a stylsheet that contains xpath "document()" instructions. I've seen that default URIResolver works only with classpath resources, but my resources are available on relative web URLs (I'm using the Camel Servlet component deployed in a webapp). I'm trying to write a custom URIResolver but I'm not sure what is the correct way to manage the URL. The resolve(String href, String base) method has two parameters. The first is the resource to resolve (in my case, for example "../webresources/schema.xsd") the second is always empty. This class has no access to the HttpServletRequest and also there is no possibility to obtain host, port and contextpath where the Camel Servlet is deployed. So, I cannot find a simple way to build the absolute URL, in order to read the resource.
Any idea? Thanks.
