Changeset 19357 in josm


Ignore:
Timestamp:
2025-03-23T00:05:43+01:00 (2 days ago)
Author:
stoecker
Message:

replace HTML encoding in output

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java

    r19356 r19357  
    311311        "accountant", // accountant dot Accountant Limited
    312312        "accountants", // accountants Binky Moon, LLC
    313         "aco", // aco ACO Severin Ahlmann GmbH & Co. KG
     313        "aco", // aco ACO Severin Ahlmann GmbH & Co. KG
    314314        "actor", // actor Dog Beach, LLC
    315315        "ads", // ads Charleston Road Registry Inc.
     
    388388        "bayern", // bayern Bayern Connect GmbH
    389389        "bbc", // bbc British Broadcasting Corporation
    390         "bbt", // bbt BB&T Corporation
     390        "bbt", // bbt BB&T Corporation
    391391        "bbva", // bbva BANCO BILBAO VIZCAYA ARGENTARIA, S.A.
    392392        "bcg", // bcg The Boston Consulting Group, Inc.
     
    396396        "beer", // beer Registry Services, LLC
    397397        "bentley", // bentley Bentley Motors Limited
    398         "berlin", // berlin dotBERLIN GmbH & Co. KG
     398        "berlin", // berlin dotBERLIN GmbH & Co. KG
    399399        "best", // best BestTLD Pty Ltd
    400400        "bestbuy", // bestbuy BBY Solutions, Inc.
     
    583583        "dtv", // dtv Dish DBS Corporation
    584584        "dubai", // dubai Dubai Smart Government Department
    585         "dunlop", // dunlop The Goodyear Tire & Rubber Company
     585        "dunlop", // dunlop The Goodyear Tire & Rubber Company
    586586        "dupont", // dupont DuPont Specialty Products USA, LLC
    587587        "durban", // durban ZA Central Registry NPC trading as ZA Central Registry
     
    696696        "gmbh", // gmbh Binky Moon, LLC
    697697        "gmo", // gmo GMO Internet, Inc.
    698         "gmx", // gmx 1&1 Mail & Media GmbH
     698        "gmx", // gmx 1&1 Mail & Media GmbH
    699699        "godaddy", // godaddy Go Daddy East, LLC
    700700        "gold", // gold Binky Moon, LLC
     
    702702        "golf", // golf Binky Moon, LLC
    703703        "goo", // goo NTT Resonant Inc.
    704         "goodyear", // goodyear The Goodyear Tire & Rubber Company
     704        "goodyear", // goodyear The Goodyear Tire & Rubber Company
    705705        "goog", // goog Charleston Road Registry Inc.
    706706        "google", // google Charleston Road Registry Inc.
     
    799799        "jll", // jll Jones Lang LaSalle Incorporated
    800800        "jmp", // jmp Matrix IP LLC
    801         "jnj", // jnj Johnson & Johnson Services, Inc.
     801        "jnj", // jnj Johnson & Johnson Services, Inc.
    802802        "jobs", // jobs Employ Media LLC
    803803        "joburg", // joburg ZA Central Registry NPC trading as ZA Central Registry
     
    828828        "kuokgroup", // kuokgroup Kerry Trading Co. Limited
    829829        "kyoto", // kyoto Academic Institution: Kyoto Jyoho Gakuen
    830         "lacaixa", // lacaixa Fundación Bancaria Caixa d'Estalvis i Pensions de Barcelona, "la Caixa"
     830        "lacaixa", // lacaixa Fundación Bancaria Caixa d'Estalvis i Pensions de Barcelona, "la Caixa"
    831831        "lamborghini", // lamborghini Automobili Lamborghini S.p.A.
    832832        "lamer", // lamer The Estée Lauder Companies Inc.
     
    849849        "lexus", // lexus TOYOTA MOTOR CORPORATION
    850850        "lgbt", // lgbt Identity Digital Limited
    851         "lidl", // lidl Schwarz Domains und Services GmbH & Co. KG
     851        "lidl", // lidl Schwarz Domains und Services GmbH & Co. KG
    852852        "life", // life Binky Moon, LLC
    853853        "lifeinsurance", // lifeinsurance American Council of Life Insurers
     
    884884        "maison", // maison Binky Moon, LLC
    885885        "makeup", // makeup XYZ.COM LLC
    886         "man", // man MAN Truck & Bus SE
     886        "man", // man MAN Truck & Bus SE
    887887        "management", // management Binky Moon, LLC
    888888        "mango", // mango PUNTO FA S.L.
     
    969969        "nrw", // nrw Minds + Machines GmbH
    970970        "ntt", // ntt NIPPON TELEGRAPH AND TELEPHONE CORPORATION
    971         "nyc", // nyc The City of New York by and through the New York City Department of Information Technology & Telecommunications
    972         "obi", // obi OBI Group Holding SE & Co. KGaA
     971        "nyc", // nyc The City of New York by and through the New York City Department of Information Technology & Telecommunications
     972        "obi", // obi OBI Group Holding SE & Co. KGaA
    973973        "observer", // observer Fegistry, LLC
    974974        "office", // office Microsoft Corporation
     
    11131113        "sbs", // sbs Shortdot SA
    11141114        "scb", // scb The Siam Commercial Bank Public Company Limited ("SCB")
    1115         "schaeffler", // schaeffler Schaeffler Technologies AG & Co. KG
     1115        "schaeffler", // schaeffler Schaeffler Technologies AG & Co. KG
    11161116        "schmidt", // schmidt SCHMIDT GROUPE S.A.S.
    11171117        "scholarships", // scholarships Scholarships.com, LLC
    11181118        "school", // school Binky Moon, LLC
    11191119        "schule", // schule Binky Moon, LLC
    1120         "schwarz", // schwarz Schwarz Domains und Services GmbH & Co. KG
     1120        "schwarz", // schwarz Schwarz Domains und Services GmbH & Co. KG
    11211121        "science", // science dot Science Limited
    11221122        "scot", // scot Dot Scot Registry Limited
     
    11301130        "services", // services Binky Moon, LLC
    11311131        "seven", // seven Seven West Media Ltd
    1132         "sew", // sew SEW-EURODRIVE GmbH & Co KG
     1132        "sew", // sew SEW-EURODRIVE GmbH & Co KG
    11331133        "sex", // sex ICM Registry SX LLC
    11341134        "sexy", // sexy Internet Naming Co.
     
    12511251        "tunes", // tunes Amazon Registry Services, Inc.
    12521252        "tushu", // tushu Amazon Registry Services, Inc.
    1253         "tvs", // tvs T V SUNDRAM IYENGAR  & SONS PRIVATE LIMITED
     1253        "tvs", // tvs T V SUNDRAM IYENGAR  & SONS PRIVATE LIMITED
    12541254        "ubank", // ubank National Australia Bank Limited
    12551255        "ubs", // ubs UBS AG
     
    13021302        "weibo", // weibo Sina Corporation
    13031303        "weir", // weir Weir Group IP Limited
    1304         "whoswho", // whoswho Who's Who Registry
     1304        "whoswho", // whoswho Who's Who Registry
    13051305        "wien", // wien punkt.wien GmbH
    13061306        "wiki", // wiki Registry Services, LLC
     
    16811681        "ws",                 // Samoa (formerly Western Samoa)
    16821682        "xn--2scrj9c", // ಭಾರತ National Internet eXchange of India
    1683         "xn--3e0b707e", // 한국 KISA (Korea Internet & Security Agency)
     1683        "xn--3e0b707e", // 한국 KISA (Korea Internet & Security Agency)
    16841684        "xn--3hcrj9c", // ଭାରତ National Internet eXchange of India
    16851685        "xn--45br5cyl", // ভাৰত National Internet eXchange of India
     
    17281728        "xn--ogbpf8fl", // سورية National Agency for Network Services (NANS)
    17291729        "xn--p1ai", // рф Coordination Center for TLD RU
    1730         "xn--pgbs0dh", // تونس Agence Tunisienne d'Internet
     1730        "xn--pgbs0dh", // تونس Agence Tunisienne d'Internet
    17311731        "xn--q7ce6a", // ລາວ Lao National Internet Center (LANIC), Ministry of Technology and Communications
    17321732        "xn--qxa6a", // ευ EURid vzw
     
    17401740        "xn--y9a3aq", // հայ "Internet Society" Non-governmental Organization
    17411741        "xn--yfro4i67o", // 新加坡 Singapore Network Information Centre (SGNIC) Pte Ltd
    1742         "xn--ygbi2ammx", // فلسطين Ministry of Telecom & Information Technology (MTIT)
     1742        "xn--ygbi2ammx", // فلسطين Ministry of Telecom & Information Technology (MTIT)
    17431743        "ye",                 // Yemen
    17441744        "yt",                 // Mayotte
  • trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java

    r19355 r19357  
    124124                    if (info != null) {
    125125                        String type = info[0];
    126                         String comment = info[1];
     126                        String comment = info[1].replaceAll(""","\"").replaceAll("'","'").replaceAll("&","&");
    127127                        if ("country-code".equals(type)) { // Which list to use?
    128128                            allCC.put(asciiTld, unicodeTld + " " + comment);
Note: See TracChangeset for help on using the changeset viewer.