L.S.,

Yes, this should get you the same result.  Can you post the complete XSL
file?  The exception seems to indicate that something else is wrong with
your XML file (unbalanced tags, forgotten a " around an attribute, ...)

Regards,

Gert Vanthienen


Bummer wrote:
> 
> I have tried out the xpath router using xslt component.
> It seems to work ok except that "<jbi:forward..." tag. 
> 
> I got the following error with <jbi:forward...>
> [...]
> [Fatal Error] :-1:-1: Premature end of file.
> file:///D:/apache-servicemix-3.2-incubating-SNAPSHOT/dummy.xsl; row #0;
> column #0; org.xml.sax.SAXParseException: Premature end of file.
> [...]
> 
> So I had to use <jbi:invoke> instead with the following.
> 
> <jbi:invoke service="xpathrouting:trace">
>      <jbi:copyProperties/>
>      <xsl:copy-of select="/" />
>  </jbi:invoke>
> 
> Isn't that supposed to be same as the following ?
> 
> <jbi:forward service="xpathrouting:trace"/>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%3Cjbi%3Afoward-...%3E-doesn%27t-work----%28Xpath-router%29-tf3771463s12049.html#a10714272
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to