private static String sanitizeFileName(String fileName) {
        // TODO: common logic with schema language server.
        return fileName.chars()
                       .filter(c -> !DISALLOWED_CHARS.contains((char) c))
                       .mapToObj(c -> "" + (char) c)
                       .collect(Collectors.joining());
    }
TODO: refactor and handle tags with the same name based on context.
integration/schema-language-server/lemminx-vespa/src/main/java/ai/vespa/lemminx/participants/HoverParticipant.java