#19770 closed defect (invalid)
Usage of undocumented operator '==' in MapCSS
Reported by: | frodrigo | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core validator | Version: | |
Keywords: | java doc equal | Cc: |
Description
https://josm.openstreetmap.de/browser/josm/trunk/resources/data/validator/combinations.mapcss#L782
https://josm.openstreetmap.de/browser/josm/trunk/resources/data/validator/combinations.mapcss#L794
The combinations.mapcss use multiple time the undocumented '==' operator. Yes I guess what it means even without using a doc. But since is not in the doc, and so it is not implemented in the Osmose-QA MapCSS parser https://github.com/osm-fr/osmose-backend/blob/master/mapcss/MapCSS.g4#L61-L72
Please, can you fix the combinations.mapcss.
Attachments (0)
Change History (7)
follow-up: 4 comment:2 by , 5 years ago
This wiki page show only one "=" https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
comment:3 by , 5 years ago
Keywords: | java doc equal added |
---|---|
Priority: | normal → minor |
Summary: | Usage of undocumented opperator '==' in MapCSS → Usage of undocumented operator '==' in MapCSS |
comment:4 by , 5 years ago
Replying to frodrigo:
This wiki page show only one "=" https://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation
Sorry, had a typo in the link (fixed), please, take a look at the paragraph about "eval expressions".
comment:6 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:7 by , 5 years ago
Replying to frodrigo:
OK, selector one "=", eval two "==".
Yes, sorry, missed to reply on your statement.
It is documented in the wiki but seems to be missing in the java doc.