Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340575

Summary: SDO XPath fails when predicate value contains ':', '@'. '/', '['
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.sdo-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
SDO - Fix
none
SDO - Test Cases
none
SDO - Test Cases
none
SDO - Fix none

Description Blaise Doughan CLA 2011-03-21 11:06:07 EDT
The get by SDO path is failing on some characters:  ':', '@', '/', and '['.  The problematic characters are ones that normally occur as syntax in XPath expressions.
Comment 1 Blaise Doughan CLA 2011-03-21 11:08:31 EDT
Created attachment 191618 [details]
SDO - Fix
Comment 2 Blaise Doughan CLA 2011-03-21 12:10:02 EDT
Created attachment 191622 [details]
SDO - Test Cases
Comment 3 Blaise Doughan CLA 2011-03-21 12:12:37 EDT
Created attachment 191623 [details]
SDO - Test Cases
Comment 4 Blaise Doughan CLA 2011-03-21 14:15:12 EDT
Created attachment 191632 [details]
SDO - Fix
Comment 5 Blaise Doughan CLA 2011-03-21 15:51:20 EDT
Fix checked into trunk at rev:  9143

Code reviewed by:  Matt MacIvor

Added code to account for characters used as part of the XPath syntax appearing in the predicate value.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:25:23 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink