我正在尝试使用由QueWeb Framework提供的com.queplix.core.utils.xml.TransletWrapper类来转换xml文件。我在下面的代码中获得了StackOverFlowError @line transletWrapper.transform(source,new StreamResult (out),transletName,transletParams);
任何帮助将不胜感激..坦克!
char[] data = XMLHelper.writeObject(report);
// Do XSLT.
StreamSource source = new StreamSource(new CharArrayReader(data));
CharArrayWriter out = new CharArrayWriter(data.length);
try {
transletWrapper.transform(source, new StreamResult(out), transletName, transletParams);
} catch (GenericSystemException ex) {
throw new GenericSystemException("Cannot transform source: \n", ex);
}