コード例 #1
0
 def _validateXmlInput(self, xmlInputFile, inputTreeWrapper,
                       xsdTreeWrapperList):
     self._verbosePrint("Validating %s..." % (xmlInputFile))
     xsvInputFile = XsValBase(self.xmlIf, self.errorHandler, self.verbose)
     xsvInputFile.validate(inputTreeWrapper, xsdTreeWrapperList)
     xsvInputFile.unlink()
     self.errorHandler.flushOutput()