Modify

Opened 5 years ago

Closed 5 years ago

#10869 closed enhancement (fixed)

Better handling of semicolon in values II: Warn about empty values

Reported by: mdk Owned by: team
Priority: normal Milestone: 14.12
Component: Core validator Version: latest
Keywords: semicolon Cc:

Description (last modified by mdk)

When values are separated by a semicolon, each value must be valid. So empty values should not be allowed. But actually JOSM didn't complain about

  • ref=;A1
  • ref=A1;;A2
  • ref=A1;

I think we could add a general warning if "(^;.*|.*;\s*;.*|.*;$)" matches a value. Or is there any use case, where empty values are allowed in such a value list? In "|" delimited list they are.

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by mdk

Description: modified (diff)

comment:2 Changed 5 years ago by mdk

Description: modified (diff)

comment:3 Changed 5 years ago by Don-vip

Keywords: semicolon added

comment:4 Changed 5 years ago by Don-vip

Milestone: 14.12

comment:5 Changed 5 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 7836/josm:

fix #10869 - Better handling of semicolon in values: Warn about empty values

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.