UBL Naming and Design Rules SC

 View Only
  • 1.  Recursive container?

    Posted 06-02-2003 04:30
    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>
    
    ?
    
    
    Best Regards,
    Chin Chee-Kai
    SoftML
    Tel: +65-6820-2979
    Fax: +65-6743-7875
    Email: cheekai@SoftML.Net
    http://SoftML.Net/