Class NameMismatch

  • All Implemented Interfaces:
    OsmPrimitiveVisitor

    public class NameMismatch
    extends Test.TagTest
    Check for missing name:* translations.

    This test finds multilingual objects whose 'name' attribute is not equal to any 'name:*' attribute and not a composition of some 'name:*' attributes separated by ' - '.

    For example, a node with name=Europe, name:de=Europa should have name:en=Europe to avoid triggering this test. An object with name='Suomi - Finland' should have at least name:fi=Suomi and name:sv=Finland to avoid a warning (name:et=Soome would not matter). Also, complain if an object has some name:* attribute but no name.