Changeset 9736 in josm for trunk/data/validator


Ignore:
Timestamp:
2016-02-04T19:02:56+01:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #12490 - disable validator warning for maxheight=default|none

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/numeric.mapcss

    r9051 r9736  
    4747}
    4848
    49 *[maxheight][maxheight !~ /^(([1-9][0-9]*(\.[0-9]+)?( (m|ft))?)|([0-9]+\'(([0-9]|10|11)(\.[0-9]*)?\")?))$/] {
     49*[maxheight][maxheight !~ /^(([1-9][0-9]*(\.[0-9]+)?( (m|ft))?)|([0-9]+\'(([0-9]|10|11)(\.[0-9]*)?\")?)|none|default)$/] {
    5050  throwWarning: tr("{0}: meters is default; period is separator; if units, put space then unit", "maxheight");
    5151  assertMatch: "node maxheight=something";
Note: See TracChangeset for help on using the changeset viewer.