Java: Allow <> in types for now.

This commit is contained in:
Anders Schack-Mulligen
2021-05-05 15:07:31 +02:00
parent 3f538e7fac
commit 2f087e17cb

View File

@@ -481,7 +481,7 @@ module CsvValidation {
not namespace.regexpMatch("[a-zA-Z0-9_\\.]+") and
msg = "Dubious namespace \"" + namespace + "\" in " + pred + " model."
or
not type.regexpMatch("[a-zA-Z0-9_\\$]+") and
not type.regexpMatch("[a-zA-Z0-9_\\$<>]+") and
msg = "Dubious type \"" + type + "\" in " + pred + " model."
or
not name.regexpMatch("[a-zA-Z0-9_]*") and