code: private static InputStream getXsd() throws FileNotFoundException {
          String fedoraHome = Constants.FEDORA_HOME;
          FileInputStream xsd;
          try {
              xsd = new FileInputStream(new File(new File(fedoraHome),
                                                 "server/xsd/fedora-types.xsd"));
          } catch (FileNotFoundException e) {
              logger.warn(e.getMessage());
              xsd = new FileInputStream("server/src/main/resources/xsd/fedora-types.xsd");
          }
          return xsd;
      }
docs: Get fedora-types.xsd. First attempts to fetch the file from
  FEDORA_HOME/server/xsd/fedora-types.xsd. Failing that, tries
  src/main/resources/xsd/fedora-types.xsd (for the JUnit tests).
  
  @return fedora-types.xsd
  @throws FileNotFoundException