﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10438	validator could give an error if addr:street ≠ name of associated street relation	Klumbumbus	team	"Often address nodes or buildings which are part of an associatedStreet relation have addr:street anyway.
JOSM validator could warn if addr:street does not match the name of the associated street relation.

I tried to create the validator code:

{{{
#!mapcss
relation[type=""associatedStreet""][name] > node[""addr:street""],
relation[type=""associatedStreet""][name] > area[""addr:street""] {
    street_error: cond(parent_tag(name)=tag(""addr:street""), false , true);
}
node[prop(street_error)=true],
area[prop(street_error)=true] {
    throwError: tr(""addr:street ≠ name of associated street relation"");
}
}}}

This is the simplest way I can imagine how this test could work. However it does not work for validator.mapcss files. It seems the validator doesn't support properties. Is there an easier way for the code, or would it be possible to improve the validator or should we simply drop this test?"	enhancement	closed	normal	14.08	Core validator		fixed		
