Description
XPath queries with conditions of the form
[id='test']
are not problematic. Jackrabbit 2.x interpreted such conditions as
[@id='test']
, and Oak currently interprets them as
[@id/* = 'test']
, as this is the expected behavior for conditions of the form
[jcr:contains(id, 'test')]
.
I believe the condition
[id='test']
is illegal, and it would be better to throw an exception instead, saying a @ is missing.
Attachments
Issue Links
- is duplicated by
-
OAK-1323 CLONE - XPath queries currently require @ in front of property names
- Closed