Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 310 invoked from network); 5 Jun 2007 18:30:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2007 18:30:58 -0000 Received: (qmail 56292 invoked by uid 500); 5 Jun 2007 18:31:02 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 56259 invoked by uid 500); 5 Jun 2007 18:31:02 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 56250 invoked by uid 99); 5 Jun 2007 18:31:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 11:31:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of polar.humenn@iona.com designates 12.170.54.180 as permitted sender) Received: from [12.170.54.180] (HELO amer-mx1.iona.com) (12.170.54.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 11:30:56 -0700 X-IronPort-AV: E=Sophos;i="4.16,386,1175486400"; d="scan'208";a="164702" Received: from amer-ems1.ionaglobal.com ([10.65.6.25]) by amer-mx1.iona.com with ESMTP; 05 Jun 2007 14:30:34 -0400 Received: from [10.59.0.65] ([10.59.0.65]) by amer-ems1.IONAGLOBAL.COM with Microsoft SMTPSVC(6.0.3790.1830); Tue, 5 Jun 2007 14:30:33 -0400 Message-ID: <4665ABD5.7020103@iona.com> Date: Tue, 05 Jun 2007 14:30:45 -0400 From: Polar Humenn User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: cxf-dev@incubator.apache.org Subject: Re: Schema Locations References: <7b774c950706031426g7074ac3dj5fffe4dd9effcbdb@mail.gmail.com> <46640581.9040908@iona.com> <7b774c950706050902n1f3ea250q48ee2c08831588cd@mail.gmail.com> <46659AC8.80301@iona.com> In-Reply-To: <46659AC8.80301@iona.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Jun 2007 18:30:33.0825 (UTC) FILETIME=[9A920D10:01C7A79F] X-Virus-Checked: Checked by ClamAV on apache.org Hi Andrea, Could you please elaborate the changes that you made to http-conf.xsd? I'm working on that as well. Did you commit changes already? Cheers, =Polar Andrea Smyth wrote: > Dan Diephouse wrote: > >> On 6/4/07, Andrea Smyth wrote: >> >>> >>> Dan Diephouse wrote: >>> >>> > Hi Andrea, >>> > >>> > Just had one minor piece of feedback on your commit to change the >>> > Schema locations. Would you be OK with changing the schema locations >>> > to something like: >>> > >>> > http://cxf.apache.org/schemas/2.0/http.xsd >>> > >>> > instead of >>> > >>> > http://cxf.apache.org/schemas/wsdl/http-conf.xsd >>> > >>> > While I like the symmetry between the classpath and the schema >>> > location, I see a couple issues: >>> >>> > 1. /wsdl/ shouldn't really be in the URI for a spring schema >>> > 2. -conf is kind of redundant >>> >>> I agree with you on the naming - it's quite awful, and there are way >>> too >>> many namespaces (but that's another issue). >>> For now, I would like to use URIs that can a) be derived very simply >>> from other information that we have (i.e. their actual location in the >>> trunk) and b) where the underlying schema can potentially be made >>> available on the web. See wiki page >>> http://cwiki.apache.org/CXF20DOC/schemas-and-namespaces.html I started >>> on that, and on which I want to complete the table. >>> If someone wants to change the URI for one schema, name and >>> location of >>> the schema should be changed at the same time to avoid confusion - >>> after >>> all the latter is the least work. The real pain is in updating >>> references in schemaLocation attributes, not just on cfg files but in >>> other schemas and catalog files as well. >> >> >> >> Yeah, I like how the locations are symettric with the classpath >> locations. I >> think I'd just like to move our schemas from the schemas/wsdl >> directories to >> the schemas/ directory. I can go ahead and do that if its ok with you. > > Sure, go ahead. > But remember that (because neither JMS not HTTP beans inherit from > JAXB generated code), I have split the http-conf.xsd and jms.xsd into > two schema files - one located in schemas/wsdl as before and the split > off part in schemas/configuration. No code is generated from the > latter, and both parts have same target namespace. For valid spring > cfg files you only need to specify the schemaLocation the latter in > the cfg files schemaLocation attribute (Spring pulls in the included > schemas if necessary). > > Andrea. > >> >>> 3. I think it might be good to have the version # as we previously >>> > discussed in the location. Lets say we change the namespace in our >>> > schema for 2.1, then we effectively need to host two schemas at the >>> > same location with the current location URI. >>> >>> What about redirecton as I suggested in an earlier mail? >>> "For reasons outlined below I tend towards not using a version >>> number in >>> the URI, but instead adopt the convention that >>> http://cxf.apache.org/schemas/x.y contains the schemas for version x.y >>> and that http://cxf.apache.org/schemas/ directs to the current >>> version. " >>> >>> Unless we maintain versions of schemas, bean definition parsers etc. in >>> one product version, and IMO this is a real pain, many cfg files become >>> unnecessarily invalid.\ >> >> >> >> >> OK, I see now what you were proposing - I misunderstood before. Once >> we move >> to 2.1 we can copy 2.0 schemas to schemas/2.0/ and if people want to >> strictly stay with that schema they can change their location >> accordingly. >> Sounds good to me! >> >> Thanks! >> - Dan >> >> >> > > ---------------------------- > IONA Technologies PLC (registered in Ireland) > Registered Number: 171387 > Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland