xslt: TransformerException: include href is empty
Hi Have a problem when I use xlst and have a xls that contains the function document(‘’). For ex. This gives an exception like: javax.xml.transform.TransformerException: include href is empty I have tried to use saxon, according to http://camel.465427.n5.nabble.com/xslt-error-with-document-td5713535.html, without any success. My route: I’m stuck, grateful for any help… Regards, Per -- View this message in context: http://camel.465427.n5.nabble.com/xslt-TransformerException-include-href-is-empty-tp5730288.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: xslt: TransformerException: include href is empty
Hi Thanks for your reply. I'm using version 2.10.4. I saw in the relese notes of 2.11 something written about corrections for xslt. Do you think this correction should fix my problem? I can also post an example if needed. Regards, Per -- View this message in context: http://camel.465427.n5.nabble.com/xslt-TransformerException-include-href-is-empty-tp5730288p5730313.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: xslt: TransformerException: include href is empty
Yes, it's valid and works with other tools. Below is an example. The file 1.xml, placed in the directory ./xmlin/rcv/ 1 The file DocTest.xsl, placed in the directory target/classes (that is part of the classpath) http://exslt.org/dates-and-times"; version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> January February -- View this message in context: http://camel.465427.n5.nabble.com/xslt-TransformerException-include-href-is-empty-tp5730288p5730315.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: xslt: TransformerException: include href is empty
Hi again, Is this problem existing, due to camels own XsltUriResolver? It seems that camels XsltUriResolver only is capable to handle files either from the classpath or the file system. With the xlst function, document(''), the xslt processer should be able to handle that the result "is the source XML of the XSLT document itself". Should I create a JIRA case for camel? Is there any guidelines how to proceed? Regards / Per -- View this message in context: http://camel.465427.n5.nabble.com/xslt-TransformerException-include-href-is-empty-tp5730288p5735567.html Sent from the Camel - Users mailing list archive at Nabble.com.