[DFDL-WG] Incorrect regex in DFDL 1.0 spec

Steve Hanson smh at uk.ibm.com
Tue Feb 10 13:18:14 EST 2015


Erratum taken.

Regards
 
Steve Hanson
Architect, IBM DFDL
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848



From:   Steve Hanson/UK/IBM
To:     DFDL-WG <dfdl-wg at ogf.org>
Date:   10/02/2015 09:32
Subject:        Incorrect regex in DFDL 1.0 spec



calendarTimeZone
String
This property provides the time zone that will be assumed if no time zone 
explicitly occurs in the data. 
Valid values specify a UTC time zone offset by matching the regular 
expression: 
(UTC)([+\-]([01]\d|\d)((([:][0-5]\d){1,2})?))?) 
In addition, empty string can be specified to indicate "no time zone", or 
the IANA time zone format (also known as the Olson time zone format) may 
be used. (e.g, America/New_York)) See [IANATimeZone].
Note that this property is used when parsing only. 
Annotation: dfdl:element, dfdl:simpleType

The regex above has an extra ')' in the last position.

Regards
 
Steve Hanson
Architect, IBM DFDL
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20150210/8c908dcd/attachment.html>


More information about the dfdl-wg mailing list