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,
IBMDFDL
Co-Chair,
OGFDFDL Working Group
smh@uk.ibm.com
tel:+44-1962-815848
mob:+44-7717-378890
Note: I work Tuesday to Friday




From:        "Mike Beckerle" <mbeckerle@apache.org>
To:        "DFDL-WG" <dfdl-wg@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@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@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