[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [regrep-cc-review] [ADDITIONAL THOUGHT]Re: [regrep-cc-review] ASCCs/ASBIEs Revisited
Joe, Do you mind if I include the ATG list in this discussion? Mark > -----Original Message----- > From: Chiusano Joseph [mailto:chiusano_joseph@bah.com] > Sent: Wednesday, June 25, 2003 2:08 PM > To: CRAWFORD, Mark > Cc: CCRev > Subject: Re: [regrep-cc-review] [ADDITIONAL THOUGHT]Re: > [regrep-cc-review] ASCCs/ASBIEs Revisited > > > Let's dissect this a bit more: > > <USPerson> represents an ABIE called "US_Person. Details"; > > <USOfficialAddress> represents an ASBIE called "US_Person. > US_Official. > US_Address"; > > <USResidence> represents an ASBIE called "US_Person. US_Residence. > US_Address"; > > So, the ABIE contains 2 ASBIEs; > > The combination of <USPerson> and <USOfficialAddress> "results from" > (i.e. is instantiated as a result of) the ASBIE called "US_Person. > US_Official. US_Address"; > > The combination of <USPerson> and <USResidence> "results > from" the ASBIE > called "US_Person. US_Residence. US_Address"; > > <Name> represents a BBIE called (when taken in context of the parent > element <USPerson>) US_Person. Name. Text; > > (Note that UBL Naming and Design (NDR) rules state that "Text" is not > included in the element name) > > The first <Street> element represents a BBIE called (when taken in > context of the parent elements <USPerson> and <USResidence>) > US_Person. > US_Official. US_Address. Street. Text; > > The second <Street> element represents a BBIE called (when taken in > context of the parent elements <USPerson> and <USOfficialAddress>) > US_Person. US_Residence. US_Address. Street. Text; > > How can an instantiating tool (i.e. a tool that creates the > XML instance > document) know the hierarchy of elements? (i.e. that > <USPerson> contains > <USOfficialAddress> and <USResidence>)? Through the ASBIEs: > > US_Person. US_Official. US_Address > AND > US_Person. US_Residence. US_Address > > Please let me know if you feel I've misstated anything - or > even if I've > stated it correctly. > > Joe > > "CRAWFORD, Mark" wrote: > > > > A couple of points - > > > > As a reminder - CCs (BCC, ACC, ASCC) will NEVER be used to > create an instance document. Only BIEs. > > > > The following schema snipet and instance document based on > the ASBIE example in CCTS Section 4 was being used last week > by CEFACT XML group to develop XML rules for CCTS. Forgive > the errors - we were using a german keyboard and just > focusing on alignment of CCTS to CEFACT XML design rules > rather that valid code - but it does convey to this group how > we see the various pieces of the CCTS being used to create > XML instances. > > > > ComplexType name="USPersonDetailsType" > > sequence > > element name = 'Name' type ='TextType' > > element name='BirthDate' type='DateType' > > element name'<USOfficialAddress' type='USAddressDetailsType' > > element name=USResidence type=USAddressDetailsType' > > /sequence > > /ComplexType > > > > ComplexType name ='USAddressDetailsType' > > sequence > > element name='street' type='TextType' > > element name='ZipPostCode' type='TextType' > > element name='Town' type='TextType' > > sequence > > /ComplexType > > > > <USPerson> > > <Name>Melanie</Name> > > <BirthDate>1965.06.06</BirthDate> > > <USOfficialAddress> > > <Street>HarperStreet</Street> > > <ZipPostCode>12345</ZipPostCode> > > <Town>Connor</Town> > > </USOfficialAddress> > > <USResidence> > > <Street><harmony lane</Street> > > <ZipPostCode>12432</ZipPostCode> > > <Town>Oz</Town> > > </USResidence> > > > > You may leave a Technical Committee at any time by visiting http://www.oasis-open.org/apps/org/workgroup/regrep-cc-review/members/leave_workgroup.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]