Modify

Opened 9 years ago

Closed 9 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 by mdk, 9 years ago

Description: modified (diff)

comment:2 by mdk, 9 years ago

Description: modified (diff)

comment:3 by Don-vip, 9 years ago

Keywords: semicolon added

comment:4 by Don-vip, 9 years ago

Milestone: 14.12

comment:5 by Don-vip, 9 years ago

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. 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.