Opened 7 years ago

Closed 7 years ago

#13742 closed defect (duplicate)

Validation of conditional tags

Reported by: jc86035 Owned by: team
Priority: normal Milestone:
Component: Core validator Version: latest
Keywords: Cc:


JOSM warns that lanes:bus:conditional = 1 @ Mo-Sa 07:30-09:00 has "wrong syntax", despite the fact that the example is formatted exactly like that on the wiki page. It also doesn't tell me how to fix it, which is very helpful.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by simon04

The parentheses around the condition are missing …

Except for very simple conditions like "wet" or "Su" it is recommended to enclose the condition in brackets.

comment:2 Changed 7 years ago by jc86035

That also gives me a warning. (The page doesn't seem to require brackets for values without semicolons and AND conditionals.)

comment:3 Changed 7 years ago by simon04

Resolution: duplicate
Status: newclosed

Closed as duplicate of #9679.
Sorry for providing only a partial answer. The warning is "Wrong syntax in lanes:bus:conditional key".


Modify Ticket

Change Properties
Set your email in Preferences
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.