[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl-lcsc] BBIEs and complexTypes
There are also a few other rules that go along with this. They are: [CTD4] Every CCTS:ABIE xsd:complexType definition content model MUST use the xsd:sequence element with appropriate global element references, or local element declarations in the case of ID and Code, to reflect each property of its class as defined in the corresponding UBL model. [CTD5] Every CCTS:BBIE xsd:complexType definition content model MUST use the xsd:simpleContent element. [CTD6] Every CCTS:BBIE ComplexType content model xsd:simpleContent element MUST consist of an xsd:extension element. [CTD7] Every CCTS:BBIE xsd:complexType content model xsd:extension element MUST use the xsd:base attribute to define the basis of each primary or secondary representation term. ----- Original Message ----- From: "Tim McGrath" <tmcgrath@portcomm.com.au> To: "Lisa-Aeon" <lseaburg@aeon-llc.com> Cc: "Ubl-Lcsc" <ubl-lcsc@lists.oasis-open.org> Sent: Tuesday, October 28, 2003 7:34 PM Subject: Re: [ubl-lcsc] BBIEs and complexTypes > I agree with Mike and the intention on this rule. We want to ensure that > all BBIEs use a common set of attributes and re-use them as much as > possible. > > If i understand this correctly, the way we currently implement BBIEs is > by giving them a 'Type' based on the CCTS Representation term. These > 'Types' (such as Code, Name, Date,etc are themselves complexTypes. It > is these complexTypes that ensure we use the same attributes/meta-data > for each BBIE. > > For example, in Order we have a ValidityDurationMeasure with a > type="rt:MeasureType". MeasureType is a complexType in the RT schema. > All BBIEs that are represented as Measure use this complexType > definition. That gives us plenty of re-use. The only attributes that > VailidityDurationMeasure has that distinguish it from other Measures are > xsd:annotation - again these use the CCTS "Component" - which is a > common complexType called "ComponentType". This ensures that all the > BBIEs use the same attributes. > > I think that given the emergence of the CCTS schemas for RT (and CCT) > that rule ELN2 could be reviewed by NDR. i suspect it has been > overtaken by developments in that area. To add another complexType > defintion for all individual BBIEs (e.g. ValidityDurationMeasureType) > would seem to go against the intention of the rule. > > Lisa-Aeon wrote: > > >Issue: > > > >Rule number ELN2 has not been realized in the schema. > > > >Rule ELN2: A UBL global element name based on a CCTS:BBIE MUST be the same > >as the name of the corresponding xsd:complexType to which it is bound, with > >the word "Type" removed. > > > >Mike Grimley came back to me with the comment: I believe they wanted > >separate rules for ABIEs and BBIEs even though the rule is the same. BBIEs > >are considered ComplexTypes because they contain attributes (the common > >attributes defined in the schema, like UID, etc.) > > > >Does this help clear anything up? The BBIE's should have the common > >attributes, if they don't again, this is non-compliance with the NDRs. > > > >Lisa > > > > > > > > > >++++++++++++++++++++++++++++++++++++++++++++++++++++ > >Lisa Seaburg > >AEON Consulting > >Website: http://www.aeon-llc.com > >Email: lseaburg@aeon-llc.com > >Alternative Email: xcblgeek@yahoo.com > >Phone: 662-562-7676 > >Cellphone: 662-501-7676 > > > >"If you obey all the rules, you miss all the fun." > > -Katharine Hepburn > >++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003 > > > > > >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-lcsc/members/leave_workgroup.php. > > > > -- > regards > tim mcgrath > phone: +618 93352228 > postal: po box 1289 fremantle western australia 6160 > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]