Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My stylesheet is named foo-bar.xsl, but XSLTC created a translet named foo_bar. Is that a bug?

bug named stylesheet
0
Posted

My stylesheet is named foo-bar.xsl, but XSLTC created a translet named foo_bar. Is that a bug?

0

No. The name of a translet is usually the name of the stylesheet, the name specified using the translet-name attribute on the XSLTC TransformerFactory or the name specified for the translet on the command-line invocation. However, the name of the translet is also the name of a Java class. Any character that is not permitted in a class name is replaced with an underscore.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123