CXF cxf-api-2.0.6
Server: Jetty 6.1.9

I use CXF 2.0.6 - where is no string 
if (shouldValidate(message) && !isRequestor(message)) {
in AbstractOutDatabindingInterceptor.

Is there any solution for CXF 2.0.6 ?


dkulp wrote:
> 
> 
> If schema validation is turned on, we now (starting with 2.1.3) "cache"
> the 
> xml events until the very end and then write them all out if no exceptions 
> are thrown during mashalling.   Thus, one fix for you would be to just
> turn 
> on schema validation.     Obviously, the schema validation invokes some
> extra 
> overhead.   Thus, we probably could introduce a new flag to turn on the 
> buffering.      If you would like to tackle that, a patch to 
> AbstractOutDatbindingInterceptor would be all that is needed.
> On line 75, there is:
> if (shouldValidate(message) && !isRequestor(message)) {
> that would just need to be updated to check extra flags.
> 

-- 
View this message in context: 
http://www.nabble.com/Exception-while-marshalling-tp20836363p21036036.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to