[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl] questions about BBIE properties
> > 2. Do Codes and Ids follow that rule as well? Codes and Ids are special > > because they are local elements. > I agree with Mike here - I'd be wary about applying the rule to locally declared types, especially codes, but I've tried it and it still doesn't affect instances Steve ----- Original Message ----- From: "Grimley Michael J NPRI" <GrimleyMJ@Npt.NUWC.Navy.Mil> To: "'David Kruppke'" <dill2@gefeg.com> Cc: <ubl@lists.oasis-open.org> Sent: Thursday, April 01, 2004 4:51 PM Subject: RE: [ubl] questions about BBIE properties > > 1. How was the decision concerning i.e. "ZoneType"? Is it necessary to > > create an element "Zone" in the cbc although there is no BBIE in the > > Reusable? > > The answer is 'Yes'. A rule currently states that a global element will be declared for every complex type. > > > > 2. Do Codes and Ids follow that rule as well? Codes and Ids are special > > because they are local elements. > > I will defer to the CodeList people on this one, but my humble opinion is to keep it as it is (because they are declared locally). > > > > > This is what we have now: > > > > <xsd:complexType name="OrderType"> > > ... > > <xsd:element name="TransactionCurrencyCode" type="cur:CodeType" > > minOccurs="0" maxOccurs="1"> > > ... > > > > Should it be changed to this? > > > > > > <xsd:complexType name="OrderType"> > > ... > > <xsd:element name="TransactionCurrencyCode" > > type="TransactionCurrencyCodeType" minOccurs="0" maxOccurs="1"> > > ... > > > > <xsd:complexType name="TransactionCurrencyCodeType"> > > <xsd:simpleContent> > > <xsd:extension base="cur:CodeType"/> > > </xsd:simpleContent> > > </xsd:complexType> > > To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/ubl/members/leave_workgroup.php . > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]