docs: def NewData(self, text):
          '''
          Method which is called by the SAX parser upon encountering text inside a tag
          :param text: the text encountered
          :return: None, has side effects modifying the class itself
          '''
          sint = ignore_exception(ValueError)(int)
          if len(self.tags) > 0:
              if self.tags[-1] == "beat-type" or self.tags[-1] == "beats":
                  if sint(text) is int:
                      self.chars[self.tags[-1]] = text
  
          if self.validateData(text):
              if len(self.tags) > 0:
                  if self.tags[-1] not in self.chars:
                      self.chars[self.tags[-1]] = text
                  else:
                      self.chars[self.tags[-1]] += text