Exemple #1
0
 def error(self, strXMLin):
     """
     This is an example of XMLerr function ... it prints only the name of the file created
     @param srXMLin: The XML string used to launch the job
     @type strXMLin: python string with the input XML
     @rtype: None
     @return: None     
     """
     if isinstance(strXMLin, (str, unicode)):
         xsd = XSDataInputFullFieldXAS.parseString(strXMLin)
     else:
         xsd = strXMLin
     filenames = [i.path.value for i in xsd.getData()]
     EDVerbose.ERROR("Error in the processing of: \n %s" % "\n".join(filenames))
     self._lstErrorFile.append(filenames)
Exemple #2
0
 def error(self, strXMLin):
     """
     This is an example of XMLerr function ... it prints only the name of the file created
     @param srXMLin: The XML string used to launch the job
     @type strXMLin: python string with the input XML
     @rtype: None
     @return: None     
     """
     if isinstance(strXMLin, (str, unicode)):
         xsd = XSDataInputFullFieldXAS.parseString(strXMLin)
     else:
         xsd = strXMLin
     filenames = [ i.path.value for i in xsd.getData()]
     EDVerbose.ERROR("Error in the processing of: \n %s" % "\n".join(filenames))
     self._lstErrorFile.append(filenames)