updated discarding filter to include all xml mime docs