Xpath Java Api Does Not Work If "Oracle Xml Parser V2" Is Present In The Project In JDeveloper 10.1.3.4
(Doc ID 944905.1)
Last updated on JUNE 21, 2021
Applies to:Oracle JDeveloper - Version 10.1.3.4.0 and later
Information in this document applies to any platform.
This problem can occur on any platform.
-- Problem Statement:
Standard Java XML XPath does not work when the "ORACLE XML PARSER V2" library
is added to the project, but does in Sun's JRE XML parser implementation.
A simple Java program using javax.xml.xpath XPath function to extract data
from a XML document fails to get the proper data when the "ORACLE XML PARSER
V2" library is added to the project and no other changes are done. No errors or
exceptions are generated, just no data is returned after the XPath expression
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