[DFDL-WG] errata on number of fractional second digits
Steve Hanson
smh at uk.ibm.com
Wed Jul 9 13:21:22 EDT 2014
Jonathan
The two statements apply to different pattern symbols. The first is for
the S symbol, the second is for the I symbol. However, it is clearer if
the implementer uses the same precision for each, so the I symbol should
change to match the S symbol.
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: "Cranford, Jonathan W." <jcranford at mitre.org>
To: "dfdl-wg at ogf.org" <dfdl-wg at ogf.org>,
Date: 08/07/2014 16:07
Subject: [DFDL-WG] errata on number of fractional second digits
Sent by: dfdl-wg-bounces at ogf.org
Not sure if this has been addressed by a subsequent errata or not, but I
just noticed something that should be corrected in the spec.
Section 13.11.1 is on the dfdl:calendarPattern property. The following
two statements are made about the number of fractional second digits.
- "Any number of fractional seconds "S" may by specified in
the pattern and accepted by implementations, but an implementation is free
to represent a limited number of fractional seconds internally. Excess
fractional seconds are truncated, not rounded up. At least millisecond
accuracy must be implemented." (Section 13.11.1)
- "The number of fractional second digits supported is
implementation dependent but must be at least one." (Section 13.11.1)
These two statements are not consistent. I believe the second one should
be corrected to say that the minimum # of fractional second digits is
three (to support a minimum of millisecond accuracy).
I'm working through the last version that was put out for public comment
(v1.0.4), so my apologies if this has already been corrected.
FYI,
--
Jonathan W. Cranford
Senior Information Systems Engineer
The MITRE Corporation (http://www.mitre.org)
--
dfdl-wg mailing list
dfdl-wg at ogf.org
https://www.ogf.org/mailman/listinfo/dfdl-wg
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/20140709/82a8ed36/attachment.html>
More information about the dfdl-wg
mailing list