My Oracle Support Banner

XSLT 1.0 And 2.0 Different Behavior In Oracle XDK (Doc ID 2557852.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle XML Developers Kit - Version and later
Information in this document applies to any platform.


XPath specification states that boolean function on a node-set returns true if and only if it is non-empty.

The code provided works for XSLT 1.0 or XSLT 2.0 when the node-set contains a single element (indexed with [1]).

However, when evaluating the xpath on a node-set containing multiple nodes using XSLT 2.0, the transformation fails with:
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
oracle.xml.xpath.XPathException: <ELEMENT_NAME>: invalid argument type


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.