[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl-ndrsc] Rule: 5
How about combining the two so a business person can understand as well as the programmer types? So something like this: >[R 5] XML names must start with a letter (a to z or A to Z) optionally >followed by any number of letters or digits (0 to 9, a to z, and A to Z). >They may not include periods, spaces, or other separators. As a regular >expression this is represented as: [a-zA-Z][a-zA-Z0-9]* ..dan At 10:11 AM 7/17/2003 -0500, Lisa-Aeon wrote: >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 >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]