Modify

Opened 11 days ago

Closed 5 days ago

Last modified 5 days 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 Changed 10 days ago by skyper

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

Last edited 10 days ago by skyper (previous) (diff)

comment:2 Changed 10 days ago by frodrigo

comment:3 Changed 10 days ago by skyper

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

comment:4 in reply to:  2 Changed 10 days ago by skyper

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 Changed 10 days ago by frodrigo

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

comment:6 Changed 5 days ago by frodrigo

Resolution: invalid
Status: newclosed

comment:7 in reply to:  5 Changed 5 days ago by skyper

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.