code: def getsdm(*args, **kwargs):
      
  
      try:
          sdm = sdmpy.SDM(*args, **kwargs)
      except XMLSyntaxError:
          kwargs['use_xsd'] = False
          sdm = sdmpy.SDM(*args, **kwargs)
  
      return sdm
docs: Wrap sdmpy.SDM to get around schema change error