My Oracle Support Banner

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

Last updated on JUNE 26, 2019

Applies to:

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

Symptoms

XPath specification states that boolean function on a node-set returns true if and only if it is non-empty.
https://www.w3.org/TR/1999/REC-xpath-19991116/#section-Boolean-Functions

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


Cause

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
Symptoms
Cause
Solution
References


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