XSLT转换中的StackOverFlowError

时间:2012-04-12 10:43:32

标签: java

我正在尝试使用由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);
    }

0 个答案:

没有答案