Opened 11 years ago
Last modified 3 years ago
#9679 reopened defect
Validator complains about key: *:lanes:conditional (etc.) — at Initial Version
Reported by: | alv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core validator | Version: | tested |
Keywords: | conditional lanes-tagging | Cc: | jc86035 |
Description
Since r6605 (see #9350) the validator has a too strict parser for any keys with the :conditional suffix. The conditional restrictions must be valid when combined with ":lanes" suffix, too?
e.g.:
yes @ (Mo-Fr 09:00-15:00, 18:00-07:00; Sa-Su 24h) |
(rightmost (bus) lane allowed for vans in the given timeframe. It could have :forward or :backward in the key, too. Also similar keys for other access modes. Example way: http://www.openstreetmap.org/way/29689100)
We also use:
traffic_sign:conditional = FI:361[100] @ (winter)
yet the validator complains about it. (They physically change the maxspeed sign for the winter.)
Another user ij_ wrote the attached patch, which fixes the test when ":lanes" is present in the key, and at least it compiled ok.
Change History (2)
by , 11 years ago
Attachment: | 0001-Don-t-open-code-test-tree-for-components.patch added |
---|
by , 11 years ago
Attachment: | 0002-Add-lanes-to-conditional-parsing.patch added |
---|