[xsl] Is a Java program more likely to succeed in creating an in-memory representation of the input XML than an XSLT processor?

Subject: [xsl] Is a Java program more likely to succeed in creating an in-memory representation of the input XML than an XSLT processor?
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 May 2024 11:28:18 -0000
Hi Folks,

A (non-streaming) XSLT processor creates an in-memory representation of the
input XML document. Right?

Sometimes the input XML document is large and when the XSLT processor tries to
create an in-memory representation of the input XML document, an
OutOfMemoryError results.

Alternatively, the input XML document may be read into an in-memory
representation in a Java program.

Is a Java program more likely to succeed in creating an in-memory
representation of the input document than an XSLT processor? Is the Java
program less likely to fail with an OutOfMemoryError?

/Roger

Current Thread