[DFDL-WG] clarification: lengthKind 'delimited' but no terminating delimiter in scope

Steve Hanson smh at uk.ibm.com
Tue Jan 25 13:13:56 EST 2022


IBM DFDL also allows this, as spec section 12.3.2 says:

The data stream is scanned for any of 
- the element's terminator (if specified)
 - an enclosing construct's separator or terminator 
 - the end of an enclosing element designated by its known length 
 - the end of the data stream

Regards
 
Steve Hanson
IBM Hybrid Integration, Hursley, UK
Architect, IBM DFDL
Co-Chair, OGF DFDL Working Group
smh at uk.ibm.com
tel:+44-1962-815848
mob:+44-7717-378890
Note: I work Tuesday to Friday 



From:   "Mike Beckerle" <mbeckerle at apache.org>
To:     "DFDL-WG" <dfdl-wg at ogf.org>
Date:   25/01/2022 17:36
Subject:        [EXTERNAL] [DFDL-WG] clarification: lengthKind 'delimited' 
but no terminating      delimiter in scope
Sent by:        "dfdl-wg" <dfdl-wg-bounces at ogf.org>




Is this an SDE? Or allowed?

Daffodil currently implements this as allowed, and it ends up behaving 
much like "endOfParent", i.e., a scan for delimiters, when none are 
specified, scans as far as it can. 

However, given that we have endOfParent to express this behavior, seems to 
me that delimited with no delimiter should be an SDE.

Thoughts?
--
  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/20220125/ac6f1f5e/attachment.html>


More information about the dfdl-wg mailing list