Modify

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#9757 closed enhancement (fixed)

Better handling of semicolon in values: Validator warnings/errors

Reported by: Don-vip Owned by: team
Priority: normal Milestone: 14.03
Component: Core validator Version:
Keywords: semicolon Cc: skyper, simon04, naoliv

Description

Continuation of #9104. Remaining task:

Validator warnings/errors about semicolons in values where it makes no sense as many keys need single value to work.

See ticket:9104#comment:6 and ticket:9104#comment:8 for material.

Attachments (0)

Change History (4)

comment:1 by Don-vip, 10 years ago

Cc: skyper simon04 added

comment:2 by naoliv, 10 years ago

Cc: naoliv added

I use a test for the more common keys:

*[name =~ /.+;(.+)?/],
*["addr:street" =~ /.+;(.+)?/],
*[lanes =~ /.+;(.+)?/],
*[highway =~ /.+;(.+)?/],
*[surface =~ /.+;(.+)?/],
*[maxspeed =~ /.+;(.+)?/] {
        throwWarning: tr("verify: {0} with multiple values", "{0.key}");
}

comment:3 by Don-vip, 10 years ago

Resolution: fixed
Status: newclosed

In 6928/josm:

fix #9757 - validator warning for wrong multiple values (patch by naoliv)

comment:4 by Don-vip, 9 years ago

Keywords: semicolon added

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.