Description
My application can return two
different representations based on the Accept header sent:
"application/xml" or "application/vnd.google-earth.kml+xml". It is
annoying that because the default JAXB providers only @Produce
"application/xml" the second one is not handled, I need to define my own
subclasses that @Produce the KML MIME type, adding no functionality
other than this annotation. The "+xml" suffix is defined by RFC 3023, so
it seems to be accepted as a standard way to denote subtypes
compatible with "application/xml", maybe this should be handled somehow?