Conflicting Info: binaryDecimalVirtualPoint

The spec has conflicting info about the property binaryDecimalVirtualPoint Section 22.1 shows this property only being examined once binaryNumberRep is packed, bcd, or ibm4690Packed. (Note: doesn't even allow for zoned as this is 'binaryDecimal....", and zoned is considered text) Section 13.7.1.1 explicitly states this property can be used with non-base-10 representations to scale the value. While the functionality in 13.7.1.1 could be useful to people, I believe the intent of this property was to support virtual decimal points, which is, in my experience, a COBOL-oriented feature used with base-10 representations (zoned, text, or packed/bcd). In DFDL v1.0, zoned is considered textual, so this property doesn't apply to zoned numbers. That leaves only the packed/bcd representations. I suggest these changes: 1) language in 13.7.1.1 should be revised to avoid requiring this property to apply to binaryNumberRep='binary' (aka twos-complement or unsigned binary) integers. 2) The definition of the property should explicitly state it applied only to base 10 binary (aka packed/bcd) representations. Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | www.tresys.com Please note: Contributions to the DFDL Workgroup's email discussions are subject to the OGF Intellectual Property Policy <http://www.ogf.org/About/abt_policies.php>

Mike responses in-line below Also note property mis-spelling as dfdl:binaryVirtualDecimalPoint in section 13.7.1.1. Regards Steve Hanson IBM Hybrid Integration, Hursley, UK Architect, IBM DFDL Co-Chair, OGF DFDL Working Group smh@uk.ibm.com tel:+44-1962-815848 mob:+44-7717-378890 Note: I work Tuesday to Friday From: Mike Beckerle <mbeckerle.dfdl@gmail.com> To: DFDL-WG <dfdl-wg@ogf.org> Date: 03/10/2018 17:04 Subject: [DFDL-WG] Conflicting Info: binaryDecimalVirtualPoint Sent by: "dfdl-wg" <dfdl-wg-bounces@ogf.org> The spec has conflicting info about the property binaryDecimalVirtualPoint Section 22.1 shows this property only being examined once binaryNumberRep is 'packed', 'bcd', or 'ibm4690Packed'. SMH: It's also shown for 'binary' and IBM DFDL implements this. (Note: doesn't even allow for zoned as this is 'binaryDecimal....", and zoned is considered text). SMH: Correct. Zoned is text as you say, so VDP is provided by the 'V' character. Section 13.7.1.1 explicitly states this property can be used with non-base-10 representations to scale the value. While the functionality in 13.7.1.1 could be useful to people, I believe the intent of this property was to support virtual decimal points, which is, in my experience, a COBOL-oriented feature used with base-10 representations (zoned, text, or packed/bcd). In DFDL v1.0, zoned is considered textual, so this property doesn't apply to zoned numbers. That leaves only the packed/bcd representations. I suggest these changes: 1) language in 13.7.1.1 should be revised to avoid requiring this property to apply to binaryNumberRep='binary' (aka twos-complement or unsigned binary) integers. SMH: No, see response above 2) The definition of the property should explicitly state it applied only to base 10 binary (aka packed/bcd) representations. SMH: No, as a corollary. Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | www.tresys.com Please note: Contributions to the DFDL Workgroup's email discussions are subject to the OGF Intellectual Property Policy -- dfdl-wg mailing list dfdl-wg@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

I added the 13.7.1.1 typographical error (binaryVirtualDecimalPoint) to the tracker for those. I am amazed that I could miss read 22.1 and 22.2. They seem very clear to me now. Too little sleep or too much coffee I guess..... Sigh. So my suggestion here about conflicting info is withdrawn. Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | www.tresys.com Please note: Contributions to the DFDL Workgroup's email discussions are subject to the OGF Intellectual Property Policy <http://www.ogf.org/About/abt_policies.php> On Tue, Oct 9, 2018 at 10:08 AM Steve Hanson <smh@uk.ibm.com> wrote:
Mike responses in-line below
Also note property mis-spelling as dfdl:binaryVirtualDecimalPoint in section 13.7.1.1.
Regards
Steve Hanson
IBM Hybrid Integration, Hursley, UK Architect, *IBM DFDL* <http://www.ibm.com/developerworks/library/se-dfdl/index.html> Co-Chair, *OGF DFDL Working Group* <http://www.ogf.org/dfdl/> *smh@uk.ibm.com* <smh@uk.ibm.com> tel:+44-1962-815848 mob:+44-7717-378890 Note: I work Tuesday to Friday
From: Mike Beckerle <mbeckerle.dfdl@gmail.com> To: DFDL-WG <dfdl-wg@ogf.org> Date: 03/10/2018 17:04 Subject: [DFDL-WG] Conflicting Info: binaryDecimalVirtualPoint Sent by: "dfdl-wg" <dfdl-wg-bounces@ogf.org> ------------------------------
The spec has conflicting info about the property binaryDecimalVirtualPoint
Section 22.1 shows this property only being examined once binaryNumberRep is 'packed', 'bcd', or 'ibm4690Packed'. SMH: It's also shown for 'binary' and IBM DFDL implements this. (Note: doesn't even allow for zoned as this is 'binaryDecimal....", and zoned is considered text). SMH: Correct. Zoned is text as you say, so VDP is provided by the 'V' character.
Section 13.7.1.1 explicitly states this property can be used with non-base-10 representations to scale the value.
While the functionality in 13.7.1.1 could be useful to people, I believe the intent of this property was to support virtual decimal points, which is, in my experience, a COBOL-oriented feature used with base-10 representations (zoned, text, or packed/bcd). In DFDL v1.0, zoned is considered textual, so this property doesn't apply to zoned numbers. That leaves only the packed/bcd representations.
I suggest these changes: 1) language in 13.7.1.1 should be revised to avoid requiring this property to apply to binaryNumberRep='binary' (aka twos-complement or unsigned binary) integers. SMH: No, see response above 2) The definition of the property should explicitly state it applied only to base 10 binary (aka packed/bcd) representations. SMH: No, as a corollary.
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology | *www.tresys.com* <http://www.tresys.com> Please note: Contributions to the DFDL Workgroup's email discussions are subject to the *OGF Intellectual Property Policy* <http://www.ogf.org/About/abt_policies.php> -- dfdl-wg mailing list dfdl-wg@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
participants (2)
-
Mike Beckerle
-
Steve Hanson