UBL Naming and Design Rules SC

 View Only

Re: [ubl-ndrsc] Recursive container?

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

    Posted 06-03-2003 01:07
    It was actually clear the first time ;)
    
    I believe the answer is "no".
    
    <UBLContainer> is a shortcut, not a real name. You won't have
    successsive containers of the same name or type, so it wouldn't
    qualify, would it?
    
    
    Chin Chee-Kai wrote:
    > 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/
    > 
    > 
    > You may leave a Technical Committee at any time by visiting http://www.oasis-open.org/apps/org/workgroup/ubl-ndrsc/members/leave_workgroup.php
    > 
    
    -- 
    Eduardo Gutentag               |         e-mail: eduardo.gutentag@Sun.COM
    Web Technologies and Standards |         Phone:  +1 510 550 4616 x31442
    Sun Microsystems Inc.          |         1800 Harrison St. Oakland, CA 94612
    W3C AC Rep / OASIS TAB Chair