[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FpML-AWG xsd:union within enumerations?
- To: awg@xxxxxxxx
- Subject: Re: FpML-AWG xsd:union within enumerations?
- From: ANDREW JACOBS <andrew.jacobs@xxxxxxxxxxxxxx>
- Date: Fri, 1 May 2009 11:25:19 +0000 (GMT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=s1024; t=1241177119; bh=Et6Kt9lHXdWX5wRx8AIoJpgQCdV34ff3VYsyCKHiyeE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=uT+JR+hhKYu1g0SvLw0NOcyqOTWpNdMHoa1jOOoqpbm6rf4aXew7oILgO15Wnr19/1jptOdZ+DJ+pAhLeQ6cX+P/2WCVpgWZm7WyRQsKUSz+xQvBwEPF0i5kWteK9DP4DmwWQrCf2/0twZB0MfaQFSQY/hpBfcpenHrEHSedcdg=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=FhghZrFwt4VipwKu1UgYQSrDzpZvIRMjd5PshbJT0xmYNqjfGh9Uws+Dk9x3aac3j2PABME7N29e4uyFsRrZOhZBqlYn0++LRYp02GyWa/sC1XkbzCMGrkIHWI8qdo4WKgnjVRg/z933bCgyVgpop3U/jk90U9T9o4ViP0itMVc=;
- In-reply-to: <58F8B576691EBF43B2BF1173C756C909D9FABB51@USMAIL>
- Reply-to: awg@xxxxxxxx
- Sender: awg@xxxxxxxx
I think I'm OK with the idea of enumerations being unioned as long as the codes are all of the same type (e.g. token + token). I don't think it would be a good idea to allow int + token for example - might cause a few implementation problems.
Andrew Jacobs
Director, HandCoded Consulting Ltd.
Director, HandCoded Software Ltd.
Mobile +44 (0)7710 304239
--- On Fri, 1/5/09, Marc Gratacos <MGratacos@xxxxxxxx> wrote:
> From: Marc Gratacos <MGratacos@xxxxxxxx>
> Subject: FpML-AWG xsd:union within enumerations?
> To: "awg@xxxxxxxx" <awg@xxxxxxxx>
> Date: Friday, 1 May, 2009, 9:25 AM
> Hi,
>
> I'd like to check with the AWG whether FpML allows the
> use of xsd:union within enumerated types. The Commodities WG
> wants to create an enumerated list which is a union of an
> existing FpML list. See below:
>
>
>
> <xsd:simpleType
> name="CommodityDayTypeEnum">
>
> <xsd:union memberTypes="DayTypeEnum">
>
> <xsd:simpleType>
>
> <xsd:annotation>
>
> <xsd:documentation
> source="http://www.FpML.org"
> xml:lang="en">A day type classification used in
> counting the number of days between two dates for a
> commodity transaction.</xsd:documentation>
>
> </xsd:annotation>
>
> <xsd:restriction base="xsd:token">
>
> <xsd:enumeration value="GasFlow">
>
> <xsd:annotation>
>
> <xsd:documentation
> source="http://www.FpML.org"
> xml:lang="en">When calculating the number of
> days between two dates the count includes only gas flow days
> (dates on which gas is delivered).</xsd:documentation>
>
> </xsd:annotation>
>
> </xsd:enumeration>
>
> </xsd:restriction>
>
> </xsd:simpleType>
>
> </xsd:union>
>
> </xsd:simpleType>
>
>
>
> Thanks in advance,
>
> Marc
>
> ________________________________
> The information contained in either this email and, if
> applicable, the attachment, are confidential and are
> intended only for the recipient. The contents of either the
> email or the attachment may not be disclosed or used by
> anyone other than the addressee. If you are not the intended
> recipient(s), any use, disclosure, copying, or distribution
> is prohibited and may be unlawful. If you have received this
> communication in error, please notify us by e-mail at
> isda@xxxxxxxx <mailto:isda@xxxxxxxx> then delete the
> e-mail and all attachments and any copies thereof. This
> communication is part of an ISDA process and is not intended
> for unauthorized use or distribution.
-------------------------------------------------------------------------------
To unsubscribe: Email majordomo@xxxxxxxx with a blank subject line
In the body include the line: unsubscribe awg youremail@address
To view archives: http://www.fpml.org/_wgmail/_awgmail/threads.html