Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 23382 invoked from network); 16 Sep 2006 04:07:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Sep 2006 04:07:02 -0000 Received: (qmail 75728 invoked by uid 500); 16 Sep 2006 04:07:01 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 75117 invoked by uid 500); 16 Sep 2006 04:06:59 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 75106 invoked by uid 99); 16 Sep 2006 04:06:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 21:06:59 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ajith.ranabahu@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Sep 2006 21:06:52 -0700 Received: by nf-out-0910.google.com with SMTP id x29so2248910nfb for ; Fri, 15 Sep 2006 21:03:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sJKkKpIztR7aMaEBtmxqmn46IPAKfH+7MgeQMRY4dcvLblYkxu4Op8so8z75eO1ciartg4ySY+aDyE/I4/g6vV7V3vvTHw6RWb7/XGnjQzE9NYCJz64a+JnJaOO62mAhwMpF7QvUXfPUgRzECy0A94ZM5e+RVw/dv8VsJSHYhpc= Received: by 10.49.41.18 with SMTP id t18mr14150267nfj; Fri, 15 Sep 2006 21:03:31 -0700 (PDT) Received: by 10.48.163.5 with HTTP; Fri, 15 Sep 2006 21:03:31 -0700 (PDT) Message-ID: Date: Sat, 16 Sep 2006 00:03:31 -0400 From: "Ajith Ranabahu" To: axis-dev@ws.apache.org Subject: [Axis2] Re: Adding Support for xs:union in ADB In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Yes it seems to be the right approach. So you have multiple setters for each type in the union and a boolean keeps track of the value that was set the last ? BTW its good to see you working on this :) Ajith On 9/15/06, Maryam Moazeni wrote: > > Hi All, > > Regarding the implementation of xs:union, I'd like to have Axis2 developers' > opinions. > Like particle "choice" that a tracker is set for each element that is set, > we can have a tracker for each > type in the "union" as well. Therefore, we can keep track of the type that > is first set. I think every thing else would be the same as before. > > Any thoughts? > > Thanks in advance, > > Maryam -- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org