How does "AbstractTextSerializer" sets the content type header in the HTTP response? The getMimeType method inherited from AbstractSerializer always returns "null"...
See AbstractProcessingPipeline.java, and see also related to this bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10277
Vadim