Sorry, wrong version. (* ************** list **************** *) list = inclusiveList | choiceList inclusiveList = “{“ inclusiveListContent “}” inclusiveListContent = earlier (“,” inclusiveListElement)+ | inclusiveListElement (“,” inclusiveListElement)* "," later | earlier (“,” inclusiveListElement)* "," later | inclusiveListElement (“,” inclusiveListElement)+ inclusiveListElement = date | date “..” date choiceList = “[“ choiceListContent “]” choiceListContent = choiceListElement (“,” choiceListElement)+ choiceListElement = date | date “..” date | earlier | later earlier = “..” date later = date “..” > -----Original Message----- > From: Discussion of the Developing Date/Time Standards > [mailto:[log in to unmask]] On Behalf Of Ray Denenberg, Library > of Congress > Sent: Thursday, April 14, 2011 6:30 PM > To: [log in to unmask] > Subject: [DATETIME] BNF and lists > > I have re-written the "list" section of the BNF: > > > list = inclusiveList | choiceList > > inclusiveList = “{“ inclusiveListContent “}” > inclusiveListContent = earlier (“,” listElement)+ > | listElement (“,” listElement)* "," later listElement (“,” > | listElement)+ > > choiceList = “[“ choiceListContent “]” > choiceListContent = choiceListElement (“,” choiceListElement)+ > choiceListElement = date | date “..” date | earlier | later earlier = > “..” date later = date “..” > > > > -----Original Message----- > > From: Discussion of the Developing Date/Time Standards > > [mailto:[log in to unmask]] On Behalf Of Saašha Metsärantala > > Sent: Friday, April 01, 2011 5:55 AM > > To: [log in to unmask] > > Subject: Re: [DATETIME] BNF complexities > > > > Hello! > > > > > > > BNF for the dateTime spec > > > > > > > minute = zeroThru60 > > > > > > > second = zeroThru60 > > > > > > Leap seconds occur but (as of today) not leap minutes. Therefore, > > > > I wonder why both are assigned zeroThru60. > > > > > I don't think profiling out features in W3C schema is a good idea. > > The XML Schema 1.0 recommendation and the XML Schema 1.1 working > draft > > are different about this question. I was assuming that the expression > > "W3C XML Schema" in our specifications was refering to the > > rekommendation. I would therefore suggest to add a note on the web > > page http://www.loc.gov/standards/datetime/spec.html making it clear > > which version of "W3C XML Schema" our specification refers to. > > > > Here, I suggest some modifications in the BNF: > > > > > oneThru12 = "01” | ”02” ... > > There is a double vertical bar between ten and eleven. > > > > > longYear = “y” "-"? positiveDigit “.e” yearExponent > > This definition in the BNF excludes y170000000, which is an example > > given in # 330 > > > > > monthDay > > This definition in the BNF excludes the 29th February on leap years. > > > > > qualifier > > Maybe we could add a note telling that this is not yet defined. > > > > > duration > > The number of parentheses in this part of the BNF is odd. > > > > > startAndDuration > > I would suggest the removal of this variable and just put its content > > in the definition of "interval". > > > > ------------------------------------------------ HOURS > > > > > timeNoZone = timeNoFraction fraction? > > timeNoZone = timeNoFraction fraction? | "24:00:00" > > > > > hour = zeroThru24 > > hour = zeroThru23 > > > > > zone = "Z" | (+|-) hour “:” minute > > zone = "Z" | (+|-) oneThru14 “:” minute > > > > > oneThru24 = oneThru12 | "13” | ”14” | ”15” | ”16” [...] ”24" > > oneThru14 = oneThru12 | "13” | ”14” > > > > oneThru23 = oneThru14 | ”15” | ”16” | ”17” | ”18” | ”19” | ”20” | ”21” > > | ”22” | ”23” > > > > > zeroThru24 = "00" | oneThru24 > > zeroThru23 = "00" | oneThru23 > > > > > oneThru28 = oneThru24 | "25” | ”26” | ”27” | ”28” | ”29” | ”30” > > oneThru28 = oneThru23 | "24” | "25” | ”26” | ”27” | ”28” > > > > > oneThru30 = oneThru28 | ”29” | ”30” > > > > oneThru29 = oneThru28 | "29” > > > > oneThru30 = oneThru29 | "30” > > > > ------------------------------------------------ LISTS > > > > > consecutives = listElement “..” listElement > > consecutives = date “..” date > > > > > listElements = listElement listElement (“,” listElement)* > > listElements = listElement (“,” listElement)+ listContent = ( > > listElements | consecutives ) > > > > > inclusiveList = “{“ listElements “}” > > inclusiveList = “{“ listContent “}” > > > > > choiceList = “[“ listElements “]” | “[“ earlier listElements? “]” > | > > > “[“ > > listElement? later “]” > > > > choiceList = “[“ ( listContent | ( earlier ( ", " listElement )* ) | > > ( ( listElement ", " )* later ) ) “]” > > > > > listElement = date | consecutives > > I suggest that this one is unchanged. > > > > Regards! > > > > Saašha,