UBL Naming and Design Rules SC

 View Only

Re: [ubl-ndrsc] Containers

  • 1.  Re: [ubl-ndrsc] Containers

    Posted 05-16-2003 01:50
    On Thu, 15 May 2003, Lisa-Aeon wrote:
    
    >>...
    >>Proposal:
    >>
    >> 1.  All documents shall have a container for metadata  and which proceeds
    >>the body of the document and is named  "Head" _____________. (anything but
    >>header)
    
    Very nice!  I see metadata coming in at least from input tag
    marking, output formatting and styling, document instance ID 
    (UBL document processing), version tagging, and possibility 
    of managing such "attachments" as company logo, formatting 
    stylesheets, etc.
    
    Are we talking about the following structure:
        <Head>
           ....
        </Head>
        <Order>
           ....
        </Order>
    
    ?  In that case should NDR consider creating an universal
    outer envelope that wraps any and all UBL instances, such
    as (for lack of a better name, using UBL itself):
        <UBL>
          <Head>
             ....
          </Head>
          <Order>
             ....
          </Order>
        </UBL>
    ?
    
    Please advise.
    
    
    
    >> 2.  All elements with a cardinality of 1..n, (and lack a qualifing
    >>structure) must be contained by a list container named  "(name of repeating
    >>element)List", which has a cardinality of 1..1.
    
    Great conclusion!  What about the ruling for cardinality of 0..n?
    
    
    
    
    Best Regards,
    Chin Chee-Kai
    SoftML
    Tel: +65-6820-2979
    Fax: +65-6743-7875
    Email: cheekai@SoftML.Net
    http://SoftML.Net/