Changeset 15496 in josm for trunk/data/validator
- Timestamp:
- 2019-11-02T15:11:34+01:00 (5 years ago)
- Location:
- trunk/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/deprecated.mapcss
r15464 r15496 662 662 assertMatch: "way roof:color=red roof:colour=green"; 663 663 } 664 /* further more universal checks, no autofix */ 665 *[/:color/][!building:color][!roof:color] { 664 /* further more universal checks, no autofix */ 665 /* gpxd:color has another warning in unnecessary.mapcss */ 666 *[/:color/][!building:color][!roof:color][!gpxd:color] { 666 667 throwWarning: tr("{0} is deprecated", "{0.key}"); 667 668 suggestAlternative: ":colour"; -
trunk/data/validator/unnecessary.mapcss
r15419 r15496 168 168 169 169 /* #2760 */ 170 *[/^ gpx:/] {170 *[/^(gpx|gpxx|gpxd):/] { 171 171 throwWarning: tr("{0} should not be uploaded", "{0.key}"); 172 172 group: tr("unnecessary tag"); 173 173 fixRemove: "{0.key}"; 174 174 assertMatch: "node gpx:time=2018-01-01T12:00:00Z"; 175 assertMatch: "node gpxd:color=#FF0000"; 175 176 assertNoMatch: "node source=gpx:foo"; 176 177 }
Note:
See TracChangeset
for help on using the changeset viewer.