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 11.2.0.3 and laterInformation 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 |