My Oracle Support Banner

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 OCTOBER 21, 2022

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.

Symptoms

-- 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
evaluation.

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.