Mike

Looking back, the paragraph that mentions choices was added in errata v002 as a result of a discussion in DFDL WG call on 16th August 2011:

17, 14.5. We decided recently that inputValueCalc, outputValueCalc and hiddenGroupRef could not be put in
 scope via dfdl:ref. But presumably it is still possible for an element reference or group reference to use
 these properties?  Clarify whether these properties may be set on local object, global object and/or
 reference to global.
 InputValueCalc and OutputValueCalc: Allowed on local element and element ref but not on global element.  
 HiddenGroupRef: Allowed on any xs:sequence or xs:choice but not on any xs:group, including ref.

I can not recall changing the rule to allow dfdl:hiddenGroupRef on a choice, I suspect this is a mistake on my part when writing the minutes, and is possibly me getting confused with the allowable content of the hidden group itself, which may be a sequence or a choice.

We should correct the errata to say:

The spec is not clear as to whether this property is allowed on the sequences and choices that are the direct children of global groups, or on group references.  Clarify that it is allowed on any xs:sequence or xs:choice but not on any xs:group, including group reference.

Regards

Steve Hanson
Architect, IBM 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:        10/08/2013 19:01
Subject:        [DFDL-WG] Errata 3.1 issue: hiddenGroupRef allowed (or not) on        xs:choice
Sent by:        dfdl-wg-bounces@ogf.org





The language of Erratum 3.1 state that the dfdl:hiddenGroupRef property should be allowed on xs:choice schema components.

This is a major language change that we should consider carefully. Previously it was allowed only on xs:sequence, and I believe that should be the only allowed usage.

Can we review when we made the decision to broaden this to xs:choice as well?

...mikeb

--
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology |
www.tresys.com
--
 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