You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2009/12/23 10:37:29 UTC

[jira] Created: (DOSGI-52) -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect

-Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect
------------------------------------------------------------------------------

                 Key: DOSGI-52
                 URL: https://issues.apache.org/jira/browse/DOSGI-52
             Project: CXF Distributed OSGi
          Issue Type: Bug
          Components: DSW, Product
            Reporter: David Bosschaert


Reported by Shulok, Thomas <th...@lmco.com>
http://old.nabble.com/-DOSGI--cxf-2.2.5-in-the-DOSGI-1.2-snapshot-download--td26880487.html

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.


[jira] Commented: (DOSGI-52) -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect

Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DOSGI-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875002#action_12875002 ] 

David Bosschaert commented on DOSGI-52:
---------------------------------------

Sounds like a good idea, but I think we will have to follow the spring version that the main CXF project itself it using. So if we can persuade them to move to 3.0.x...

Besides that, I actually think that validation should also work local schemas that are part of the distribution. I *think* all of the required schemas should be somewhere in the jars and normally an XML parser can be instructed to look at an alternative place in order to find these schemas...

> -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect
> ------------------------------------------------------------------------------
>
>                 Key: DOSGI-52
>                 URL: https://issues.apache.org/jira/browse/DOSGI-52
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW, Product
>    Affects Versions: 1.1
>            Reporter: David Bosschaert
>
> Reported by Shulok, Thomas <th...@lmco.com>
> http://old.nabble.com/-DOSGI--cxf-2.2.5-in-the-DOSGI-1.2-snapshot-download--td26880487.html
> 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.


[jira] Commented: (DOSGI-52) -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect

Posted by "Julien Vey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DOSGI-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874997#action_12874997 ] 

Julien Vey commented on DOSGI-52:
---------------------------------

Hi,

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) {
            reader.setValidationModeName(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 spring) 
http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/context/support/GenericXmlApplicationContext.html
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: https://issues.apache.org/jira/browse/DOSGI-52
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW, Product
>    Affects Versions: 1.1
>            Reporter: David Bosschaert
>
> Reported by Shulok, Thomas <th...@lmco.com>
> http://old.nabble.com/-DOSGI--cxf-2.2.5-in-the-DOSGI-1.2-snapshot-download--td26880487.html
> 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.


[jira] Updated: (DOSGI-52) -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect

Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DOSGI-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert updated DOSGI-52:
----------------------------------

    Affects Version/s: 1.1

> -Dorg.apache.cxf.spring.validation.mode=VALIDATION_NONE doesn't have an effect
> ------------------------------------------------------------------------------
>
>                 Key: DOSGI-52
>                 URL: https://issues.apache.org/jira/browse/DOSGI-52
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW, Product
>    Affects Versions: 1.1
>            Reporter: David Bosschaert
>
> Reported by Shulok, Thomas <th...@lmco.com>
> http://old.nabble.com/-DOSGI--cxf-2.2.5-in-the-DOSGI-1.2-snapshot-download--td26880487.html
> 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.