Hello all,

I have a recursive stylesheet.

It is processed as expected by org.apache.xalan.xslt.Process, but when I
follow the simplest usage pattern like

javax.xml.transform.TransformerFactory tFactory =
                  javax.xml.transform.TransformerFactory.newInstance();
javax.xml.transform.Transformer transformer = tFactory.newTransformer
                (new javax.xml.transform.stream.StreamSource("foo.xsl");
transformer.transform
    (new javax.xml.transform.stream.StreamSource("foo.xml"),
     new javax.xml.transform.stream.StreamResult( new
                                  java.io.FileOutputStream("foo.out")));

with Xalan-j 2.2.0  - then no recursion takes place (the result is
truncated), and no exception is generated either.

What may be the trick?

Regards,
Sergey Ushakov

Reply via email to