Hi Bill,
I think it's too late for the spec, but you could implement it out of
the specification, as I also do. My JAXB provider supports
@Produces( { "application/xml", "text/xml", "application/*+xml" }) (and
also @Consumes)
best regards
Stephan
Bill Burke schrieb:
> I know this is probably too late but...
>
> A RESTEasy user brought up an interesting problem:
>
> They have JAXB annotated classes, but their incoming mime type is
> "application/vnd.google-earth.kml+xml". They want to use the provided
> JAXB Provider, but have to extend the vendor-specific class and
> register it themselves.
>
> I guess it would be cool to allow:
>
> @Produces("application/{regex}+xml")
>
> or maybe regex's are overkill and something simple like:
>
> @Produces("application/+xml") will match everything *+xml. I don't
> know :)
>
> Again, probably too late to get this in, but I'll log an issue anyways.
>
> Bill