コード例 #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()
コード例 #2
0
ファイル: pyxsval.py プロジェクト: christophior/WCDb
 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()