cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Vey (JIRA)" <>
Subject [jira] Commented: (DOSGI-52) -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect
Date Thu, 03 Jun 2010 07:54:59 GMT


Julien Vey commented on DOSGI-52:


I have had a look at this issue in order to avoid DOSGI-69.
It seems that the -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE is used by cxf when
it creates its own ApplicationContext.

        String mode = SystemUtils.getSpringValidationMode();    <= here
        if (null != mode) {

In DOSGI, an OsgiBundleXMLAplicationContext is used and as far i know, i don't see a way to
specify the validationMode.

Maybe it would be possible to use a GenericXMLApplicationContext (in the 3.0.x release of
which has a method setValidating(boolean) to enable or not xml validation.

What do you think ?

> -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect
> ------------------------------------------------------------------------------
>                 Key: DOSGI-52
>                 URL:
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW, Product
>    Affects Versions: 1.1
>            Reporter: David Bosschaert
> Reported by Shulok, Thomas <>
> When using CXF 2.2.5
> -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE
>  (the rationale for going to 2.2.5) doesn't seem to have an effect.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message