Opened 11 years ago

Last modified 11 years ago

#10869 closed enhancement

Better handling of semicolon in values II: Warn about empty values — at Version 1

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

Description (last modified by mdk)

An empty value is never allowed. 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.

Change History (1)

comment:1 by mdk, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.