> From: Alessandro Marcellini [mailto:[EMAIL PROTECTED]]
> 
> Vadim Gritsenko wrote:
> 
> > > From: Alessandro Marcellini [mailto:[EMAIL PROTECTED]]
> > >
> > > Hi all,
> > > I've a problem transforming big xml Files with Xalan or Saxon.
> >
> > How big are they?
> 
> they are dinamically generated (XSP pages) so have variable sizes but
one of
> the biggest is 7017 KB

I assume you have enough memory for transofmration (java -Xmx)?


> > > I'm using Cocoon2.0.3 with tomcat3.3a on a Red Hat 7.2.
> > > So, using Xalan, C2 throws an exception (No more DTM available
....
> > > Known problem of Xalan)
> > > using Saxon C2 throws this strange exception:
> > > Original exception : java.lang.ClassCastException:
> > > com.icl.saxon.Controller at
> > > org.apache.xalan.processor.TransformerFactoryImpl.
> > > newTransformerHandler(TransformerFactoryImpl.java:670)

This line look strange to me: why org.apache.xalan involved when you use
saxon?

Why don't you try without xalan in the classpath?


> > Does Saxon works for you on small files?
> 
> Yes, It work's fine (really faster than Xalan).

(same here).


> > > So, what can I do?
> > > I've to give up to transform big xml files?
> > > (Note that there are no problems transforming this files using
Xalan
> > > or Saxon but commandline!!)

(I failed once to transform 100Mb file using command line tool, instant
saxon).

Vadim


> > > Bye & thanks
> > >
> > >     Alessandro


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to