The sentence is: “X is not legal in all contexts.”
Couldn’t the logical negation be interpreted as applied to either “legal” or “legal in all contexts”, the former would result in “X is illegal in all contexts”, where the latter would result in “X is illegal in some contexts”
Is there a name of this type of ambiguity?
Not
(All
Legal) or is itAll
(Not
Legal)? Can't tell. The term is Quantifier-Negative Ambiguity.