My Oracle Support Banner

Xpath Java Api Does Not Work If "Oracle Xml Parser V2" Is Present In The Project In JDeveloper (Doc ID 944905.1)

Last updated on OCTOBER 21, 2022

Applies to:

Oracle JDeveloper - Version 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

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