JiriOndrusek commented on issue #4065:
URL: https://github.com/apache/camel-quarkus/issues/4065#issuecomment-1235473984

   I don't understand a lot of the code behind the xslt, but I found this 
commit 
https://github.com/apache/camel-quarkus/commit/1348a08fc4c389a5ebaf79da0ee61e4333931ab2#diff-3f81d95136449165870ef59323dfe2d77527e7ff78ba506f4a81b404d608611f
 which seems to be doing the required functionality with the xalan library.
   
   I debugged a little bit the same processes with jdk library.  I made the 
`TransformFactoryImpl` to create a jar file with the generated classes and then 
looked at it and found weird thing. The class generated in the factory was 
`org.apache.camel.quarkus.component.xslt.generated.HtmlTransform`, but in the 
jar in `tmp` folder there is a some kind of placeholder instead of the name:
   
   
![image](https://user-images.githubusercontent.com/26897889/188149818-f6b6eb96-9360-481a-9d87-ad1fde4fd363.png)
   
   @ppalaga  @lburgazzoli I just wanted to share this. I might be missing 
something, but from the debugging it seems like there is a placeholder, which 
is replaced by the real value, but it does't work correctly. If my observation 
is correct, then it explains why there is a ClassNotFoundException. If the 
behavior could be changed to generate a correct name, then it might be working 
correctly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to