Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07671989B for ; Mon, 12 Dec 2011 22:54:01 +0000 (UTC) Received: (qmail 68960 invoked by uid 500); 12 Dec 2011 22:54:01 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 68900 invoked by uid 500); 12 Dec 2011 22:54:00 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 68892 invoked by uid 99); 12 Dec 2011 22:54:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 22:54:00 +0000 X-ASF-Spam-Status: No, hits=-2000.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 22:53:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AE53810E671 for ; Mon, 12 Dec 2011 22:53:31 +0000 (UTC) Date: Mon, 12 Dec 2011 22:53:31 +0000 (UTC) From: "Daniel Kulp (Resolved) (JIRA)" To: issues@cxf.apache.org Message-ID: <728593999.3222.1323730411715.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1658603493.879.1323682955552.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CXF-3975) Consolidate ws-rm configuration schema for spring and blueprint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-3975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-3975. ------------------------------ Resolution: Fixed > Consolidate ws-rm configuration schema for spring and blueprint > --------------------------------------------------------------- > > Key: CXF-3975 > URL: https://issues.apache.org/jira/browse/CXF-3975 > Project: CXF > Issue Type: Improvement > Components: WS-* Components > Affects Versions: 2.5, 2.4.4 > Reporter: Aki Yoshida > Assignee: Aki Yoshida > Priority: Minor > Fix For: 2.4.5, 2.5.1 > > > Two almost identical configuration schemas (for spring and blueprint) are currently used in the WS-RM component, as there are some XML attributes that are specific to one or the other variant. The use of two schemas is associated with an increased cost in maintaining those schemas as well as for WS-RM in particular, a significant overhead in providing a straightforward configuration while reusing the jaxb based configuration classes for both variants. > As defining the configuration schema for CXF's WS-RM component is on our hand and we can define a single schema having the union of those attributes so that it can be used by both types of configuration. > The advantage of this unification is simplicity in the implementation code as well as in the configuration. There is one schema and one namespace to maintain for both spring and blueprint configurations. > The drawback is a weakened syntax validation that could be avoided when two tailored schemas are used for validation. However, there is typically always some gap between semantically valid and only syntactically valid. And such divergence can be documented in the schema and in the documentation to fill this gap. > Some additional information is at the dev@cxf archive > http://cxf.547215.n5.nabble.com/thought-on-spring-and-blueprint-configuration-schemas-tt5052010.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira