You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2017/11/21 13:23:53 UTC

[GitHub] sberyozkin commented on issue #309: [CXF-7491] make Stax & XSLT interceptors Charset-aware

sberyozkin commented on issue #309: [CXF-7491] make Stax & XSLT interceptors Charset-aware
URL: https://github.com/apache/cxf/pull/309#issuecomment-346025139
 
 
   Np, sorry for a delay too. I see you check a message contextual property in many places and if it is not set - default to UTF-8 and finally pass it as a method parameter. What I suggested that, instead of updating all the methods which need this encoding property - set it as a new Message property and get the interceptors check the current Message. In fact, why don't interceptor methods  which need this encoding property  simply check as in
   https://github.com/apache/cxf/pull/309/files#diff-7b1f19d5162a1a32027e223ec72228eeR61
   
   may be also have this code encapsulated in MessageUtils ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services