Hi all,
I got the Extraneous input error when i compiled the below expression in Mapper,
_perm == 'F'? ["R", "W", "X"]:(_perm=='RW'?["R", "W"]:(_perm=='RE'?["R", "X"]:(_perm=='R'?["R"]:[ ]))): []
Error:
Could not compile expression: (_perm == ‘F’ ? [“R”, “W”, “X” … (Reason: Encountered extraneous input ‘:’ at line 1:108; expecting={‘||’, ‘&&’, ‘^’, ‘==’, ‘!=’, ‘>’, ‘<’, ‘>=’, ‘<=’, ‘+’, ‘-’, ‘*’, ‘/’, ‘%’, ‘instanceof’, ‘in’, ‘[’, ‘(’, ‘)’, ‘.’, PropertyRef}; Resolution: Please check expression syntax)
Please help me to sort it out.
Thanks in Advance!!!