Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340575 - SDO XPath fails when predicate value contains ':', '@'. '/', '['
Summary: SDO XPath fails when predicate value contains ':', '@'. '/', '['
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 11:06 EDT by Blaise Doughan CLA
Modified: 2022-06-09 10:25 EDT (History)
1 user (show)

See Also:


Attachments
SDO - Fix (2.08 KB, patch)
2011-03-21 11:08 EDT, Blaise Doughan CLA
no flags Details | Diff
SDO - Test Cases (897 bytes, patch)
2011-03-21 12:10 EDT, Blaise Doughan CLA
no flags Details | Diff
SDO - Test Cases (10.14 KB, patch)
2011-03-21 12:12 EDT, Blaise Doughan CLA
no flags Details | Diff
SDO - Fix (2.18 KB, patch)
2011-03-21 14:15 EDT, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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