You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2024/05/17 15:54:00 UTC

[jira] [Created] (DAFFODIL-2903) Allow inputValueCalc to apear in a hidden group

Steve Lawrence created DAFFODIL-2903:
----------------------------------------

             Summary: Allow inputValueCalc to apear in a hidden group
                 Key: DAFFODIL-2903
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2903
             Project: Daffodil
          Issue Type: New Feature
          Components: Front End
            Reporter: Steve Lawrence


Elements in a hidden group have a restriction that they must define dfdl:outputValueCalc, a default value, or are optional. This is necessary so that they can be unparsed without appearing in the infoset.

It might also be useful to allow dfdl:inputValueCalc to appear in a hidden group. It seems a bit odd since we would calculate an element only to not include it in the infoset, but it could be useful as an interim calculation for another non-hidden inputValueCalc.

On alternative to a hidden IVC is use a variable, but in some cases infoset paths/elements are easier to use since you don't have to worry about new variable instances or varable scoping.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)