sdmx-twg / vtl

This repository is used for maintaining the SDMX-VTL specification
11 stars 7 forks source link

Error in the grammar for when then #387

Closed antonio-olleros closed 8 months ago

antonio-olleros commented 8 months ago

Issue Description

The following expression inside a datapoint ruleset yields semantic error: when SecurityType not in securities_with_maturity then isnull(MaturityDate)

While this one works: when SecurityType in securities_with_maturity then isnull(MaturityDate)

Proposed Solution

Fix the grammar

vpinna80 commented 8 months ago

"not_in" is the correct expression, with an undescore instead of space.

antonio-olleros commented 8 months ago

You are completely right... Sorry, I'll close the issue

antonio-olleros commented 8 months ago

There is no error, it was my bad