-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid special case for Di in Transition #74
Comments
The intention is to combine the "PossibleValue" field with the "SpecialCase" field, so as to avoid having to duplicate every PossibleValue into every SpecialCase throughout the entire data model. |
Another example of 'invalid' special case: Object Collection, entry View, special case I found only these 2 special cases (for Di and View) with different conditions for different possible values.
|
That is not a bad idea and in line with a few other existing predicates such as
Note also that for name So PossibleValues would change from: This is also more compact since and SpecialCase would then be empty for This also avoids the very programmatic idioms needed to hande all the OR cases in SpecialCases (such as when Di==0 or Di==270). |
fn:ValueOnlyWhen is great idea. |
@MaximPlusov - do you have a test PDF for this? |
I don't have such tests files, but if you need I can create them |
It's OK - I can create too. Thought you might have one handy... |
Special case for Di in Transition is currently
fn:Eval((((@Di==90) || (@Di==180)) && (@S==Wipe)) || ((@Di==315) && (@S==Glitter)))
Possible values for entry Di: 0,90,180,270,315.
If Di have value 0 or 270, value of this special case is false.
Possible correct variants:
1.
fn:Eval((((@Di==90) || (@Di==180)) && (@S==Wipe)) || ((@Di==315) && (@S==Glitter)) || (@Di==0) || (@Di==270))
2.
fn:Eval((((@Di!=90) && (@Di!=180)) || (@S==Wipe)) && ((@Di!=315) || (@S==Glitter)))
The text was updated successfully, but these errors were encountered: