backplane-import/backplanejs — Issue #48: submission.contentTypeIsXML() fails to take charset into account
Author: backplane-import
Created: 2011-10-15 03:10:29+00:00
State: open

### Imported from backplanejs Google Code [issue 48](http://code.google.com/p/backplanejs/issues/detail?id=48).

Reporter
markbirbeck

Date
24 Apr 2010 7:08:01 PM UTC

The method submission.contentTypeIsXML() aims to establish whether data
received from a submission is XML.

The method checks for 'text/xml' and 'application/xml', but fails to take into
account whether there is a charset, as defined here:

http://www.w3.org/International/O-HTTP-charset