initiatedContent = "yes" has two purposes, firstly it forces the model author to specify an initiator on all the children of a sequence; secondly the initiator is used to discriminate children that are a 'point of uncertainty'.   An initiator expression is not able to return "no initiator" (see errata 2.63), so in that sense there is nothing different between a static initiator and a dynamic initiator. I don't see a need for initiatedContent = "yes" to distinguish between the two.

Regards

Steve Hanson
Architect, Data Format Description Language (DFDL)
Co-Chair,
OGF DFDL Working Group
IBM SWG, Hursley, UK

smh@uk.ibm.com
tel:+44-1962-815848




From:        Mike Beckerle <mbeckerle.dfdl@gmail.com>
To:        dfdl-wg@ogf.org
Date:        24/07/2012 20:37
Subject:        [DFDL-WG] initiatedContent property question
Sent by:        dfdl-wg-bounces@ogf.org





The initiatedContent flag seems intended to serve as a discriminator using initiators as string-literal tags.

My question: I see no language prohibiting this, but ... can/should one use this in conjunction with an initiator expression (evaluated at runtime from data), or do we restrict and say that initiatedContent="yes" requires a static string literal for the initiator for all the children?

...mikeb

--
Mike Beckerle | OGF DFDL WG Co-Chair 
Tel:  781-330-0412
--
 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