LISTSERV mailing list manager LISTSERV 16.0

Help for DATETIME Archives


DATETIME Archives

DATETIME Archives


DATETIME@C4VLPLISTSERV01.LOC.GOV


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

DATETIME Home

DATETIME Home

DATETIME  April 2011

DATETIME April 2011

Subject:

Re: BNF and lists

From:

Ray Denenberg <[log in to unmask]>

Reply-To:

Discussion of the Developing Date/Time Standards <[log in to unmask]>

Date:

Thu, 14 Apr 2011 18:39:29 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (149 lines)

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,

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

August 2019
February 2019
December 2018
November 2018
October 2018
January 2018
August 2017
July 2017
June 2017
April 2017
March 2017
February 2017
August 2016
July 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
December 2014
November 2014
March 2014
September 2013
May 2013
February 2013
October 2012
September 2012
August 2012
May 2012
March 2012
December 2011
November 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
February 2010
January 2010
December 2009
November 2009

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager