Handle some more real-world edge cases in MDNodaRepository

This commit is contained in:
jrenslin committed 2026-11-25 14:22:03 +01:00
1 parent aba4427990
commit eab03aa676
2 files changed
+9 -1

No files matched your search

+2
View File
@@ -126,6 +126,8 @@ public static function bnfIdForValidationProvider():Generator {
public static function gndIdForValidationProvider():Generator {
yield "Full URL, http / 102423008" => ["102423008", "http://d-nb.info/gnd/102423008"];
yield "Full URL, http / 120294109" => ["120294109", "http://d-nb.info/gnd/120294109"];
yield "Full URL, http / 118847694" => ["118847694", "http://d-nb.info/gnd/118847694"];
yield "Full URL, http / 118572636" => ["118572636", "http://d-nb.info/gnd/118572636     "];
yield "Full URL, https / 102423008" => ["102423008", "https://d-nb.info/gnd/102423008"];
yield "Full URL, http, superfluous spaces / 102423008" => ["102423008", "http://d-nb.info/gnd/ 102423008"];