RE: OutOfMemoryError when transforming with Xalan XSLT-processor

Subject: RE: OutOfMemoryError when transforming with Xalan XSLT-processor
From: "Yao, Di" <dyao@xxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2000 13:00:07 -0400
How can I incorporate XT and XP into Cocoon? I see in the cocoon.properties
that I can plug in XT, but did not see XP.
Will SunXMLParser be any help? Thanks....yaodi


	-----Original Message-----
	From:	Daniel Hinz [SMTP:daniel.hinz@xxxxxxxxxxxxxxxx]
	Sent:	Friday, August 25, 2000 8:56 AM
	To:	xsl-list@xxxxxxxxxxxxxxxx
	Subject:	Re: OutOfMemoryError when transforming with Xalan
XSLT-processor

	"Tomas Aspelin (SIX)" wrote:
	> 
	> I get an "java.lang.OutOfMemoryError" message when I try to
transform my
	> XML-file with the Xalan XSLT Processor. It is a big file (~8Mb)
and if I
	> chop it down it works fine. The problem occur when the Xerces
parser is
	> parsing the XML-file. Does anyone know how to solve this problem?
Can I
	> change the parser to use SAX instead of DOM, and is this a
solution to my
	> problem?

	Use a different parser and processor and try to stream the
	transformation using SAX.

	XT with XP from http://www.jclark.com is recommmendable. Almost
	everything works fine and fast even for large documents.

	There just had to be reason IBM gave all their XML stuff away for
	free...

	just kidding.

	Regards,

	Daniel Hinz

	--
	   Daniel Hinz - Entwickler
	   daniel.hinz@xxxxxxxxxxxxxxxx - fon +49.40.325587.504  fax .199
	   CoreMedia AG - www.coremedia-ag.com
	   Düsternstraße 3, 20355 Hamburg, Germany


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread