My Oracle Support Banner

XSLT Parsing Error for Large Documents: javax.xml.xpath.XPathFunctionException: The source document must be an element node. (Doc ID 2393436.1)

Last updated on MARCH 14, 2019

Applies to:

Oracle SOA Suite - Version to [Release 11gR1]
Information in this document applies to any platform.


You have a composite that receives XML document over a File/FTP adapter. The XML document consists of one item with multiple style elements, and each of these style elements in turn can have multiple style elements themselves. After receiving a document, a 1-1 transformation is performed within a FOR loop. When the document size is 3 MB+ the transformation fails. But if the document size is just 2.8 MB, it is successfully transformed. There is sufficient heap space on each managed server.

The issue can be reproduced at will with the following steps:
1. Receive large XML document file via adapter.
2. Exception occurs.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.