[
https://issues.apache.org/jira/browse/CXF-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948458#comment-13948458
]
Sergey Beryozkin commented on CXF-5644:
---------------------------------------
Ex: text/xml & application/xml, text/http and application/xml+xhtml, etc, where
we do not want to restrict the transformation only to application/xml given
that the legacy clients may be using text/xml, etc.
Re the templates map: I'm not sure we need to create a complete
annotation-driven transformations support matching teh level of
XsltJaxbProvider. For example, doing such a map would require a media type be a
required property which will be a bit 'noisy. XsltJaxbProvider can support per
media type specific transformations if really needed, where the output format
is fundamentally different, example, either XML or JSON, but if that is really
needed then IMHO XsltJaxbProvider will need to be configured directly (ex, via
CXFNonSpringJaxrsServlet if no Spring is used)
I'm fine though with tuning XSLTTransform further, may be have some properties,
etc, but for now I'm considering this issue fixed
Cheers, Sergey
> Introduce XSLTTransform annotation to support server-side transformations
> -------------------------------------------------------------------------
>
> Key: CXF-5644
> URL: https://issues.apache.org/jira/browse/CXF-5644
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Reporter: Sergey Beryozkin
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)