Changeset 16777 in josm for trunk/resources/data


Ignore:
Timestamp:
2020-07-15T21:30:31+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #17296 - support variant FIXME too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/combinations.mapcss

    r16775 r16777  
    765765
    766766/* #17296, If the value of fixme is only an osm key, it is often a leftover from a time when the object didn't have this key. The fixme was forgotten to remove when the key was added. Or the value of fixme should be described better what exactly needs to be fixed. */
    767 *[fixme][count(split(" ", tag("fixme"))) == 1][tag(tag("fixme")) != "none"] {
     767*[fixme][count(split(" ", tag("fixme"))) == 1][tag(tag("fixme")) != "none"],
     768*[FIXME][count(split(" ", tag("FIXME"))) == 1][tag(tag("FIXME")) != "none"] {
    768769  throwWarning: tr("{0} together with {1}. Is the fixme fixed?", "{0.tag}", "{0.value}");
    769770  group: tr("suspicious tag combination");
    770771  assertMatch: "way name=\"Florist Gump\" fixme=name";
     772  assertMatch: "way name=\"Florist Gump\" FIXME=name";
    771773  assertNoMatch: "way fixme=name";
    772774  assertNoMatch: "way name=\"Florist Gump\"";
Note: See TracChangeset for help on using the changeset viewer.