For those that are interested, I did the following change in transformer initialization, changing the default transformer factory to apache one (default oracle was causing a problem) and it worked fine.
import org.apache.xalan.processor.TransformerFactoryImpl; TransformerFactory factory = new TransformerFactoryImpl(); // explicitely call apache xalan //TransformerFactory factory = TransformerFactory.newInstance(); // default oracle problem! Thanks Rigas ---------- Forwarded message ----------
From: "J.Pietschmann" <[EMAIL PROTECTED]> To: [email protected] Date: Mon, 14 May 2007 22:27:38 +0200 Subject: Re: FOP Transformer Exception Rigas Parathyras wrote: > So from your answer you are saying that there is a problem with the Oracle > xml transformer. Does this mean that I should not use the jaxp API to do > the > transformation, as not all parsers are supported in FOP? No, the problem is even weirder. > Should I > instantiate the xerces parser explicitely somehow? I doubt this is possible in an Oracle Application Server. You can try to get some professional helping you to track down the problem in your environment, perhaps from Oracle. J.Pietschmann
