[overlord-issues] [JBoss JIRA] (SRAMP-202) The not() function doesn't quite work with relationships
Eric Wittmann (JIRA)
jira-events at lists.jboss.org
Tue Jun 11 08:42:54 EDT 2013
Eric Wittmann created SRAMP-202:
-----------------------------------
Summary: The not() function doesn't quite work with relationships
Key: SRAMP-202
URL: https://issues.jboss.org/browse/SRAMP-202
Project: S-RAMP
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Eric Wittmann
Assignee: Eric Wittmann
Priority: Minor
Fix For: 0.3.1 - jBPM - bugfix 1
The not() function works well with properties, but not quite with relationships. An example of what doesn't work:
/s-ramp/wsdl/Part[not(element)]
That should return all Parts that do *not* have an element relationship. Since relationships are found by doing a JOIN, it's actually tricky to invert. Right now I think the query engine will produce something that would return all Parts that have some *other* relationship - but it won't return Parts without any relationships at all. I'm not sure how to do the latter other than by using an IN with a subquery (which is supported by ModeShape but is non-standard).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the overlord-issues
mailing list