UBL Naming and Design Rules SC

 View Only

Re: [ubl-ndrsc] Recursive container?

  • 1.  Re: [ubl-ndrsc] Recursive container?

    Posted 06-02-2003 04:34
    On Mon, 2 Jun 2003, Chin Chee-Kai wrote:
    
    >>Question:
    >>
    >>When 2 or more containers end up sitting consecutively in
    >>a complexType, should there be a container applied onto the
    >>list of containers themselves?
    >>
    >>Ie.  in the situation as follows:
    >>
    >>    <UBLContainer><SomeTypeA>...</SomeTypeA></UBLContainer>
    >>    <UBLContainer><SomeTypeB>...</SomeTypeB></UBLContainer>
    >>    <UBLContainer><SomeTypeC>...</SomeTypeC></UBLContainer>
    >>
    >>should the list of <UBLContainer>s be recursively contained
    >>as in:
    >>
    >><UBLContainer>...</UBLContainer>
    >>    <UBLContainer><SomeTypeA>...</SomeTypeA></UBLContainer>
    >>    <UBLContainer><SomeTypeB>...</SomeTypeB></UBLContainer>
    >>    <UBLContainer><SomeTypeC>...</SomeTypeC></UBLContainer>
    >><UBLContainer>...</UBLContainer>
    >>
    >>?
    
    Sorry, for the last example, I meant it to show:
    
    <UBLContainer>
        <UBLContainer><SomeTypeA>...</SomeTypeA></UBLContainer>
        <UBLContainer><SomeTypeB>...</SomeTypeB></UBLContainer>
        <UBLContainer><SomeTypeC>...</SomeTypeC></UBLContainer>
    </UBLContainer>
    
    and ask whether this is the way Containers should be applied
    or otherwise.  Hope it wasn't confusing.  Thanks.
    
    
    
    Best Regards,
    Chin Chee-Kai
    SoftML
    Tel: +65-6820-2979
    Fax: +65-6743-7875
    Email: cheekai@SoftML.Net
    http://SoftML.Net/