Open ryasmi opened 7 years ago
I really couldn't think of a better title for this issue, sorry.
"This rule" is a little ambiguous, but earlier versions of the spec did not have that paragraph break and I'm confident that it refers to the targeting process, not the time and sequencing exception. The way I understand this is that, first the targeting rules are applied recursively and then the time and sequence filter is applied.
So my answer is yes, statement A should be returned.
Brilliant, thanks @garemoko, this is exactly how I understood it. Perhaps it should be re-ordered slightly like this:
For filter parameters which are not time or sequence based (that is, other than "since", "until", or "limit"), Statements which target another Statement (by using a StatementRef as the Object of the Statement) will meet the filter condition if the targeted Statement meets the filter condition.
This rule applies recursively, so that "Statement a" is a match when a targets b which targets c and the filter conditions described above match for "Statement c".
The time and sequence based parameters MUST still be applied to the Statement making the StatementRef.
@ryansmith94 yes, something like that sounds sensible. Please can i get you to re-open the issue as a reminder for somebody to make that change?
Okay, yeah no worries.
Hey guys, just wanted to check my assumptions around retrieving statement references.
Spec Commit Hash 7a801f0
Question Is A returned when the following is true?
Relevant part of the spec