WCPS not case sensitive on some keywords
|Reported by:||pcampalani||Owned by:||bthapaliya|
|Keywords:||case sensitivity metadataexpr||Cc:||mantovani@…, vmerticariu, mdumitru|
Despite the correct grammar definition in petascope.wcps.grammar.wcps.g, some WCPS keywords are case-sensitive:
for c in (eobstest) return crsset(c) -> Invalid coverage Expression, next node: crsset for c in (eobstest) return crsSet(c) -> OK for c in (eobstest) return ideNTifier(c) -> Invalid coverage Expression, next node: ideNTifier for c in (eobstest) return ideNTifier(c) -> OK
This is apparently affecting metadata expressions only, but I did not make an exhaustive test.
for c in (eobstest) return encode( - add (c[Lat(0), Long(51)]) + aDd (c[Lat(0), Long(51)]) , "csv") -> OK
Case-sensitivity to all keywords should be evaluated, and test(s) added.
Change History (5)
comment:4 Changed 3 years ago by dmisev
- Milestone changed from Future to 9.0.x
- Owner changed from pcampalani to bthapaliya
- Status changed from new to assigned