UBL Naming and Design Rules SC

  • 1.  Rule: 5

    Posted 07-17-2003 14:55
    Rules for Voting:  Each email will have only one rule in it, I will try to
    mark the rules that group with it, or rules that might duplicate it.  The
    membership has 5 working days to bring forth objection or discussion, after
    the 5 working days, if there are no objections, the rule will be assumed to
    be "ACCEPTED" and be given to the LCSC for their implementation.
    
    Voting period on this rule ends:  July 24, 2003
    
    *******************************
    
    We discussed the actually wording on this rule, but had not finalized
    whether or not it is accepted.  Please read through, I put together a
    changed rule that I think is what the group had wanted.  Discuss and vote.
    
    Old Wording:
    
    [R 5]  XML names constructed from dictionary entry names must not include
    periods, spaces, or other separators.
    
    Change to:
    
    [R 5]  The XML names in UBL should be drawn from the regular expression set
    [a-zA-Z]+[a-zA-Z0-9]*.
    
    
    Comments:
    
    This is another rule LCSC has been asking for, should we clarify?
    
    The regular expression is not quite right, but we agree.  We want
    clarification, we don't want difficulty in translation or programming within
    other environments.
    
    CK: Underscores (_) used as first character to denote "internal usage of
    some sort" need not be considered separators, but should presumably fall
    under this guidance of usage avoidance. So suggest that "separators" be
    replaced by  "any other character than the 52 upper and lower case alphabets
    and the 10 digit characters.  In other words, the XML names in UBL should be
    drawn from the regular expression set [a-zA-Z]+[a-zA-Z0-9]*" Note: this
    would also help mapping to the namespaces of other  languages such as
    Java.Correction from
    
    Dan Vint: Change regular expression to: [a-zA-Z][a-zA-Z0-9]*
    
    
    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.498 / Virus Database: 297 - Release Date: 7/8/2003
    
    
    
    ---
    
    File has not been scanned
    
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.498 / Virus Database: 297 - Release Date: 7/8/2003
    
    
    BEGIN:VCARD
    VERSION:2.1
    N:Seaburg;Lisa
    FN:Lisa Seaburg (E-mail)
    ORG:Aeon LLC
    TEL;WORK;VOICE:(662) 562-7676
    ADR;WORK:;;;Senatobia;MS;38668;USA
    LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Senatobia, MS 38668=0D=0AUSA
    URL;WORK:http://www.aeon-llc.com
    EMAIL;PREF;INTERNET:lseaburg@aeon-llc.com
    REV:20030717T150653Z
    END:VCARD