#17297 closed enhancement (fixed)
False positive: Unknown property value - Value 'reformed' for key 'denomination' is unknown, maybe 'reform' is meant?
Reported by: | AnkEric | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 19.02 |
Component: | Core validator | Version: | |
Keywords: | denomination | Cc: | Klumbumbus |
Description
[religion=christian] + [denomination=reformed] is correct, however JOSM validation will set a 'Warning'.
Unknown property value - Value 'reformed' for key 'denomination' is unknown, maybe 'reform' is meant?
https://wiki.openstreetmap.org/wiki/Key:denomination
Christian denominations:
[religion=christian] + [denomination=reformed] is correct (Calvinism (Reformed))
This is 'just' a false positive and to be ignored.
However: 'correcting' this 'false positive' might result in a real error!
See: https://josm.openstreetmap.de/ticket/8877
Don-vip: "That's a huge list, I will only add for now the most used".
My suggestion:
If you cannot add the complete list (I can imagine), skip the validation. IMO that would also resolve.
To complicate the issue: [religion=jewish] + [denomination=reform] is also correct....
So this is not about - just - [denomination=*], but about [religion=*] + [denomination=*].
/AnkEric
Attachments (0)
Change History (10)
comment:1 by , 6 years ago
Type: | defect → enhancement |
---|
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Cc: | added |
---|
comment:6 by , 6 years ago
Milestone: | → 19.02 |
---|
comment:8 by , 6 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
TagCheckerTest.testIgnoredTagsNotInPresets
needs to be updated:
AssertionFailedError: [denomination=nondenominational, denomination=serbian_orthodox, denomination=united, denomination=nondenominational, denomination=nondenominational] at org.openstreetmap.josm.data.validation.tests.TagCheckerTest.testIgnoredTagsNotInPresets(TagCheckerTest.java:171)
I agree. The tag denomination=reformed is used much more often compared to denomination=reform, but both appear in the wiki.
The check that produces the message "Unknown property value - Value 'reformed' for key 'denomination' is unknown, maybe 'reform' is meant?" only looks for wrong spelling, it doesn't check the possible combinations. It simply uses all known values for denomination.
@Klumbumbus:
If I got that right we should better change the presets here, or should I just add K:denomination=reformed to the ignoretags.cfg?