              parser = DjangoMultiPartParser(meta, stream, upload_handlers, encoding)
              data, files = parser.parse()
              return DataAndFiles(data, files)
          except MultiPartParserError as exc:
              raise ParseError('Multipart form parse error - %s' % str(exc))
  
  
  class XMLParser(BaseParser):
      """
      XML parser.
 
</s> remove                 'message': str(exc)
 </s> add                 'message': six.text_type(exc) </s> remove         return self.choice_strings_to_values[str(value)]
 </s> add         return self.choice_strings_to_values[six.text_type(value)] </s> remove             data = int(str(data))
 </s> add             data = int(six.text_type(data)) </s> remove         return str(value)
 </s> add         return six.text_type(value) </s> remove         return str(value)
 </s> add         return six.text_type(value)
            raise ParseError('Multipart form parse error - %s' % six.text_type(exc))
              parser = DjangoMultiPartParser(meta, stream, upload_handlers, encoding)
              data, files = parser.parse()
              return DataAndFiles(data, files)
          except MultiPartParserError as exc:
            raise ParseError('Multipart form parse error - %s' % six.text_type(exc))
  
  
  class XMLParser(BaseParser):
      """
      XML parser.
keep keep keep keep replace keep keep keep keep keep
 Use six.text_type instead of str everywhere 
rest_framework/parsers.py