code: public static void validateXml(Node doc, File schemaFile)
   throws AlipayApiException {
          validateXml(doc, getInputStream(schemaFile));
      }
docs: Validates the element tree context via given XML schema file.
  
  @param doc the XML document to validate
  @param schemaFile the XML schema file instance
  @throws ApiException error occurs if the schema file not exists