cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Transforming Big XML Files
Date Mon, 29 Jul 2002 23:42:40 GMT
> From: Alessandro Marcellini [mailto:amarcell@tiscalinet.it]
> 
> Vadim Gritsenko wrote:
> 
> > > From: Alessandro Marcellini [mailto:amarcell@tiscalinet.it]
> > >
> > > 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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message