code: public boolean checkSchematronRulesAdv(InputSource inputDoc,
              File schemaFile, String phase) throws Exception {
  
          boolean isValid = false;
          if (inputDoc == null)
              return isValid;
          this.schemaFile = schemaFile;
          this.phase = phase;
  
          Document returnDoc = parse(inputDoc, null, null);
          if (returnDoc != null) {
              isValid = true;
          }
          return isValid;
      }
docs: Checks the given schematron phase for the XML file and returns the
  validation status (takes schematron file, not string location). New and
  ADVANCED! (team engine can't work with overloaded methods :P)
  
  @param doc
  The XML file to validate (Document)
  @param schemaFile
  The file object of the schematron file to validate with
  @param phase
  The string phase name (contained in schematron file)
  @return Whether there were validation errors or not (boolean)