diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2021-04-15 12:15:01 +0100 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2021-04-15 12:30:51 +0100 |
commit | f92d32193545e0b2cd8f9124b01433678b813435 (patch) | |
tree | ab578726eccc6690e08e5d0491d1d2ea365d7fad /cps-application/src/test/groovy | |
parent | a2d25b524c49d869cbd4479a807aaeb9313474a6 (diff) |
Fix "ends-with" query syntax to conform with xPath definition
"ends-with" is HOW we resolve it in sql query. 'descendant anywhere' is the correct Path name for the '//' operator
- Updated method names, variable names, test description to reflect the correct terminolgy
- Udpated query to always perfix the target (descendant name) with an '\' so it alwasy only matches whole node names
- Updated regex for cpsPath to NOT accept triple /// (as per xPath this is invalid since a ndoeName cannot start with or contain a node separator
Issue-ID: CPS-336
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I9f181d6986d038311b839e3f9c5afc4237c7d347
Diffstat (limited to 'cps-application/src/test/groovy')
0 files changed, 0 insertions, 0 deletions