public static Collection<Namespace> fromMap(Map<String, String> namespaces) {
        final List<Namespace> list = new ArrayList<>(namespaces.size());
        for (Map.Entry<String, String> e : namespaces.entrySet()) {
            list.add(new Namespace(e.getKey(), e.getValue()));
        }
        return list;
    }
public static Collection<Namespace> fromMap(Map<String, String> namespaces)