[DFDL-WG] emptyValueDelimiterPolicy clarification
Steve Hanson
smh at uk.ibm.com
Fri May 31 04:29:45 EDT 2013
Yes. If either dfdl:initiator or dfdl:terminator is not empty string,
meaning there will be an initiator or terminator in the data, then
dfdl:emptyValueDelimiterPolicy must be specified to describe whether they
are present, in case the element appears in the data as 'empty', meaning
content is zero-length. Whether an element can actually appear in the data
as empty depends on how it is modelled. In COBOL data where everything is
dfdl:lengthKind 'explicit', the data content can never be empty otherwise
the format breaks. But in CSV data, the data content can be omitted
entirely without breaking the format.
Regards
Steve Hanson
Architect, IBM Data Format Description Language (DFDL)
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848
From: "Garriss Jr., James P." <jgarriss at mitre.org>
To: "dfdl-wg at ogf.org" <dfdl-wg at ogf.org>,
Date: 30/05/2013 20:37
Subject: [DFDL-WG] emptyValueDelimiterPolicy clarification
Sent by: dfdl-wg-bounces at ogf.org
This property specifies whether the initiator/terminator must be present
if the element is empty. But the mere presence of this property does not
specify that the element can be empty, right? IOW, I still have to
describe that the element can be empty. That right?--
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/20130531/7828d383/attachment.html>
More information about the dfdl-wg
mailing list