You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by "Ushakov, Sergey N" <us...@int.com.ru> on 2002/02/04 01:59:46 UTC

Problem with recursive stylesheet

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