private String getSchemaURI(XMLNode node) {
   for (DocumentStructureDeclaration declaration : this.otherSchemas) {
     if (declaration.getNamespace().equals(node.getNamespace())) {
       return declaration.getPublicId();
     }
   }
   return "";
 }
 public XSDTagDefinitionProvider(
     String fileName,
     DocumentStructureDeclaration structureDeclaration,
     Collection<DocumentStructureDeclaration> otherSchemas) {
   this.otherSchemas = otherSchemas;
   try {
     this.fileName = fileName;
     this.documentStructureDeclaration = structureDeclaration;
     this.schemaPath =
         FileUtils.resolveURI(fileName, structureDeclaration.getSystemId()).toString();
     this.updateDefinition();
   } catch (URISyntaxException e) {
     throw new RuntimeException(e);
   }
 }