"If the content is length zero as described above, the representation is then established by checking, in order for:"
After the numbered lists, a concluding sentence can say "In all cases above establishing a representation includes that it must be surrounded by its corresponding initiator/terminator if required for that representation's framing based on dfdl:nilValueDelimiterPolicy, dfdl:emptyValueDelimiterPolicy, dfdl:initiator, and dfdl:terminator."
9.3.2.2 Similarly needs to specify that "Establishing nil representation includes that it must be surrounded by its corresponding
initiator/terminator if required based
on dfdl:nilValueDelimiterPolicy,
dfdl:initiator, and dfdl:terminator."
Mike
9.3.2.1
First numbered list. It's implicit, as is the non-reference to nilValueDelimiterPolicy for nil rep.
Second numbered list. Should not mention empty - can't be empty as not zero length.
Don't understand what you mean by empty rep is non-zero length. We are talking about the content region only here.
Regards
Steve HansonIBM 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@ogf.org
Date: 17/07/2018 15:11
Subject: [DFDL-WG] Spec correction ? - Section 9.3.2.1 - second list missing "empty" representation
Sent by: "dfdl-wg" <dfdl-wg-bounces@ogf.org>
In section 9.3.2.1, there are two numbered lists.
The first numbered list should qualify its mention of "empty representation" with "(when the emptyValueDelimiterPolicy and initiator and terminator policies are defined such that zero-length is allowed as the empty representation.)"
The second numbered list should mention nil (literal), nil (logical), empty, and normal representations.
It is missing discussion of non-zero-length "empty" representations (due to emptyValueDelimiterPolicy not none, and initiator and terminator defined such that the empty representation is non-zero length).
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