Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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)

comment:1 by skyper, 5 years ago

It is documented in the wiki but seems to be missing in the java doc.

Last edited 5 years ago by skyper (previous) (diff)

comment:2 by frodrigo, 5 years ago

comment:3 by skyper, 5 years ago

Keywords: java doc equal added
Priority: normalminor
Summary: Usage of undocumented opperator '==' in MapCSSUsage of undocumented operator '==' in MapCSS

in reply to:  2 comment:4 by skyper, 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:5 by frodrigo, 5 years ago

OK, selector one "=", eval two "==".

comment:6 by frodrigo, 5 years ago

Resolution: invalid
Status: newclosed

in reply to:  5 comment:7 by skyper, 5 years ago

Replying to frodrigo:

OK, selector one "=", eval two "==".

Yes, sorry, missed to reply on your statement.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.